Mount GitLab Apps in the super sidebar and top bar

What does this MR do and why?

This MR mounts GitLab Apps in the super sidebar and the top bar. It adds the sidebar and topbar mount points to the hardcoded registry in ee/lib/gitlab/apps.rb and registers the Orbit Portal as the first sidebar app. Everything stays behind the gitlab_apps wip flag. This is an internal experiment for now.

  • Sidebar: apps render as static, non-pinnable nav items below the pinned items.
  • Top bar: apps render as icon-only tertiary buttons to the left of the GitLab Intelligence button. No registry entry uses this mount yet.

The apps are linked through GitlabAppsHelper, like the layout mount points. Unlike those, the super sidebar renders them itself instead of offering placeholders, so they follow its collapsed state.

Why sidebar apps are not pinnable

Pins are stored per panel type. An app pinned in one hierarchy would vanish from the pins wherever that app is not available, so apps get their own static section instead.

References

Screenshots or screen recordings

Project sidebar with the gitlab_apps flag enabled for the project's top-level group.

Before After
sidebar-before sidebar-after

How to set up and validate locally

  1. In the Rails console, enable the feature flag:
    Feature.enable(:gitlab_apps)
  2. Visit any project or group page.
  3. In the super sidebar, below the pinned items, check that an Orbit Portal item appears and that it has no pin action.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

🤖 Generated with Claude Code

Edited by Janis Altherr

Merge request reports

Loading
Loading