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.

Intended users

EMs, Directors, PMs

Further details

Proposal

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

Documentation

Testing

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

Solution

image

  • 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

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited Dec 10, 2024 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading