Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Make the hangup button do things for conference calls #5223

Merged
merged 7 commits into from
Sep 29, 2020

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Sep 16, 2020

Design reviewer: this doesn't have an easy adhoc build, sorry - DM me for details of one though. This PR is looking for your grace to enter mainline Element.


Review with element-hq/element-web#15219

Behaviour constraints:

  • If you're not in the conference, use a grey button that does nothing.
  • If you're in the conference, show a button:
    • If you're able to modify widgets in the room, annotate it in the context of ending the call for everyone and remove the widget. Use a confirmation dialog.
    • If you're not able to modify widgets in the room, hang up.

For this we know that persistent Jitsi widgets will mean that the user is in the call, so we use that to determine if they are actually participating.

Screenshots:
image
image
image

Behaviour constraints:
* If you're not in the conference, use a grey button that does nothing.
* If you're in the conference, show a button:
  * If you're able to modify widgets in the room, annotate it in the context of ending the call for everyone and remove the widget. Use a confirmation dialog.
  * If you're not able to modify widgets in the room, hang up.

For this we know that persistent Jitsi widgets will mean that the user is in the call, so we use that to determine if they are actually participating.
src/CallHandler.js Outdated Show resolved Hide resolved
src/WidgetMessaging.js Outdated Show resolved Hide resolved
Copy link
Contributor

@niquewoodhouse niquewoodhouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Ending the conference will end the call for everyone... could be This will end the conference for everyone... to simplify the copy.

@turt2live
Copy link
Member Author

tests are failing due to an old branch - will monitor develop after merging

@turt2live turt2live merged commit 5534206 into develop Sep 29, 2020
@turt2live turt2live deleted the travis/ft-sep1620/04-jitsi-hangup branch September 29, 2020 17:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants