Left align the navigation (1st level and 2nd level of tabs) to the content container block, not to the edge of the viewport. The very top level area (logo, group, project, etc.) should stay fixed to the edges of the viewport.
The top area is global content. The navigation links relate directly to the content area.
✓
1 of 1 checklist item completed
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
Quick note: I think navigation (1st level and 2nd level of tabs) should be aligned to content block, not edge of window. Let me know if that makes sense to you @annabeldunstone. Thanks!
What I want to say is that the sidebar issue and that of the menu in a unitary way is a mistake imo. The main problem of the UI is precisely the lack of coherence.
Otherwise I agree that there is indeed a problem with the sidebar, not so much because the concept is bad but especially in the way it's implemented. The sidebar before 8.9 was quite relevant.
A while back (probably almost a year ago) we had some designs to left align group/project header info. We may want to think about doing that again, because it looks sort of odd now that the navigation is no longer centered:
Here's the page with the limited container (only on issues and MRs so far)
With the sidebar open:
I agree with @cperessini; @awgeorge1 & @alexispires mockups may be the way to go here. If the top navigation is within the same content container, it won't look as weird with all the different alignments. Once we have the new limited-widths throughout the site, and when we get the settings button into a tab, we can look at going back to the full-width top nav. What do you think @awhildy?
Thanks @annabeldunstone! Yep - after playing with it, I agree. I think we should put the top navigation in the same content container as @awgeorge1 and @alexispires suggest. Thanks all!
Left-aligning our navigation is bringing up some problems with pages that have a special width for content, like Issues and Merge Requests, as they can result in navigation items being shifted with respect to other pages.
It also doesn't play very well with the sidebar in Issues and Merge Requests, since it needs to be pinned to the right edge of the screen.
Unless we can come up with a plan that solves those problems, we should revert to centered navigation, which doesn't suffer from them.
@dzaporozhets Yeah, that could work but we'd need to redo the group/project info container. It looked really strange having the navigation over on the left and the header information still centered. If we can get a design for those blocks we could still do this for 9.0
cc @awhildy
There is extra white space, but it is not excessive unless you have a very wide browser. Also, I noted one of the MRs that with the addition of nested groups, the name in the content switcher could be much longer and we now have more space to display longer names without the logo there. See design here: https://gitlab.com/gitlab-org/gitlab-ce/issues/28187#note_23539372
I think there is further work we need to do to the navigation. In the mean time, I believe the centered tabs makes the most sense.
@pedroms I know you were doing some work originally around left aligning the navigation so maybe you have some ideas or insight that counter mine. Would love to hear your thoughts as well.
@annabeldunstone@tauriedavis I believe we all agree that we need to move logo to the left so we can fit longer project names and nested groups. So lets do it right now for 9.0 and leave navigation centered for now.
Just tried out 9.0, and the top of the page really feels empty without the logo there in the center. I'd be fine with it if there was only ever the one layer of navigation up there, like there is on the Projects page, but with two layers of navigation, as can be found when you're in a repo, it feels like something's missing from the top. The remaining center-aligned nav draws one's attention to this.
Thanks for the feedback @idtownie - We limit user preferences to features that we feel will help improve a users' workflow. The position of the logo does not fall into the category so we won't be adding it as an option.