Skip to content

Add panel to preview panel page

What does this MR do?

This feature is behind a feature flag:metrics_dashboard_new_panel_page See: &2882

Part of #228761 (closed) This MR adds the first iteration of panel builder component. This MR depends on !37563 (merged)

This change adds a new panel builder component that will show a panel in the future, this panel builder is connected to the URL query parameters and calls a stubbed endpoint that does not work yet.

Features:

  • Copy panel
  • Stores the yml in the URL

Next step:

Screenshots

Updated version (with improved margins and font sizes):

image

UX behaviors:

before after: initial view after: clicking on review panel after: copy panel feature
image Screen_Shot_2020-07-27_at_8.42.41_PM Screen_Shot_2020-07-27_at_8.42.55_PM Screen_Shot_2020-07-27_at_8.43.31_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

Closes #228761 (closed)

Edited by Miguel Rincon

Merge request reports