Insights: Drill down from charts
Requirements from original issue
It would be amazing if we could drill into various metrics under the Analytics tab to see the source data for the charts. For example, when looking at MRs month-over-month, or in particular when looking at production deployments, it would be great to be able to understand/vet/share the data that comprises that number.
Following this customer request, and this Dogfooding feedback.
Proposal
- Move forward with Proposal C, based on feedback in #372215 (comment 1582718963) and that this is a two way door decision
- Update the mouse interaction pattern for charts (See proposal)
- As an MVC/proof of concept, start with the first report on the Insights page: Issues Dashboard - Bugs created per month and add support to link from an individual bar chart to the Issue Analytics page
- Add instrumentation as mentioned in #372215 (comment 1611953418)
Prior proposal 3
Click to expand
- Update the mouse interaction pattern for charts (See proposal)
- As an MVC/proof of concept, start with the first report on the Insights page: Issues Dashboard - Bugs created per month and add support for for linking to VSA
- If the group/project doesn't have any value streams configure, the user will see the empty VSA state page
- Deep-links: the link will inherit the group, project and date range from Insights
- Out of scope for this MVC, inherit the label filter
Prior proposal 2
Click to expand
Add as an MVC a default drill-down from Insights into VSA
- Adding to Insights Popover a default drill down link.
- Text for the link:
View details
.
- Clicking on the link will drill down into VSA. If the group/project doesn't configure any value streams, the user will see the empty VSA state page.
- Deep-links - the link will inherit the group, project and date range from Insights.
- Adding this to all Insights chart type.
- Out of scope for the MVC, inherit the label filter.
In the next iterations we can add the click handler to the Insights description parameters, and more inherits options.
Prior proposal 1
Click to expand
- Add a click handler to the Insights description parameters.
- Onclick, the page should redirect to a feature defined in the YAML
- Out of scope, the redirect should be deep linked to include filters
Example:
mergeRequests:
title: "Merge requests dashboard"
description: "Merge Requests merged per week, click [here](../../-/analytics/merge_request_analytics)
for more Information about the MRs."
Questions
-
When deep-linking from VSA to Insights, what should be visible on the page that will provide value to the user? (See proposals in Design management) -
How will deep-linking from other reports from Insights work? Should they link to different pages? (e.g. Merge Requests Dashboard report)