DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879)

* DashboardScheam: Remove old unused legacy props style and timepicker.enable

* Update

* fix test
This commit is contained in:
Torkel Ödegaard
2023-08-28 12:18:17 +02:00
committed by GitHub
parent f95405d3c3
commit 74d453f056
223 changed files with 52 additions and 328 deletions

View File

@@ -38,10 +38,6 @@ lineage: schemas: [{
// Tags associated with dashboard.
tags?: [...string]
// Theme of dashboard.
// Default value: dark.
style: "light" | *"dark"
// Timezone of dashboard. Accepted values are IANA TZDB zone ID or "browser" or "utc".
timezone?: string | *"browser"
@@ -67,8 +63,6 @@ lineage: schemas: [{
refresh_intervals: [...string] | *["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
// Whether timepicker is collapsed or not. Has no effect on provisioned dashboard.
collapse: bool | *false
// Whether timepicker is enabled or not. Has no effect on provisioned dashboard.
enable: bool | *true
// Selectable options available in the time picker dropdown. Has no effect on provisioned dashboard.
time_options: [...string] | *["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
}