Dashboard schema: Review and mature graphTooltip property (#62082)

* Review and mature graphTooltip property of Dashboard kind

* Review
pull/61631/head
Dominik Prokop 3 years ago committed by GitHub
parent a6f0b69d6f
commit 5f6616ff3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      kinds/dashboard/dashboard_kind.cue
  2. 3
      packages/grafana-schema/src/raw/dashboard/x/dashboard_types.gen.ts
  3. 2
      pkg/kindsys/report.json

@ -33,8 +33,9 @@ lineage: seqs: [
// Timezone of dashboard,
timezone?: *"browser" | "utc" | "" @grafanamaturity(NeedsExpertReview)
// Whether a dashboard is editable or not.
editable: bool | *true
graphTooltip: #DashboardCursorSync @grafanamaturity(NeedsExpertReview)
editable: bool | *true
// Configuration of dashboard cursor sync behavior.
graphTooltip: #DashboardCursorSync
// Time range for dashboard, e.g. last 6 hours, last 7 days, etc
time?: {
from: string | *"now-6h"
@ -291,7 +292,7 @@ lineage: seqs: [
// 0 for no shared crosshair or tooltip (default).
// 1 for shared crosshair.
// 2 for shared crosshair AND shared tooltip.
#DashboardCursorSync: *0 | 1 | 2 @cuetsy(kind="enum",memberNames="Off|Crosshair|Tooltip") @grafanamaturity(NeedsExpertReview)
#DashboardCursorSync: *0 | 1 | 2 @cuetsy(kind="enum",memberNames="Off|Crosshair|Tooltip")
// Schema for panel targets is specified by datasource
// plugins. We use a placeholder definition, which the Go

@ -651,6 +651,9 @@ export interface Dashboard {
*/
fiscalYearStartMonth?: number;
gnetId?: string;
/**
* Configuration of dashboard cursor sync behavior.
*/
graphTooltip: DashboardCursorSync;
/**
* Unique numeric identifier for the dashboard.

@ -283,7 +283,7 @@
0,
0
],
"grafanaMaturityCount": 144,
"grafanaMaturityCount": 142,
"lineageIsGroup": false,
"links": {
"docs": "https://grafana.com/docs/grafana/next/developers/kinds/core/dashboard/schema-reference",

Loading…
Cancel
Save