-
Notifications
You must be signed in to change notification settings - Fork 57
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
[MM-58284] Confirmation when leaving a call #763
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, even on 🐧 :)
Two things I noticed:
- The keyboard shortcut causes the user to leave immediately. This is fine but inconsistent with how we are handling a similar case in [MM-57365] Stop recording confirmation modal #760.
- Ending the call is not working as I'd expect, although this is unrelated to this PR. The call post should update immediately but for some reason, that's not happening until the server timeout triggers. We should look into this.
@streamer45 for 1: Earlier I had messaged @abhijit-singh about it too. I suggested we keep the shortcut as it has been, under the assumption that if you hit it that means you want it to happen right then, not that you then want to use the mouse and click again. Your right that it doesn't match the end recording, but in that case the action is more destructive, whereas you can always rejoin if you left by accident. Imo, it just seems annoying that the shortcut just opens a little popup. If we made it do that, I would vote we just remove the shortcut altogether for uselessness. :) For 2, I can look into that. I think it's been happening like that for a long time. |
Yeah, I agree. Shortcut to show a popup is weird.
Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! And thanks for the brave effort on e2e and related lint checks.
@streamer45 Fixed how we were doing call end, and exposing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working great now!
fyi: added a rule to only show |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @cpoile! Looks good! I have a few requests -
- In the expanded window, can we align the right edge of the confirmation pop-out with the right edge of the button?
- Also in the expanded window, can we make the border radius for the pop-out 8px to match that of the button?
Note that the above two requests apply to the popout window only.
3. Can we increase the width of the menu items to 36px to be consistent with the rest of the app? Right now it seems to be 32px.
- On the Desktop App, in the floating widget, clicking outside the popout menu (within the widget boundries, does not close the popout menu. Ideally it should close when clicked outside.
@abhijit-singh 1-3 done, thanks! 4 took me awhile, but I don't think we can solve it. The problem is that when you click on another part of the widget that is meant to be draggable, the click doesn't register (but you can drag). If you click on any place you can click, the menu will close (e.g. on a participant in the participant list, or any of the widget buttons). So unfortunately I think we're stuck with that -- the user will have to click on the |
# Conflicts: # e2e/tests/global_widget.spec.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks @cpoile!
Summary
First row is from desktop and host, second row is from participant and webapp:
Ticket Link