grafana/public/app/features/dashboard-scene/scene
Dominik Prokop 20b08ccaab
Add `v2beta1` api version: Consolidate schema breaking changes (#108172)
* Revert "Revert: Future-proofing query and data source model in Dashboard Sche… (#107985)"

This reverts commit 13a89d4ae3.

* Revert "Revert "Schema V2: Simplify annotations v1<->v2 conversions" (#107984)"

This reverts commit 2b8c5bea1a.

* make gen apps

* e2e update

* Use v2alpha2 by default (#108177)

* Use v2alpha2 by default

* Apply only DS changes to alpha2

* Use v2alpha2 by default except to query

* Create a v2 index in @grafana/schema

* Update path and apply lint

* Update tests

* Update imports to v2 status

* Fix failing openapi test

* Schemav2 breaking changes: conversion implementation (#108224)

* provision v2alpha1 dashboard

* Run conversions for DS refactor

* Run snapshot testing on conversions

* Normalize output name

* Update snapshots to include all panel and variable cases

* fix lint

* fix lint

* fix test and go lint

* more go lint

---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com>

* Schema v2: Introduce group/datasource convention to GroupBy and AdHoc variable (#108237)

* Schema v2: Introduce group/datasource convention to GroupBy and AdHoc variables

* add conversion

* App Installer: Authorizer support (#108419)

* Chore: use `satisfies` and remove a load of `any`s (#108397)

use satisfies and remove a load of anys

* improve logging and fail unified-storage migration with more than 0 errors (#108471)

improve logging and fail unified-storage migration with more than 0 errors

* fix conversion test

* Secrets: Create more granular fixed roles for SecureValues (#108382)

* Provisioning: Fix bug in job progress recording (#108440)

Fix bug in job progress recording

* Provisioning: Fix ImportAllPanelsFromLocalRepository test (#108441)

* Provisioning: Skip flaky test

* Fix flaky provisioning test

* Fix lint

---------

Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>

* BulkDeleteProvisionedResource: Move progress bar into a second step (#108417)

* Move progress bar into a second step

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* [Dashboard Schema Codegen] Move dashboard CUE codegen block back up into kind body (#108476)

[Dashboard Schema Codegen] Move dashboard CUE codegen block back up into kind body to make sure new versions have the same settings.

---------

Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com>
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Will Assis <35489495+gassiss@users.noreply.github.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
Co-authored-by: Roberto Jiménez Sánchez <jszroberto@gmail.com>
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
Co-authored-by: Yunwen Zheng <yunwen.zheng@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Austin Pond <IfSentient@users.noreply.github.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>

* Dashboard Schema V2: Refactor VizConfigKind to follow DataQueryKind convention (#108148)

* Dashboards API: Register v2alpha2 API

* Prepare conversion functions

* Fix test

* Refactor VizConfigKind to follow DataQueryKind convention

* fix tests

* use new dataquerykind convention alpha 2

* add conversion

* fix tests

* fix tests

* fix another test

* Fix merge

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* fix k8s codegen

* Update e2e-playwright/dashboards/TestV2Dashboard.json

* Update e2e/dashboards/TestV2Dashboard.json

* revert app generation for non-related apps

* try again

* another try

* also revert folder and secret app generation

* v2alpha1 provisioned dashboard

* Fix kind

* Fix conversion snapshots

* Update API discovery registry

* Rename to v2beta1

* Rename migrations

* Update apps/dashboard/pkg/apis/dashboard/v2beta1/doc.go

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>

* Ensure conditional rendering and other non changed properties

---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com>
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Will Assis <35489495+gassiss@users.noreply.github.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
Co-authored-by: Roberto Jiménez Sánchez <jszroberto@gmail.com>
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
Co-authored-by: Yunwen Zheng <yunwen.zheng@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Austin Pond <IfSentient@users.noreply.github.com>
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-07-30 15:01:27 +02:00
..
export Add `v2beta1` api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
layout-auto-grid Add `v2beta1` api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
layout-default Add `v2beta1` api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
layout-rows Add `v2beta1` api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
layout-tabs Add `v2beta1` api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
layouts-shared Add `v2beta1` api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
new-toolbar Share Button: Added ClipboardItem route after Safari issues (#107925) 2025-07-10 12:59:41 -04:00
types Add `v2beta1` api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
AddLibraryPanelDrawer.test.tsx Dashboard: FF `dashboardNewLayouts` Fix library panels non-editable when multiple added (#107052) 2025-06-24 14:15:44 +02:00
AddLibraryPanelDrawer.tsx Dashboard: FF `dashboardNewLayouts` Fix library panels non-editable when multiple added (#107052) 2025-06-24 14:15:44 +02:00
AlertStatesDataLayer.ts Chore: reduces barrel files part II (#107688) 2025-07-09 06:15:33 +02:00
CustomTimeRangeCompare.tsx TimeSeries: Add Time Comparison (#104672) 2025-07-24 13:07:28 -07:00
DashboardAnnotationsDataLayer.test.ts
DashboardAnnotationsDataLayer.ts
DashboardControls.test.tsx
DashboardControls.tsx Chore: Add eslint no-restricted-globals rule (#104519) 2025-05-12 12:38:26 +03:00
DashboardDataLayerSet.tsx
DashboardDatasourceBehaviour.test.tsx Chore: Fix Flaky test DashboardDatasourceBehaviour (#105682) 2025-05-21 10:55:46 +02:00
DashboardDatasourceBehaviour.tsx
DashboardLayoutOrchestrator.tsx DashboardLayoutOrchestrator: Refine drag drop logic (#106079) 2025-05-29 13:48:25 +01:00
DashboardLinksControls.test.tsx
DashboardLinksControls.tsx
DashboardMacro.ts DashboardMacro: Fail soft if `__dashboard` macro exists (#108060) 2025-07-21 11:53:31 +02:00
DashboardReloadBehavior.ts DashboardReload: Refactor / move state diffing out of DashboardPageStateManager and into reload behavior, simplify (#106039) 2025-06-04 11:29:25 +02:00
DashboardScene.test.tsx Querying: Pass dashboard and panel title as headers (#107032) 2025-06-25 13:51:23 +02:00
DashboardScene.tsx Add `v2beta1` api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
DashboardSceneRenderer.tsx Chore: reduces barrel files part II (#107688) 2025-07-09 06:15:33 +02:00
DashboardSceneUrlSync.test.ts Chore: reduces barrel files part II (#107688) 2025-07-09 06:15:33 +02:00
DashboardSceneUrlSync.ts Chore: reduces barrel files part II (#107688) 2025-07-09 06:15:33 +02:00
GoToSnapshotOriginButton.test.tsx Update dependency typescript to v5.8.3 (#101501) 2025-07-04 14:43:01 +01:00
GoToSnapshotOriginButton.tsx Internationalisation: Manual mark up following review (#107625) 2025-07-07 16:43:19 +01:00
LibraryPanelBehavior.test.tsx Dashboard: Add Alert icon in library panels (#107723) 2025-07-08 15:08:01 +02:00
LibraryPanelBehavior.tsx Dashboard: Add Alert icon in library panels (#107723) 2025-07-08 15:08:01 +02:00
ManagedDashboardNavBarBadge.tsx Chore: reduces barrel files part II (#107688) 2025-07-09 06:15:33 +02:00
NavToolbarActions.test.tsx Sharing: Export dashboard as image (#104207) 2025-07-15 21:07:39 +00:00
NavToolbarActions.tsx Provisioning: Re-fetch folders after creating or deleting a repository (#108778) 2025-07-28 17:55:28 +03:00
PanelLinks.tsx i18n: removes useTranslate hook (#106556) 2025-06-12 11:03:52 +02:00
PanelMenuBehavior.test.tsx Chore: reduces barrel files part II (#107688) 2025-07-09 06:15:33 +02:00
PanelMenuBehavior.tsx Chore: reduces barrel files part II (#107688) 2025-07-09 06:15:33 +02:00
PanelNotices.tsx
PanelSearchLayout.tsx i18n: imports use @grafana/i18n (#105177) 2025-05-15 09:17:14 +02:00
PanelTimeRange.test.tsx
PanelTimeRange.tsx
UnconfiguredPanel.tsx i18n: removes useTranslate hook (#106556) 2025-06-12 11:03:52 +02:00
UnlinkLibraryPanelModal.tsx
UnlinkModal.tsx Internationalisation: Manual mark up following review (#107625) 2025-07-07 16:43:19 +01:00
VariableControls.tsx Eslint: Allow 'unset' in no-border-radius-literal lint rule (#106619) 2025-07-04 15:43:48 +01:00
ViewPanelScene.test.tsx
ViewPanelScene.tsx
keyboardShortcuts.ts Chore: reduces barrel files part II (#107688) 2025-07-09 06:15:33 +02:00
setDashboardPanelContext.test.ts
setDashboardPanelContext.ts