Skip to content

Hide stage::deploy filter from issue/mr dashboard

Andrew Fontaine requested to merge afontaine/385021/fix into master

What does this MR do and why?

Hide stage::deploy filter from issue/mr dashboard

Both environment and release filters require the user to be on a project or group page for the endpoints to exist. We add configuration to filter out release and environment filters on the user's issuable dashboard pages without hindering search in groups, projects, and issue boards.

Changelog: fixed

Screenshots or screen recordings

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

Before After
see #385021 (closed) Screen_Recording_2023-11-14_at_3.51.28_PM

How to set up and validate locally

  1. Visit your issues dashboard by selecting Issues in sidebar (/dashboard/issues)
  2. Verify you cannot filter by Release
  3. Visit your merge request dashboard by selecting Merge Requests in the sidebar (/dashboard/merge_requests)
  4. Verify you cannot filter by Release, Environment, Deployed-before, or Deployed-after
  5. Verify these filters still work in project and group MRs, issues, and issue boards

MR acceptance checklist

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

For #385021 (closed)

Edited by Andrew Fontaine

Merge request reports