Skip to content

[Comments] Add a visual toggle for including archived

What does this MR do and why?

Added archived filter for Global search "comments" scope.

Screenshots or screen recordings

Before After
Screenshot_2023-09-13_at_16.56.21 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_notes_hide_archived_projects)' | rails c
  3. Visit the global search page, issues scope http://gdk.test:3000/search?scope=notes&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 #421720 (closed)

Edited by Tomas Bulva

Merge request reports