Skip to content

Added drill down functionality to select Insights charts

Rudy Crespo requested to merge 372215-insights-drill-down-from-charts into master

What does this MR do and why?

Adds drill-down interactivity to the "Bugs created per month by Priority" and "Bugs created per month by Severity" charts on the Issues Dashboard - Bugs created per month report on the Insights page.

Note: The drill-through pages currently only inherit the label and not the date due to Issue Analytics not supporting date range filtering (to be addressed in #428957).

Screenshots or screen recordings

Before After
Screen Recording 2023-11-22 at 9.48.22 PM.mov Screen Recording 2023-11-22 at 9.38.29 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. Seed Insights data: NEW_PROJECT=1 bin/rake gitlab:seed:insights:issues
  3. Visit the Issues Dashboard on the Insights page for the new group/project returned in the terminal by the seeder above: http://{LOCAL_INSTANCE}/groups/{GROUP_PATH}/-/insights/#/issues or http://{LOCAL_INSTANCE}/{GROUP_PATH}/{PROJECT_PATH}/insights/#/issues
  4. Scroll down to the last two charts ("Bugs created per month by Priority" and "Bugs created per month by Severity"), verify that you can drill down into them and that the correct label is applied on the drill-down report.

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

Edited by Rudy Crespo

Merge request reports