Added drill down functionality to select Insights charts
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.
- Make sure you have a GitLab Ultimate license
- Seed Insights data:
NEW_PROJECT=1 bin/rake gitlab:seed:insights:issues
- 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
orhttp://{LOCAL_INSTANCE}/{GROUP_PATH}/{PROJECT_PATH}/insights/#/issues
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #372215 (closed)
Edited by Rudy Crespo