-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Remember whether sidebar is shown for calls when switching rooms #30262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Remember whether sidebar is shown for calls when switching rooms #30262
Conversation
Stores the sidebar state per-room in LegacyCallHandler, along with other details about calls.
Thanks for this! The code looks straightforward enough. Just one minor lint error. A new feature would need test coverage though. |
Huh. I'm this sure I ran the linter, guess I didn't 😂 Should I make the test in |
The toggle sidebar button currently does nothing in PIP mode, since PIP mode never shows a sidebar (even when the call is made fullscreen from the PIP preview)
f38f28c
to
dd0d27b
Compare
BTW, this PR was made as part of a live stream/speedrun (: You can see the final demonstration of the feature working at 2:10:28 - and yes, I did run the linter at 1:29:16, but then I never ran it on the PIP changes 😂 |
Oh, nice! I'd probably do a jest test in LegacyCallView-test.tsx as it should be quite simple to assert that the dom element is there. There's probably no need to make it a playwright test. Also reminder not to force push PRs please, it means we lose the record of what code has been reviewed. |
Alright, added a test (: |
Stores the sidebar state per-room in LegacyCallHandler, where other details about calls are already stored.
Fixes #25367.
Checklist
public
/exported
symbols have accurate TSDoc documentation.