grafana/public/app/features/dashboard-scene/serialization
Haris Rozajac 5011907dae
Dashboard Schema V2: Export dashboard JSON (#101180)
* wip

* fix the async bug

* Fix tests

* support library panels

* Update comment

* clean up

* refactor, use multi resource kind

* uncomment

* return only the spec

* simplify templateizing logic

* update dashboardkind

* revert imprtable requirements to use the current interface

* tests and fixes

* add panel configs to required; more tests;

* everything in elements should be processed

* clean up

* clean up

* rename for clarity; clean up tests

* export resource v spec

* i18n

* clean unused

* fix library panels

* revert comments

* revert lefthook.rc

* don't support lib panels

* another lefhook revert

* remove lib panel in test

* Remove library panels on external export; show warning if dash contains library panels

* fix tests

* Support old export mode

* clean up

* rely on dash shape vs feature toggle, add spacing to alert, update message

* lint

* typo fix

* make makeExportable part of dashboard serializer; clean up old exporter

* clean up

* more cleanup

* gem file cleanup

* remove unused function

* remove unused selector

* don't remove ds refs that use ds template variable

* clean up
2025-04-11 13:35:39 -06:00
..
__snapshots__ Dashboard Schema V2: Export dashboard JSON (#101180) 2025-04-11 13:35:39 -06:00
custom-variables
layoutSerializers Dashboards: SchemaV2 - Fix stateless queries for mixed ds (#103885) 2025-04-11 16:30:50 +00:00
testfiles
DashboardSceneSerializer.test.ts Dashboard -Schema V2 Stateless annotations (dsRef independent) (#102949) 2025-04-11 11:42:48 +02:00
DashboardSceneSerializer.ts Dashboard Schema V2: Export dashboard JSON (#101180) 2025-04-11 13:35:39 -06:00
angularMigration.test.ts Grafana Data: Use package.json exports for internal code (#102696) 2025-03-25 10:48:36 +01:00
angularMigration.ts
buildNewDashboardSaveModel.test.ts
buildNewDashboardSaveModel.ts Schema V2: Use App SDK generated types (#103100) 2025-04-02 16:22:24 +02:00
const.ts
dataLayersToAnnotations.ts
sceneVariablesSetToVariables.test.ts Dashboard Schema V2: Introduce __legacyStringValue and deprecate string type for query prop in QueryVariableSpec (#99716) 2025-02-06 07:33:06 -07:00
sceneVariablesSetToVariables.ts Schema V2: Use App SDK generated types (#103100) 2025-04-02 16:22:24 +02:00
transformSaveModelSchemaV2ToScene.test.ts Dynamic dashboards: rename ResponsiveGrid files to AutoGrid (#103762) 2025-04-10 08:47:33 +01:00
transformSaveModelSchemaV2ToScene.ts Dashboard: Schema V2 - Fix annotations losing queries (#102951) 2025-04-09 18:51:51 +02:00
transformSaveModelToScene.test.ts Dashboard: Variable controls via simple react component (#103442) 2025-04-04 11:49:04 +02:00
transformSaveModelToScene.ts Dashboards: Add a config setting that limits the number of series that will be displayed in a panel. Users can opt in to render all series. (#103405) 2025-04-11 13:56:58 +02:00
transformSceneToSaveModel.test.ts Plugin Extensions: Clean up the deprecated APIs (#102102) 2025-04-09 10:24:29 +02:00
transformSceneToSaveModel.ts TimePicker: Ability to manually specify quick ranges (#101465) 2025-03-04 10:45:24 +00:00
transformSceneToSaveModelSchemaV2.test.ts Dashboard Schema V2: Export dashboard JSON (#101180) 2025-04-11 13:35:39 -06:00
transformSceneToSaveModelSchemaV2.ts Dashboard -Schema V2 Stateless annotations (dsRef independent) (#102949) 2025-04-11 11:42:48 +02:00
transformToV1TypesUtils.ts Schema V2: Use App SDK generated types (#103100) 2025-04-02 16:22:24 +02:00
transformToV2TypesUtils.test.ts Schema V2: Use App SDK generated types (#103100) 2025-04-02 16:22:24 +02:00
transformToV2TypesUtils.ts Schema V2: Use App SDK generated types (#103100) 2025-04-02 16:22:24 +02:00