element-web/test
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
..
@types
__snapshots__
accessibility
actions/handlers
audio
autocomplete
components Poll history - filter by active or ended (#10098) 2023-02-13 09:19:45 +13:00
contexts
editor Revert "Member avatars without canvas" (#10057 2023-02-02 10:22:19 +00:00
events Gitter sunsetting: Use findPredecessor in EventTileFactory (#10075) 2023-02-03 15:36:37 +00:00
hooks Unify unread notification state determination (#9941) 2023-01-31 09:58:17 +00:00
i18n
i18n-test
images
img
models Make calls automatically disconnect if the widget disappears (#9862) 2023-01-04 15:51:42 -05:00
modules
notifications
settings Add test coverage (#9928) 2023-01-18 15:49:34 +01:00
setup
stores Fix predecessor tests broken (#10123) 2023-02-09 12:46:17 +00:00
test-utils Poll history - filter by active or ended (#10098) 2023-02-13 09:19:45 +13:00
toasts
utils Poll history - read only list of polls in current timeline (#10055) 2023-02-02 21:39:23 +00:00
voice-broadcast Add PiP move threshold (#10040) (#10033) 2023-02-07 10:14:28 +01:00
Avatar-test.ts Revert "Member avatars without canvas" (#10057 2023-02-02 10:22:19 +00:00
ContentMessages-test.ts Fixes empty content type during upload (#9848) 2022-12-30 08:34:38 +00:00
DecryptionFailureTracker-test.js
DeviceListener-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Confirm listen to a broadcast while recording (#9831) 2023-01-02 12:21:33 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts
MediaDeviceHandler-test.ts
Notifier-test.ts Update to supportsThreads (#9907) 2023-01-30 12:20:11 +00:00
PosthogAnalytics-test.ts
PreferredRoomVersions-test.ts
Reply-test.ts
RoomNotifs-test.ts Fix predecessor tests broken (#10123) 2023-02-09 12:46:17 +00:00
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SlashCommands-test.tsx
SlidingSyncManager-test.ts Add additional tests 2023-01-19 15:02:48 +00:00
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts
Unread-test.ts Update to supportsThreads (#9907) 2023-01-30 12:20:11 +00:00
UserActivity-test.ts
createRoom-test.ts
globalSetup.js
languageHandler-test.ts
linkify-matrix-test.ts
setupTests.js
slowReporter.js
theme-test.ts
useTopic-test.tsx