element-web/test/components/views
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
..
audio_messages Accessibility improvements around aria-labels and tooltips (#12062) 2024-01-05 10:59:41 +00:00
auth Tooltip: migrate remaining tooltips from AccessibleTooltipButton to AccessibleButton (#12522) 2024-05-17 14:11:07 +00:00
avatars Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
beacon Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
beta Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
context_menus Replace setImmediate with setTimeout (#12614) 2024-06-13 15:15:59 +01:00
dialogs Fix config override of other settings levels (#12593) 2024-06-14 11:00:30 +00:00
elements Tooltip: close field tooltip when ESC is pressed (#12553) 2024-05-28 12:55:47 +00:00
emojipicker Fix roving tab index crash compareDocumentPosition (#12594) 2024-06-11 09:11:52 +00:00
location Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
messages Add more test for ReactionsRowButton.tsx 2024-05-22 16:24:09 +02:00
polls/pollHistory Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
right_panel Improve accessibility of the room summary card (#12586) 2024-06-17 08:27:15 +00:00
room_settings Change avatarsetting componment to use a menu (#12585) 2024-06-07 13:25:21 +00:00
rooms Fix widgets not being cleaned up correctly. (#12616) 2024-06-17 11:00:41 +00:00
settings Don't show 'saved' on display name save error (#12600) 2024-06-13 08:54:38 +00:00
spaces New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +00:00
toasts Remove references to matrix-js-sdk/src/crypto/verification (#12365) 2024-03-25 17:44:45 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
voip Tooltip: improve accessibility for call and voice messages (#12489) 2024-05-07 10:20:52 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
VerificationShowSas-test.tsx Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00