element-web/test/components/views
Kerry 18ab325eaf
Poll history - filter by active or ended (#10098)
* 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

* move FilterTabGroup into generic components

* comments

* Update src/components/views/dialogs/polls/types.ts

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-02-13 09:19:45 +13:00
..
audio_messages Fix seekbar position for zero length audio (#9949) 2023-01-23 17:28:31 +01:00
auth Support registration tokens (#7275) 2023-01-24 12:02:07 +00:00
avatars Revert "Member avatars without canvas" (#10057 2023-02-02 10:22:19 +00:00
beacon Migrate OwnBeaconStatus-test.tsx to react-testing-library (#10133) 2023-02-10 15:16:08 +01:00
beta Apply prettier formatting 2022-12-12 12:24:14 +01:00
context_menus Migrate SpaceContextMenu-test.tsx to react-testing-library (#10120) 2023-02-09 12:23:22 +01:00
dialogs Poll history - filter by active or ended (#10098) 2023-02-13 09:19:45 +13:00
elements Poll history - filter by active or ended (#10098) 2023-02-13 09:19:45 +13:00
location Migrate `ZoomButtons-test` to react-testing-library (#10104) 2023-02-08 09:31:24 +01:00
messages Poll history - filter by active or ended (#10098) 2023-02-13 09:19:45 +13:00
right_panel Poll history - read only list of polls in current timeline (#10055) 2023-02-02 21:39:23 +00:00
rooms Migrate RoomView to support MSC3946 (#10088) 2023-02-10 08:40:38 +01:00
settings Fix predecessor tests broken (#10123) 2023-02-09 12:46:17 +00:00
spaces Enzyme to rtl: QuickThemeSwitcher (#9843) 2022-12-29 12:44:18 +00:00
typography Apply prettier formatting 2022-12-12 12:24:14 +01:00
user-onboarding Use the same avatar colour when creating 1:1 DM rooms (#9850) 2023-01-05 17:05:21 +01:00
voip Redesign the picture-in-picture window (#9800) 2023-01-04 04:44:38 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00