Dashboards: Add a new variable type called "Switch" (#111366)

* feat: add schema changes for a switch type of dashboard variable

* fix: generated go

* feat: add support for a switch type of dashboard variable

* chore: update `@grafana/scenes` to a canary version

* feat: add variable editor for the switch variable

* fix: remove unnecessary jest config change

* chore: remove commented out code
This commit is contained in:
Levente Balogh
2025-10-09 12:08:55 +00:00
committed by GitHub
parent 779295cfeb
commit 3658b1fce7
33 changed files with 1502 additions and 171 deletions
+11 -11
View File
@@ -3524,11 +3524,11 @@ __metadata:
languageName: unknown
linkType: soft
"@grafana/scenes-react@npm:6.38.0":
version: 6.38.0
resolution: "@grafana/scenes-react@npm:6.38.0"
"@grafana/scenes-react@npm:6.39.3":
version: 6.39.3
resolution: "@grafana/scenes-react@npm:6.39.3"
dependencies:
"@grafana/scenes": "npm:6.38.0"
"@grafana/scenes": "npm:6.39.3"
lru-cache: "npm:^10.2.2"
react-use: "npm:^17.4.0"
peerDependencies:
@@ -3540,13 +3540,13 @@ __metadata:
react: ^18.0.0
react-dom: ^18.0.0
react-router-dom: ^6.28.0
checksum: 10/7b38553f1950f6592eb24878061cc7c45fc2aa1776c4b1cd521c6995d11f8beb0b2b275afda0ebf0ec19b7f7c79b77126caad4843bc9a75bd09881645e882c91
checksum: 10/7e989c0d34ab23add873fcdf8f2ebf2bb94c7cfd427631be13da4a08a0f78832c354868d97e584534a69a4bf4224fcb49a8d49fb16bf43cbed58203bd36c90d4
languageName: node
linkType: hard
"@grafana/scenes@npm:6.38.0":
version: 6.38.0
resolution: "@grafana/scenes@npm:6.38.0"
"@grafana/scenes@npm:6.39.3":
version: 6.39.3
resolution: "@grafana/scenes@npm:6.39.3"
dependencies:
"@floating-ui/react": "npm:^0.26.16"
"@leeoniya/ufuzzy": "npm:^1.0.16"
@@ -3566,7 +3566,7 @@ __metadata:
react: ^18.0.0
react-dom: ^18.0.0
react-router-dom: ^6.28.0
checksum: 10/9372896e76271becb80e4a8691d8c51bc3b54b54d98c82f2953134f407a7370dc66a3e8afaa508003147e2f1b5b08d0ddbb6b1616a3a3ab3f7ad69fb941dd998
checksum: 10/e5ddaf4f5e9afc7370eb4b6608d26056d1e4072465c2179e87415ac4ad01a4f8693bafaa372d7ed8ec6f295847561116ea85993cb5e5e6c4927fbb82b56f2e96
languageName: node
linkType: hard
@@ -18289,8 +18289,8 @@ __metadata:
"@grafana/plugin-ui": "npm:^0.10.10"
"@grafana/prometheus": "workspace:*"
"@grafana/runtime": "workspace:*"
"@grafana/scenes": "npm:6.38.0"
"@grafana/scenes-react": "npm:6.38.0"
"@grafana/scenes": "npm:6.39.3"
"@grafana/scenes-react": "npm:6.39.3"
"@grafana/schema": "workspace:*"
"@grafana/sql": "workspace:*"
"@grafana/test-utils": "workspace:*"