Change single-item breadcrumbs to page titles
Problem to solve
On pretty much all pages we are showing our breadcrumb bar below the top navigation. We have a couple of pages that are on top-level, without sub-hierarchy. One example is our dashboards, available from our top navigation. Right now, we are showing our breadcrumb navigation here as well that only shows that very page.
Besides consistency that does not serve any functional purpose and looks odd, especially if you don't know about this being the breadcrumb nav representation.
Further details
Complete list of relevant pages:
- Projects dashboard
- Groups dashboard
- Activity dashboard
- Milestones
- Snippets
- New project
- New group
- New snippet
Proposal
In https://gitlab.com/gitlab-org/gitlab-ce/issues/47407#note_99027312 @matejlatin suggested changing these cases to an actual page title. Besides a more clear page structure, this would also allow putting top-level actions/buttons into this newly gained space.
Solution
There might be different cases that need different treatment.
- Replace breadcrumb nav by page title (Dashboards)
- Remove breadcrumb ("New …" pages)
- Remove breadcrumb, page title already exists ("New snippet")