Introduce keyboard shortcuts for the chart panels

Note - we should implement #212476 (closed) first

Problem to solve

In Grafana there are keyboard shortcuts in the dropdown of each chart:

Screen_Shot_2020-02-05_at_12.33.57

This makes navigating a little bit faster as you can save some clicks when dealing with a large amount of charts.

In our case we could add the shortcuts here:

Screen_Shot_2020-02-05_at_12.36.26

Intended users

Further details

Proposal

As the first iteration, implement the following shortcuts:

  • l- View logs
  • d- Download CSV
  • c- Generate link to chart
  • a- Alerts
  • e - Expand chart

As an MVC, we won't be surfacing these shortcuts in menus. This will be addressed once we define how shortcuts should look in GitLab UI.

Permissions and Security

Documentation

Shortcuts need to be documented in the GitLab Shortcuts Library and the docs for the Metrics Dashboard.

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Edited by Jose Ivan Vargas