Add ability to click on a dot in prod analytics scatter plot graph
Problem to solve
When a user sees an outlier in the scatter chart: https://gitlab.com/gitlab-org/gitlab-ee/issues/13412#note_206685228, they immediately want to click and get to the MR or a representation of data of it, to understand why it took so long.
EMs, Directors, PMs
As an MVP, can we have a tooltip, which provides a link to the MR.
Permissions and Security
Inline with the rest of the analytics pages now, this feature will be available for Premium users only.
Users should only see groups/projects/subgroups that they have a reporter access to and above.
For gitlab.com, we will only show the groups, projects, subgroups that fall under namespaces of silver (aka premium) and above
What does success look like, and how can we measure that?
A user is able to get from an MR of interest from the graph on productivity analytics.
What is the type of buyer?
Links / references
- Hovering over a dot on the chart triggers the MR tooltip
- we indicate the dot that the tooltip is being shown for by overlaying with a circle of the same color but 40% opacity.
- Clicking on the dot takes the user to the MR itself. I suggest we use the
target="_blank"for links so that the user doesn't lose the filters in the dashboard by mistake