doc/development/fe_guide/dashboard_layout_framework.md
{{< details >}}
{{< /details >}}
{{< history >}}
{{< /history >}}
The dashboard layout framework is part of a broader effort to standardize dashboards across the platform as described in Epic #13801.
For more in depth details on the dashboard layout framework, see the architecture design document.
To render dashboard layouts it's recommended to use the GlDashboardLayout component. It provides an easy way to render dashboards using a configuration which aligns with our Pajamas guidelines.
You are free to choose whichever panel component best suits your needs. However, to ensure consistency with our design patterns, it's strongly recommended that you use one of the following components:
extended_dashboard_panel.vue: Extends GlDashboardPanel with easy alert styling and i18n stringsMigrating an existing dashboard to the GlDashboardLayout should be relatively straightforward. In most cases because you only need to replace the dashboard shell and can keep existing visualizations. A typical migration path could look like this:
extended_dashboard_panel.vue.See the basic implementation on Pajamas for an example on how to render existing visualization components using the dashboard layout component.
Real world implementations and migrations using the GlDashboardLayout component: