element-portable/test/components/views/rooms
Germain be281fd735
Fix threads fallback incorrectly targets root event (#9229)
* Use RelationType enum instead of hardcoded value

* Fix threads replies fallback to target last reply

* Only unsubscribe from threads events if needed

* fix strict null check

* fix strict null checks

* strict null checks

* fix typing

* Unsubscribe listeners if new thread is `null`

Co-authored-by: Faye Duxovni <fayed@element.io>

* Update strict null checks

* Type HTMLElement as nullable

* Add thread fallback integration test

* lint fix

* Update snapshots

* Add test after changing thread

* Remove test comment

* update snapshot

* fix room context test utility

* Add ThreadListContextMenu test

* lint fix

* fix thread rendering

Co-authored-by: Faye Duxovni <fayed@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-10-20 12:48:25 +01:00
..
__snapshots__ Update more strings to not wrongly mention room when it is/could be a space (#7722) 2022-03-29 15:02:12 +01:00
wysiwyg_composer Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
BasicMessageComposer-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
MemberList-test.tsx Replace deprecated String#substr with String#slice (#8314) 2022-04-14 07:52:42 +00:00
MessageComposer-test.tsx Display info dialogs if unable to start voice broadcasts (#9453) 2022-10-19 15:01:14 +02:00
MessageComposerButtons-test.tsx Display info dialogs if unable to start voice broadcasts (#9453) 2022-10-19 15:01:14 +02:00
NewRoomIntro-test.tsx Use room name as room intro (#9231) 2022-09-06 09:54:53 +02:00
ReadReceiptGroup-test.tsx Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
RoomHeader-test.tsx Migrate some enzyme tests to RTL (#9383) 2022-10-10 16:29:10 +01:00
RoomList-test.tsx Define interface for RLS to ease wiring in Sliding Sync (#9150) 2022-08-09 20:46:59 +01:00
RoomListHeader-test.tsx Migrate some enzyme tests to RTL (#9383) 2022-10-10 16:29:10 +01:00
RoomPreviewBar-test.tsx Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
RoomPreviewCard-test.tsx Element Call video rooms (#9267) 2022-09-16 11:12:27 -04:00
RoomTile-test.tsx New group call experience: Room header and PiP designs (#9351) 2022-10-07 02:27:28 +00:00
SearchBar-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
SearchResultTile-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
SendMessageComposer-test.tsx Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
VoiceRecordComposerTile-test.tsx Extract createVoiceMessageContent (#9322) 2022-09-29 13:06:49 -06:00