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 Consolidate conjugation i18n strings (#11660) 2023-09-25 12:18:15 +01:00
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 Allow creating public knock rooms (#11481) 2023-09-04 16:09:44 +00:00
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 Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
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 Replace `getQRCodeBytes` with `generateQRCode` (#11241) 2023-07-13 13:55:55 +00:00
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 Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
SpellCheckLanguagesDropdown-test.tsx Use Intl for names of languages (#11427) 2023-08-22 14:07:16 +00:00
StyledRadioGroup-test.tsx
SyntaxHighlight-test.tsx
TooltipTarget-test.tsx