-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Vertical navbar #4859
Vertical navbar #4859
Conversation
Nice! The query editor page got messed up, but others seem to be fine. |
I pushed some updates to the vertical navbar and made the query editor work. |
…xes known issues: navbar expand/collapse, scrollbar appears/hides)
40ee6f1
to
8ac7d7f
Compare
…o ApplicationLayout folder
c04ccbb
to
e515aa1
Compare
3 points I had in mind that for me could be a little bit different (I don't have very specific suggestions 😕, but I'll bring they up in case you had any thoughts on them):
|
@gabrieldutra Regarding 1 and 2 - no problem, I'll fix colors. As for 3 - I see no an easy fix for this. But as for me it doesn't look too bad. I think we can return to it later. I'll ping you when I'll update colors (I also want to clean CSS a bit) |
👍 I didn't notice it was now possible to mark a PR as a "Draft" after marking it as "Ready". Cool 😁 |
5078686
to
d26c8a0
Compare
d26c8a0
to
7df0ecf
Compare
@arikfr @gabrieldutra I adjusted text and dividers colors a bit, and did a cleanup stuff I wanted. I don't plan to add anything to this PR (unless you'll find any bugs), so please review it and let's merge it. Thank you! |
💅 💯 |
Much love and appreciation for all your work and making this available open-source. Just wanted to share my two cents and say that I think this is a step backwards in terms of UX. Before, I could just read what the top menu items were, now I have to guess or try to remember which icon means what. I know I can expand the menu to show the labels, but why do this in the first place? Maybe it's just us, but at least our team here frequently complains about the vertical nav in tools that we use (Intercom, Autopilot, etc) and not being able to find things easily. Again, thanks for everything. Just wanted to share some feedback. |
Thank you for the feedback, @daniellangnet. The main reason for this change is that usually people will have more horizontal space than vertical one. By moving the navbar to the side we get more room for the content (think of the query editor for example). The specific issue with navigation, I think that this can be addressed by either having better icons and/or always showing the titles. Here's a sneak peek of an alternative design we're looking at: It takes more width than the current one, but maybe be a reasonable compromise for the purpose of easier discovery. |
|
@arikfr Thank you for the explanation! I can see how having more vertical space could be useful on some pages, yes. Also I think the alternative design you showed would in fact help with usability 👌 |
🤔 true, I had in mind only the padding, but it used to hide |
* Vertical navbar * Update vertical menu look and add create menu. * Make query editor work with vertical nav. * Dark mode * Fix create menu & make sidebar fixed. * Update Alert pages layout * Update System status pages * Update Queries and Dashboards list pages * Update Query Source and Query View pages * Use dark theme for mobile navbar * Update Dashboard page: fix Add widget/textbox panel positioning * Dashboard page: fix layout issues when container changes its size (fixes known issues: navbar expand/collapse, scrollbar appears/hides) * Fix dashboard page sticky header (there was a 15px space above it) * Fix embeds * Extract desktop navbar component; move mobile navbar and its styles to ApplicationLayout folder * Remove old app header * Fix tests * Restore version info block * Make Percy capture entire page * Make vertical navbar expand/collapse animation smoother (as it's currently impossible to disable it :-( ) * Fix misc UI issues (show Create label on expanded menu; fix some CSS; don't select items on click) * Allow to override navbars with DynamicComponent * Fix misc UI issues: expand/collapse button animation, menu items styles, menu expand/collapse animation * Hide submenu arrow; show username when menu is expanded * Refine CSS and make it more isolated; adjust colors * Update tests Co-authored-by: Arik Fraimovich <arik@arikfr.com>
What type of PR is this? (check all applicable)
Description
get rid oftest all pages with vertical navbar and fix issuesclass="container"
because it has fixed size and sometimes causes a horizontal scrollbar to appearRelated Tickets & Documents
Mobile & Desktop Screenshots/Recordings (if there are UI changes)