-
Notifications
You must be signed in to change notification settings - Fork 191
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
Bottom tabs and main menu #1035
Comments
This is a complex issue, so we'll want someone on the Zulip core team to handle it. |
A previous draft PR implemented the navigation bar (roughly point 1 from the description above): So that may be a helpful starting point. |
Just to clarify, because we have a button for the @-mentions page, I believe that the bottom tabs should be at least available for a Also questions:
|
Hmm, yeah, that part will be a bit awkward — either having that one anomalous message list with bottom tabs, or having that one anomalous tab that leads to a page without the bottom tabs. I think both kinds of anomaly are things I've seen repeatedly in other published apps. Let's start with whichever one seems easier to implement. (And then potentially this makes a reason to relegate @-mentions to the menu, instead of also being in the bottom tab bar.) |
Answered in chat the other day (after the comment above): https://chat.zulip.org/#narrow/channel/243-mobile-team/topic/UI.20redesign.3A.20root.20level.20nav/near/1982007
I'm not sure offhand what the right way is to organize the code, or to handle the navigation APIs to manage this. Looking at the NavigationBar doc, that API seems to clearly want something much like you said: one page, a stateful widget, which provides the Scaffold and its NavigationBar. Given that, I think the approach I'd try first (because it's my best guess for the right way) is:
Probably a chat thread would be a good place for further discussion. I'll more reliably see it sooner and reply, and it's a more interactive medium. |
This is our new design for the overall navigation of the app. It replaces the current placeholder home page. In this design:
There is a bottom tab bar (aka "navigation bar", in Material 3 terms). It has 6 buttons: Inbox, Combined feed, Mentions, Direct messages, Channels, Menu.
The screen with the bottom tab bar is the root of the navigation stack; there's no navigating "back" or "up" from there. For how the user reaches the choose-account page (which we currently put at the root of the navigation stack), see below.
The menu is a modal bottom sheet. It has the same options as the navigation bar (except Menu itself), plus "Starred messages".
Background
This design balances two things we want:
Discussion in chat thread.
Previous issue, which this one supersedes:
The text was updated successfully, but these errors were encountered: