Skip to content
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

Room UI Redesign: Leave Room Modal #3255

Merged
merged 8 commits into from
Nov 12, 2020

Conversation

robertlong
Copy link
Contributor

This PR migrates the Leave Room Modal to the new design. It is dependent on #3245

@@ -1306,7 +1306,7 @@ class UIRoot extends Component {
label: "Create Room",
icon: HomeIcon,
onClick: () =>
this.showNonHistoriedDialog(LeaveRoomDialog, {
this.showNonHistoriedDialog(LeaveRoomModal, {
Copy link
Contributor

Choose a reason for hiding this comment

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

Might also be good to flow thru this modal as a confirmation step for visiting rooms via a room link. I've accidentally clicked one before and it would have been nice to back out of it.
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, that would break the flow of things like Chamberlain's lighthouse experience though. I don't know that I agree with this, but I'd be happy to follow up discussion in another issue.

src/react-components/room/LeaveRoomModal.js Outdated Show resolved Hide resolved
},
"create-room-confirm": {
id: "leave-room-dialog.create-room.confirm",
defaultMessage: "Leave Room"
Copy link
Contributor

Choose a reason for hiding this comment

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

The title and confirmation button text for this case are awkward. I know this is taken from what we already have, but it seems like the button text or title should be something like "Create Room" or possibly "Leave and Create New Room"

@robertlong robertlong merged commit 1a7116b into room-ui-redesign Nov 12, 2020
@robertlong robertlong deleted the redesign/leave-room-modal branch November 12, 2020 21:30
@robertlong robertlong mentioned this pull request Nov 12, 2020
69 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants