element-web/test
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__
accessibility
actions/handlers
audio
autocomplete
components Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
editor
events Voice Broadcast live state / extract `RelationsHelper` (#9432) 2022-10-17 13:31:03 +01:00
hooks
i18n
i18n-test
images
img
models Disconnect other connected devices (of the same user) when joining an Element call (#9379) 2022-10-14 15:17:49 +02:00
modules Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
notifications
settings
setup
stores Store refactor: convert WidgetPermissionStore (#9458) 2022-10-19 22:00:53 +02:00
test-utils Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
toasts Device manager - silence call ringers when local notifications are silenced (#9420) 2022-10-17 09:16:04 +00:00
utils Include a file-safe room name and ISO date in chat exports (#9440) 2022-10-17 19:54:10 -06:00
voice-broadcast Fix threads fallback incorrectly targets root event (#9229) 2022-10-20 12:48:25 +01:00
Avatar-test.ts
ContentMessages-test.ts
DecryptionFailureTracker-test.js
DeviceListener-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Device manager - silence call ringers when local notifications are silenced (#9420) 2022-10-17 09:16:04 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts
Notifier-test.ts
PosthogAnalytics-test.ts
PreferredRoomVersions-test.ts
Reply-test.ts
RoomNotifs-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SlashCommands-test.tsx Store refactor: use non-global stores in components (#9293) 2022-10-19 13:07:03 +01:00
Terms-test.tsx
TestSdkContext.ts Store refactor: convert WidgetPermissionStore (#9458) 2022-10-19 22:00:53 +02:00
TextForEvent-test.ts
Unread-test.ts Remove deprecated `m.room.aliases` references (#9431) 2022-10-17 10:58:46 +01:00
UserActivity-test.ts
createRoom-test.ts
globalSetup.js
languageHandler-test.ts
linkify-matrix-test.ts
setupTests.js
theme-test.ts
useTopic-test.tsx