-
Notifications
You must be signed in to change notification settings - Fork 124
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
Allow closing room creation and room joining views on small screens #951
Allow closing room creation and room joining views on small screens #951
Conversation
And rename inner class to CreateRoomView_body, for consistency with other views. For consistency with other views.
Oops, I didn't realize there was already a PR for this, apologies @thigg. I'm happy to close this in favour of #937 if you think that makes sense, though I think the changes here that add the If we keep this instead of #937 I'm happy to also address #904 here. For now I'm moving this to draft. |
#937 is really dirty. I'd favor yours!
Am Dienstag, 20. Dezember 2022 schrieb Paulo Pinto:
… Oops, I didn't realize there was already a PR for this, apologies @thigg. I'm happy to close this in favour of #937 if you think that makes sense, though I think the changes here that add the `JoinRoomView`, `JoinRoomView_body` and `JoinRoomView_header` do make sense.
If we keep this instead of #937 I'm happy to also address #904 here. For now I'm moving this to draft.
--
Reply to this email directly or view it on GitHub:
#951 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***
--
Gesendet von meinem Sailfish Gerät
|
Very cool. I hope this will be merged for the next release! |
@MidhunSureshR do you think this could make it to thw next release? This is quite a showstopper in some cases. Let us know if more needs to be done before merging. |
Yes, this will surely be in the next release 👍 |
@psrpinto Can you sign-off on this PR so that I can merge it? |
Now signed-off the PR @MidhunSureshR |
@MidhunSureshR can this be in the next release? ;) |
Fixes #903 #904 #936
When hydrogen is in "single-column" mode (i.e. small screen), entering certain views related to creating or joining a room makes it impossible for the user to exit that view.
The user could use the browser back button of course, but in situations where that is not possible (e.g. when hydrogen is being rendered in an
iframe
), the user will be locked in that screen. The only solution out of it is to delete local storage.For consistency with other views, I think it would make sense to allow the user to go back using the same mechanism they use in other views, i.e. the back button on the view header.
Signed-off-by: Paulo Pinto paulo.pinto@automattic.com
Screen captures