element-web-Github/test/components/views
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_messages Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
beacon Store refactor: use non-global stores in components (#9293) 2022-10-19 13:07:03 +01:00
beta Don't show feedback prompts when that UIFeature is disabled (#9305) 2022-09-22 15:08:14 +01:00
context_menus Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
dialogs Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
elements Migrate some enzyme tests to RTL (#9383) 2022-10-10 16:29:10 +01:00
location Add Element Call room settings (#9347) 2022-10-07 18:10:17 +00:00
messages Always show voice broadcasts tile (#9444) 2022-10-19 12:04:15 +02:00
right_panel Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
rooms Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
settings Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
spaces Prevent useContextMenu isOpen from being true if the button ref goes away (#9418) 2022-10-17 17:42:04 +01:00
typography add generic caption typography component (#9283) 2022-09-15 11:53:21 +02:00
voip Migrate some enzyme tests to RTL (#9383) 2022-10-10 16:29:10 +01:00