element-web-Github/test/components/views
Timo c42562ef39
Make EC widget theme reactive - Update widget url when the theme changes (#12295)
* update widget url when the theme changes

Signed-off-by: Timo K <toger5@hotmail.de>

* quick "make it EC specific" workaround proposal.

Signed-off-by: Timo K <toger5@hotmail.de>

* use `matches`

Signed-off-by: Timo K <toger5@hotmail.de>

* test coverage

Signed-off-by: Timo K <toger5@hotmail.de>

* more test coverage

Signed-off-by: Timo K <toger5@hotmail.de>

* fix jest

Signed-off-by: Timo K <toger5@hotmail.de>

* add tests for theme changes

Signed-off-by: Timo K <toger5@hotmail.de>

* update snapshots

Signed-off-by: Timo K <toger5@hotmail.de>

* test for theme update with non ec widget

Signed-off-by: Timo K <toger5@hotmail.de>

* add dark custom theme widget url

Signed-off-by: Timo K <toger5@hotmail.de>

* trigger conditions for theme cleanup

Signed-off-by: Timo K <toger5@hotmail.de>

* update tests using testId

Signed-off-by: Timo K <toger5@hotmail.de>

* use typed event emitter for theme watcher

Signed-off-by: Timo K <toger5@hotmail.de>

* simplify condition

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
2024-03-13 14:52:41 +00:00
..
audio_messages Accessibility improvements around aria-labels and tooltips (#12062) 2024-01-05 10:59:41 +00:00
auth Get country names from the browser instead of manual i18n (#11428) 2023-08-22 16:15:16 +00:00
avatars Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
beacon Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
beta Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
context_menus Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
dialogs Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
elements Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
emojipicker Fix regression in emoji picker order mangling after clearing filter (#10854) 2023-05-11 13:24:39 +00:00
location Upgrade compound-web (#12234) 2024-02-07 17:26:05 +00:00
messages Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
polls/pollHistory Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
right_panel Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
rooms Call guest access link creation to join calls as a non registered user via the EC SPA (#12259) 2024-03-07 15:38:53 +00:00
settings Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
spaces Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
toasts Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
voip Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
VerificationShowSas-test.tsx Load SAS Emoji translations from @matrix-org/spec (#11429) 2023-08-21 08:15:22 +00:00