Skip to content

[Commits] Add a visual toggle for including archived

What does this MR do and why?

Added archived filter for Global search "commits" scope.

Screenshots or screen recordings

Before After
before after

How to set up and validate locally

  1. Make sure advanced search is installed and enabled
  2. In rails enable FF
    echo 'Feature.enable(:search_commits_hide_archived_projects)' | rails c
  3. Visit the global search page, issues scope http://gdk.test:3000/search?scope=commits&search=%2A

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 #421715 (closed)

Edited by Siddharth Dungarwal

Merge request reports