element-web/test/components/structures
Timo 5c26d580d8
Fix widgets not being cleaned up correctly. (#12616)
* Fix widgets not being cleaned up correctly.

Widgets could persist forever because they were still sticky when we end the messaging.
Ending the messaging emits an event to which we connect ui changes that move the widget out of the screen. It does not end up in a pip view however.

So we need to make sure the widget is not persistend anymore when we call `stopMessagingByUid` so that any dom changes that remove the AppTile happen when the widget is not persistend anymore and let it destroy.

This PR also makes the role for `MatrixRTCSessionManager` more strict. We do ONLY use it in `Call.ts` and `CallStore`  so that we dont end up in reaces where we updated the ui based on the session manager but not in sync with the call and callstore changes.

Rename activeCalls to connectedCalls. Active call can also be understood as a call where there are active participants but the user itself is not connected. Especially with the `hasActiveCallSession` field of the useRoomCall hook which is tracking active (not necassarly connected sessions)

* rest of the renaming

* fix test to adapt to reduced session manager event usage.
2024-06-17 11:00:41 +00:00
..
__snapshots__ Migrate `TooltipTarget` usage to compound `Tooltip` (#12542) 2024-05-22 12:15:07 +00:00
auth Stop using deprecated methods, fields & exports (#12524) 2024-05-15 14:58:28 +00:00
AutocompleteInput-test.tsx Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
ContextMenu-test.ts
LargeLoader-test.tsx
LeftPanel-test.tsx Show filterContainer if "UIComponent.filterContainer" is enabled (#10381) 2023-03-21 09:06:43 +00:00
LegacyCallEventGrouper-test.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
LoggedInView-test.tsx New context for local device verification (#12417) 2024-04-16 09:43:27 +00:00
MainSplit-test.tsx Allow maintaining a different right panel width for thread panels (#11064) 2023-06-15 11:57:58 +00:00
MatrixChat-test.tsx Fix widgets not being cleaned up correctly. (#12616) 2024-06-17 11:00:41 +00:00
MatrixClientContextProvider-test.tsx New context for local device verification (#12417) 2024-04-16 09:43:27 +00:00
MessagePanel-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
PictureInPictureDragger-test.tsx Enable `jsx-a11y/click-events-have-key-events` eslint rule (#10362) 2023-08-09 06:27:31 +00:00
PipContainer-test.tsx Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
ReleaseAnnouncement-test.tsx Close the release announcement when a dialog is opened (#12559) 2024-05-29 07:22:50 +00:00
RightPanel-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
RoomSearchView-test.tsx Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
RoomStatusBar-test.tsx Switch to importing more things from the main js-sdk export (#11376) 2023-08-09 15:10:54 +00:00
RoomStatusBarUnsentMessages-test.tsx
RoomView-test.tsx Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
SpaceHierarchy-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
TabbedView-test.tsx Make TabbedView a controlled component (#12480) 2024-05-03 15:01:01 +00:00
ThreadPanel-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
ThreadView-test.tsx Fix flaky jest tests (#12486) 2024-05-02 14:53:35 +00:00
TimelinePanel-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
UploadBar-test.tsx Re-key all |zero-pluralised translations for Localazy compatibility (#11417) 2023-08-16 15:26:21 +00:00
UserMenu-test.tsx MSC4108 support OIDC QR code login (#12370) 2024-06-06 09:57:28 +01:00
ViewSource-test.tsx Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00