-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Adapt to different device widths #401
Conversation
…gation on compact screens - People drawer wont be shown on compact screens - Still accessible using settings - would be duplicated UI - mobileSize is now compactSize
- Move back button to the left a bit so it doesnt get in touch with room icon
- <750px: Mobile - <900px: Tablet - >900px: Desktop
@C0ffeeCode the screenshots look awesome. I look forward to using your changes :) |
Hi @C0ffeeCode, I am doing some design changes in user setting panel, so I'd say wait on that so you don't have to do extra work. |
No, only in user settings. |
- remove unnessesary div wrappers - use dir.side where appropriate - rename threshold and its mixins to more descriptive names - Rename "OPEN_NAVIGATION" to "NAVIGATION_OPENED"
Using this PR as a base for an ubuntu touch app. Nicely done. One thing that's missing is the 3-dots menu on the room list views which shows outside the view. Also touch doesn't send an hover event which bugs the message context menu (reply, edit) so probably that needs to be handled in mobile view too somehow. Looking forward on this PR :) |
Which BEM classNames would you propose? |
Commented above in review comments. |
Looking forward for this PR to be merged! Would love to use cinny on my phone! |
- remove ROOM_SELECTED listener - rename NAVIGATION_OPENED to OPEN_NAVIGATION where appropriate - this does NOT changes that ref should be used for changing visability
This resulted in a broken view when application is viewed in mobile size without having selected a room since loading.
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.
Amazing work. Thanks :)
Awesome. I can base my UT app on the upstream now. Thanks for merging this |
Description
Cinny should be more usable on smaller devices or smaller windows.
Therefore, it would be useful in those cases to hide the people drawer since it only takes away too much screen and at some point, hide either the navigation or room view.
The people list can still be accessed on the room settings.
If the UI is separated by nav and room view, a button appears on a room header to go back.
UI on 946px width:
UI on 890px width:
UI on 400px width on a room:
UI on 400px width on navigation:
Relates to #55
What does this not address? (yet)
This PR could be merged before the following points are finished.
Type of change
Checklist:
Preview: https://625fcf0d375e065d3faff09a--pr-cinny.netlify.app
⚠️ Exercise caution. Use test accounts. ⚠️