mirror of https://github.com/vector-im/riot-web
5c26d580d8
* 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. |
||
---|---|---|
.. | ||
@types | ||
__snapshots__ | ||
accessibility | ||
actions/handlers | ||
audio | ||
autocomplete | ||
components | ||
contexts | ||
dispatcher | ||
editor | ||
events | ||
hooks | ||
i18n | ||
images | ||
img | ||
models | ||
modules | ||
notifications | ||
settings | ||
setup | ||
stores | ||
test-utils | ||
toasts | ||
utils | ||
voice-broadcast | ||
widgets | ||
Avatar-test.ts | ||
ContentMessages-test.ts | ||
DecryptionFailureTracker-test.ts | ||
DeviceListener-test.ts | ||
HtmlUtils-test.tsx | ||
Image-test.ts | ||
KeyBindingsManager-test.ts | ||
LegacyCallHandler-test.ts | ||
Lifecycle-test.ts | ||
Markdown-test.ts | ||
MatrixClientPeg-test.ts | ||
MediaDeviceHandler-test.ts | ||
Notifier-test.ts | ||
PosthogAnalytics-test.ts | ||
PreferredRoomVersions-test.ts | ||
Reply-test.ts | ||
RoomNotifs-test.ts | ||
Rooms-test.ts | ||
ScalarAuthClient-test.ts | ||
SdkConfig-test.ts | ||
SecurityManager-test.ts | ||
SlashCommands-test.tsx | ||
SlidingSyncManager-test.ts | ||
Terms-test.tsx | ||
TestSdkContext.ts | ||
TextForEvent-test.ts | ||
Unread-test.ts | ||
UserActivity-test.ts | ||
WorkerManager-test.ts | ||
createRoom-test.ts | ||
email-test.ts | ||
globalSetup.ts | ||
languageHandler-test.tsx | ||
linkify-matrix-test.ts | ||
predictableRandom.ts | ||
setupTests.ts | ||
slowReporter.js | ||
submit-rageshake-test.ts | ||
theme-test.ts | ||
useTopic-test.tsx |