Skip to content

Hide remove button from context switcher search results

What does this MR do and why?

Hide remove button from context switcher search results

This prevents the "Remove item" button from showing up in the search results list in the context switcher. The button should only appear in the frequently visited items list.

Screenshots or screen recordings

Before After
Screenshot_2023-05-16_at_12.00.16_PM Screenshot_2023-05-16_at_11.59.45_AM

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. Search for projects/groups in the context switcher.

MR acceptance checklist

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

Merge request reports

Loading