Skip to content

Setup basic Organization navigation

Peter Hegman requested to merge 409914-setup-organization-navigation into master

What does this MR do and why?

Related to #409914 (closed)
Navigation approval request: #417778 (closed)

The grouptenant scale team is starting to build out an Organization MVC. In !122866 (merged) we setup basic routing for the Organization. This MR does the following:

  1. Adds show controller action and route. This will be the Organization overview in the navigation.
  2. Renames directory route to groups_and_projects. This decision was made by UX and product in #406613 (comment 1440675242)
  3. Sets up sidebar for super nav and old nav
  4. Sets up required layout HAML files

Screenshots or screen recordings

Organization overview

Super nav Old nav
Screenshot_2023-06-28_at_2.56.40_PM Screenshot_2023-06-28_at_2.56.59_PM

Groups and projects

Super nav Old nav
Screenshot_2023-06-28_at_2.57.21_PM Screenshot_2023-06-28_at_2.57.48_PM

How to set up and validate locally

  1. Open Rails console
    • bin/rails console
  2. Enable the feature flag
    • Feature.enable(:ui_for_organizations)
  3. Create an organization
    • FactoryBot.create(:organization, name: 'GitLab', path: 'gitlab')
  4. Navigate to /-/organizations/gitlab

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading