Skip to content

Restore project-specific shortcuts within the super sidebar

Paul Gascou-Vaillancourt requested to merge 393189-project-shortcuts into master

What does this MR do and why?

Restores the ability to use project-specific shortcuts when the new navigation is enabled.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Enable the new nav:
    1. Enable the feature flag:

      echo "Feature.enable(:super_sidebar_nav)" | rails c
    2. Enable the user setting from the user dropdown:

      Screenshot_2022-12-13_at_1.32.43_PM

  2. From within a project, try any of the supported keyboard shortcuts:
    • GO_TO_PROJECT_OVERVIEW: g+p
    • GO_TO_PROJECT_ACTIVITY_FEED: g+v
    • GO_TO_PROJECT_RELEASES: g+r
    • GO_TO_PROJECT_FILES: g+f
    • GO_TO_PROJECT_COMMITS: g+c
    • GO_TO_PROJECT_JOBS: g+j
    • GO_TO_PROJECT_REPO_GRAPH: g+n
    • GO_TO_PROJECT_REPO_CHARTS: g+d
    • GO_TO_PROJECT_ISSUES: g+i
    • GO_TO_PROJECT_ISSUE_BOARDS: g+b
    • GO_TO_PROJECT_MERGE_REQUESTS: g+m
    • GO_TO_PROJECT_WIKI: g+w
    • GO_TO_PROJECT_SNIPPETS: g+s
    • GO_TO_PROJECT_KUBERNETES: g+k
    • GO_TO_PROJECT_ENVIRONMENTS: g+e
    • GO_TO_PROJECT_METRICS: g+l
    • GO_TO_PROJECT_WEBIDE: .
    • NEW_ISSUE: i

MR acceptance checklist

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

Related to #393189 (closed)

Merge request reports

Loading