element-web/test/test-utils
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.ts Fix seekbar position for zero length audio (#9949) 2023-01-23 17:28:31 +01:00
beacon.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
call.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
client.ts Mute broadcast chunk notifications 2023-01-03 10:16:32 +01:00
composer.ts Prevent starting a voice message while recording a broadcast (#9844) 2023-01-10 15:51:20 +01:00
console.ts Use the same avatar colour when creating 1:1 DM rooms (#9850) 2023-01-05 17:05:21 +01:00
date.ts Poll history - read only list of polls in current timeline (#10055) 2023-02-02 21:39:23 +00:00
events.ts Revert "Revert "Factor out `MessageEvent.from()` usage (#9882)"" 2023-01-10 13:43:15 -07:00
index.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
location.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
platform.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
poll.ts Poll history - filter by active or ended (#10098) 2023-02-13 09:19:45 +13:00
relations.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
room.ts Migrate RoomView to support MSC3946 (#10088) 2023-02-10 08:40:38 +01:00
test-utils.ts Unify unread notification state determination (#9941) 2023-01-31 09:58:17 +00:00
threads.ts Don't double-add events to threads in tests (#9742) 2022-12-12 15:43:42 -07:00
utilities.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
wrappers.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00