mirror of
https://github.com/grafana/grafana.git
synced 2026-02-03 20:49:50 -05:00
* when importing v1 dashboard, use POST * fix es-lint * cleanup * Isolate legacy import api usage * Update translations * Improve type detection * Refactor types and utils to avoid duplication and isolate them in legacy when needed * Use types from manage-dashboard since it is used from other files out of import * Avoid regressions * Fix linting and tests * Improve types * Consilidate api utils checkers * Split ImportOverview in two versions * simplify utils * Fix tests * Rename to ExportFormat * linter * refactor tests * add gap * add gap on ImportForm * Update public/app/core/utils/isRecord.ts Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com> * clean up * fix layout * fix mock * update kind when exporting to be DashboardWithAccessInfo * remove type assertions; don't process built in annotations * update E2Es to use correct dashboard kind * update export test * another e2e * fix v2 dash for e2e * check for "Dashboard" when checking for a resource * update test --------- Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com> Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com> Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com> |
||
|---|---|---|
| .. | ||
| cujs | ||
| AdHocFilterTest.json | ||
| DashboardForConditionalRendering.json | ||
| DashboardLiveTest.json | ||
| DashboardWithAllConditionalRendering.json | ||
| DataLinkWithoutSlugTest.json | ||
| PanelSandboxDashboard.json | ||
| README.md | ||
| TestDashboard.json | ||
| TestV2Dashboard.json | ||
| V2DashWithRepeats.json | ||
| V2DashWithRowRepeats.json | ||
| V2DashWithTabRepeats.json | ||
Dashboards
Adding Dashboard JSONs
When adding dashboard JSON files to this folder that were exported from Grafana:
⚠️ Important: Don't forget to remove the "id" field from the exported JSON before adding it to this folder.
Exported dashboard JSONs contain an id field that should be removed to avoid conflicts when importing the dashboard in tests.