riot-web/test/test-utils
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
..
audio.ts
beacon.ts
call.ts
client.ts
composer.ts
date.ts
index.ts
location.ts
platform.ts
poll.ts
room.ts Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
test-utils.ts
threads.ts Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
utilities.ts
wrappers.tsx