Skip to content

Extend panel with "go back" slot & height

Miguel Rincon requested to merge 214882-render-single-panel-prep into master

What does this MR do?

Split of !29902 (merged), this MR prepares the components to implement #214882 (closed)

Extend panel with "go back" slot and height

  • Add id in panel mapping from backend to identify panels more esily
  • Add slot for back button as in designs
  • Allow height to be set to the chart from the dashboard level via $attrs
  • Adds a "Expand panel" menu item when @expand listener is set
  • Refactor: Reduce duplication by using in panel for chart components

Screenshots

No changes.

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
Edited by 🤖 GitLab Bot 🤖

Merge request reports