riot-web/test/components/views/elements
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
..
__snapshots__ Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
crypto
AccessibleButton-test.tsx
AppTile-test.tsx Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
EventListSummary-test.tsx
ExternalLink-test.tsx
FacePile-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
Field-test.tsx
FilterDropdown-test.tsx
FilterTabGroup-test.tsx
InfoTooltip-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
InteractiveTooltip-test.ts
LabelledCheckbox-test.tsx
LearnMore-test.tsx
Pill-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
PollCreateDialog-test.tsx
PowerSelector-test.tsx Reset power selector on API failure to prevent state mismatch (#12319) 2024-03-08 11:58:36 +00:00
ProgressBar-test.tsx
QRCode-test.tsx
ReplyChain-test.tsx
RoomFacePile-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
RoomTopic-test.tsx
SpellCheckLanguagesDropdown-test.tsx
StyledRadioGroup-test.tsx
SyntaxHighlight-test.tsx
TooltipTarget-test.tsx