JC Brand
15c10376b0
Rename all templates to camelCase
...
To conform with naming conventions regarding functions, which the
templates are.
2023-02-15 14:29:07 +01:00
JC Brand
e63ba2075f
Use repeat
directive to render roster and MUC occupant items
...
If we don't use `repeat`, a DOM node may be reused with different state
(e.g. the `model` it receives originally changes upon next render).
https://lit.dev/docs/templates/lists/#when-to-use-map-or-repeat
Fixes #2816
2022-12-13 10:04:13 +01:00
JC Brand
1a8ae3dcbe
Make roster contacts toggleable
2022-10-02 15:52:01 +02:00
JC Brand
12a0d0e3cc
Show roster contacts with subscription
set to none
...
Remove the `allow_chat_pending_contacts` config option.
2022-05-13 10:19:52 +02:00
JC Brand
8dcacd41bf
Add hover color for svg icons
2022-01-29 12:12:36 +01:00
JC Brand
8de4671603
Replace more elements that use font icons with svg icons
2021-07-15 16:28:12 +02:00
JC Brand
d71ab6d30d
Bugfix. Need to pass in group name since this
is undefined
2021-05-12 12:26:16 +02:00
Shaun Wu
9ea8653ef7
Upgrade to Webpack 3
...
Had to make various other changes due to incompatibilities.
- Use the new `lit` package instead of `lit-html` or `lit-element`
- Drop `haunted` since it breaks the rules by specifying `type: module`
but then doesn't import with file extensions
- Use Sass Dart instead of node-sass (fixes #2445 )
- Upgrade Karma
2021-04-30 13:50:50 +02:00
JC Brand
3f24720633
Use repeat
directive to render roster items
2021-02-09 15:48:21 +01:00
JC Brand
9f5dbad589
Turn roster into a custom element
2021-02-09 15:48:21 +01:00
JC Brand
bb3ac36098
Render the roster container and filter with lit-html
...
This is the first commit that makes use of the `ElementView` from
Skeletor, which lets us turn views into custom elements.
2020-12-28 20:56:37 +01:00