Skip to content

Render alert when raw text search attempted in Issue Analytics

What does this MR do and why?

Renders an alert on the Issue Analytics page when users attempt a raw text search in the filtered search bar – it isn't possible on aggregated data.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

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

Before After
Screen Recording 2024-04-17 at 5.10.36 PM.mov Screen Recording 2024-04-17 at 4.53.13 PM.mov

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Make sure you have a GitLab Ultimate license
  2. Go to a group/project with open/closed issues or
    1. NEW_PROJECT=1 bin/rake gitlab:seed:insights:issues
    2. Visit Issue Analytics for the group/project in the output of the command above
  3. Visit http://{LOCAL_INSTANCE}/groups/{GROUP_PATH}/-/issues_analytics or http://{LOCAL_INSTANCE}/{GROUP_PATH}/{PROJECT_PATH}/-/analytics/issues_analytics
  4. Attempt a raw text search in the filtered search bar and confirm that the alert is shown.

Related to #421389 (closed)

Edited by Rudy Crespo

Merge request reports