element-web/test
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
..
@types Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
__snapshots__ add Ended poll text to ended poll reply formatted body (#10146) 2023-02-13 22:34:47 +00:00
accessibility Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
actions/handlers Apply prettier formatting 2022-12-12 12:24:14 +01:00
audio Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
autocomplete Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
components Poll history - ended polls list items (#10119) 2023-02-20 18:19:50 +00:00
contexts Add voice broadcast pre-recoding PiP (#9548) 2022-11-10 09:38:48 +01:00
editor Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
events Gitter sunsetting: Use findPredecessor in EventTileFactory (#10075) 2023-02-03 15:36:37 +00:00
hooks Convert remaining hook tests to RTL (#10166) 2023-02-16 14:13:05 +00:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
images Add support for Animated (A)PNG (#8158) 2022-03-28 09:38:54 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
models Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
modules Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
notifications Apply prettier formatting 2022-12-12 12:24:14 +01:00
settings Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
setup Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
stores Remove threads labs flag and the ability to disable threads (#9878) 2023-02-20 14:46:07 +00:00
test-utils Poll history - ended polls list items (#10119) 2023-02-20 18:19:50 +00:00
toasts Apply prettier formatting 2022-12-12 12:24:14 +01:00
utils Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
voice-broadcast Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
Avatar-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
ContentMessages-test.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
createRoom-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
DecryptionFailureTracker-test.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
DeviceListener-test.ts Device manager - use deleteAccountData to prune device manager client information events (#9734) 2022-12-14 04:59:23 +00:00
globalSetup.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
HtmlUtils-test.tsx Replace some enzyme tests by @testing-library/react (#9822) 2022-12-23 10:46:14 +00:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
languageHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
LegacyCallHandler-test.ts Examine all m.direct rooms to find a DM as fallback (#10127) 2023-02-13 08:46:53 +01:00
linkify-matrix-test.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
Markdown-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
MatrixClientPeg-test.ts Add a config flag to enable the rust crypto-sdk (#9759) 2022-12-16 17:10:26 +00:00
MediaDeviceHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
Notifier-test.ts Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
PosthogAnalytics-test.ts Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
PreferredRoomVersions-test.ts Replace MSC3244 support with in-client room version checking (#9018) 2022-07-08 00:32:38 -06:00
Reply-test.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
RoomNotifs-test.ts Fix predecessor tests broken (#10123) 2023-02-09 12:46:17 +00:00
Rooms-test.ts Prevent unnecessary m.direct updates (#9805) 2022-12-21 09:30:08 -07:00
ScalarAuthClient-test.ts Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
SdkConfig-test.ts Show time left for voice broadcast recordings (#9564) 2022-11-10 10:53:49 +00:00
setupTests.js Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
SlashCommands-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
SlidingSyncManager-test.ts Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
slowReporter.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
Terms-test.tsx Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
TestSdkContext.ts Add voice broadcast playback pip (#9603) 2022-11-24 09:08:41 +01:00
TextForEvent-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
theme-test.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
Unread-test.ts Update to supportsThreads (#9907) 2023-01-30 12:20:11 +00:00
UserActivity-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
useTopic-test.tsx Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00