-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Closed
Closed
Copy link
Labels
area/dashboard/schemasarea/dashboard/schemas/v2internalfor issues made by grafanistasfor issues made by grafanistasteam/grafana-dashboardsDashboards squadDashboards squad
Description
Taken from: #https://raintank-corp.slack.com/archives/C07QVGH37D4/p1744211611230779
Context
When implementing dashboards v2 endpoint, there were a lot of required parameters in the CUE schema. This opened the conversation of intentionality of these required parameters:
Should we required fewer parameters to create a minimal dashboard? (title and nothing more)
We also saw the same ask for these use cases:
- In dynamic dashboards: Make
columnWidthMode
androwHeightMode
optional (default to standard ) - Could we remove default values from saved schemas for template variables? they have their default values when dashboard is created
The vision of the new schema
Users found schema v1's JSON model verbose and filled with defaults. We aim for smaller JSON with the new schema.
Metadata
Metadata
Assignees
Labels
area/dashboard/schemasarea/dashboard/schemas/v2internalfor issues made by grafanistasfor issues made by grafanistasteam/grafana-dashboardsDashboards squadDashboards squad