Show group sidebar while creating a new subgroup or project
What does this MR do and why?
This makes several changes to the groups#new
and projects#new
pages. See #382326 (closed) for more details but here's the gist:
- While creating a top-level group or project, we show the "Your work" sidebar. (unchanged)
- While creating a subgroup or project, we now show the group sidebar of the parent group.
🆕 - The page layout was changed to only use a single column to give the sidebar more room to breath.
- The breadcrumbs got moved to where breadcrumbs are supposed to be
😄 - Also breadcrumbs now show the parent group as first element, allowing to quickly go back to the group overview page.
Screenshots or screen recordings
New top-level group | New sub group |
---|---|
New top-level project | New project within group |
---|---|
How to set up and validate locally
Please review both the flows of creating top-level groups/projects and creating subgroups/projects.
Top-level
- Create a new group at http://gdk.test:3000/groups/new and have an eye on the breadcrumbs and page layout.
- Create a new project at http://gdk.test:3000/projects/new and have an eye on the breadcrumbs and page layout.
Sub-groups and projects
- Navigate to any group you own, like http://gdk.test:3000/gitlab-org
- Click the "New subgroup" button
- Instead of the "Your work" sidebar you should see the group sidebar of your parent group.
- Do the same for "New project".
- Check the breadcrumbs. They now should start with a link to your parent group.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Thomas Hutterer