Skip to content

Add "Add panel" item to dashboard actions menu

Miguel Rincon requested to merge 235188-add-add-panel-btn into master

What does this MR do?

Behind metrics_dashboard_new_panel_page feature flag.

  1. Add "Add Panel" link to dashboards.
  2. Add a new link to allow users to navigate to the panel preview page. The link is supported by Vue Router, so switching between pages is immediate.
  3. The new link is added directly in the actions menu.

Notes:

Screenshots

- OOTB dashboards Custom dashboards
Feature flag enabled Screen_Shot_2020-08-11_at_1.36.05_PM Screen_Shot_2020-08-11_at_1.35.39_PM
Feature flag disabled Screen_Shot_2020-08-11_at_1.37.21_PM Screen_Shot_2020-08-11_at_1.37.40_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Mentions #235188 (closed)

Edited by Dhiraj Bodicherla

Merge request reports