element-web/test/components/views/dialogs
Kerry a06163ee98
Poll history - ended polls list items (#10119)
* wip

* remove dupe

* use poll model relations in all cases

* update mpollbody tests to use poll instance

* update poll fetching login in pinned messages card

* add pinned polls to room polls state

* add spinner while relations are still loading

* handle no poll in end poll dialog

* strict errors

* render a poll body that errors for poll end events

* add fetching logic to pollend tile

* extract poll testing utilities

* test mpollend

* strict fix

* more strict fix

* strict fix for forwardref

* add filter component

* update poll test utils

* add unstyled filter tab group

* filtertabgroup snapshot

* lint

* update test util setupRoomWithPollEvents to allow testing multiple polls in one room

* style filter tabs

* test error message for past polls

* sort polls list by latest

* extract poll option display components from pollbody

* add ended poll list item component

* use named export for polllistitem

* test POllListItemEnded

* comments

* strict fixes

* extract poll option display components

* strict fixes

* strict
2023-02-20 18:19:50 +00:00
..
__snapshots__ Devtools for stuck notifications (#10042) 2023-02-03 11:07:24 +01:00
devtools Devtools for stuck notifications (#10042) 2023-02-03 11:07:24 +01:00
polls Poll history - ended polls list items (#10119) 2023-02-20 18:19:50 +00:00
spotlight Apply prettier formatting 2022-12-12 12:24:14 +01:00
AccessSecretStorageDialog-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
ChangelogDialog-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
ConfirmRedactDialog-test.tsx When deleting a voice broadcast, also delete related events (#9737) 2022-12-23 15:44:01 +00:00
DevtoolsDialog-test.tsx Use CopyableText in devtools (#9993) 2023-01-30 17:01:54 +00:00
ExportDialog-test.tsx Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
ForwardDialog-test.tsx Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
InteractiveAuthDialog-test.tsx Migrate InteractiveAuthDialog-test.tsx to react-testing-library (#10134) 2023-02-10 14:00:02 +01:00
InviteDialog-test.tsx Fix email lookup in invite dialog (#10150) 2023-02-14 13:21:29 +01:00
MessageEditHistoryDialog-test.tsx Fix "[object Promise]" appearing in HTML exports (#9975) 2023-01-30 14:31:32 +00:00
SpotlightDialog-test.tsx Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
UserSettingsDialog-test.tsx Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00