Dashboard: Allow disabling dashboard grid lazy loading (#89280)

* Schema update

* Dashboard: Allow opting out from dashboard panels lazy loading

* Locale

* Lint fix

* Snaps fix
This commit is contained in:
Dominik Prokop
2024-07-03 16:00:45 +02:00
committed by GitHub
parent d1952bb681
commit f659bc1f40
14 changed files with 114 additions and 46 deletions
@@ -753,6 +753,9 @@ type Spec struct {
// List of dashboard panels
Panels []any `json:"panels,omitempty"`
// When set to true, the dashboard will load all panels in the dashboard when it's loaded.
Preload *bool `json:"preload,omitempty"`
// Refresh rate of dashboard. Represented via interval string, e.g. "5s", "1m", "1h", "1d".
Refresh *string `json:"refresh,omitempty"`