[Dashboard] Revert feature toggle trimdefaults (#34888)
* Revert "solve comments and retrigger the test" This reverts commitf08d2d9eca. * Revert "update api doc" This reverts commitcc09ceb853. * Revert "remove post trim" This reverts commit46fe8ed596. * Revert "fix typo" This reverts commit3b3ceee16e. * Revert "Apply suggestions from code review" This reverts commit3b7f3b8e15. * Revert "update comments" This reverts commitb9c6260876. * Revert "update doc" This reverts commit8e4c4d7c93. * Revert "remove feature toggle + add libraryPaneldefinition" This reverts commitd01cfcc2ed. * fix some typos * Update public/app/features/dashboard/components/ShareModal/ShareExport.tsx Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com> * Update docs/sources/dashboards/export-import.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * fix comments Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
This commit is contained in:
co-authored by
Marcus Efraimsson
achatterjee-grafana
parent
f16b2c40c1
commit
b391e43472
@@ -15,7 +15,7 @@ Dashboards are exported in Grafana JSON format, and contain everything you need
|
||||
|
||||
The export feature is accessed in the share window which you open by clicking the share button in the dashboard menu.
|
||||
|
||||
{{< figure src="/static/img/docs/export/export-modal-8-0.png" max-width="800px" >}}
|
||||
{{< figure src="/static/img/docs/export/export-modal.png" max-width="800px" >}}
|
||||
|
||||
### Making a dashboard portable
|
||||
|
||||
@@ -25,13 +25,7 @@ add template variables for things like a metric prefix (use constant variable) a
|
||||
A template variable of the type `Constant` will automatically be hidden in
|
||||
the dashboard, and will also be added as a required input when the dashboard is imported.
|
||||
|
||||
### Export dashboard without default values
|
||||
|
||||
To export a dashboard without the default values in order to reduce the exported JSON file size, check the toggle **Export with default values removed** option.
|
||||
|
||||
During import, the removed default values are automatically added back to the dashboard.
|
||||
|
||||
## Import a dashboard
|
||||
## Import dashboard
|
||||
|
||||
To import a dashboard click the + icon in the side menu, and then click **Import**.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user