From 4519d794064fc9d0fce3f9ca567629fd4ef4178d Mon Sep 17 00:00:00 2001 From: Alexa Vargas <239999+axelavargas@users.noreply.github.com> Date: Tue, 10 Jun 2025 19:04:32 +0200 Subject: [PATCH] Dashboard: Schema V2 - Improve warning when saving v1 dashboard to v2 dashboard (#106492) * Dashboard: Improve warning when saving v1 to v2 dashboard * Extract i18n --- .../dashboard-scene/saving/SaveDashboardForm.tsx | 9 +++++---- public/locales/en-US/grafana.json | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/public/app/features/dashboard-scene/saving/SaveDashboardForm.tsx b/public/app/features/dashboard-scene/saving/SaveDashboardForm.tsx index 22d0244f42d..07265643b0c 100644 --- a/public/app/features/dashboard-scene/saving/SaveDashboardForm.tsx +++ b/public/app/features/dashboard-scene/saving/SaveDashboardForm.tsx @@ -161,15 +161,16 @@ export function SaveDashboardForm({ dashboard, drawer, changeInfo }: Props) {

- Because you're using new dashboards features only supported on new Grafana dashboard schema format, the - dashboard will be saved in the new format. Please make sure you want to perform this action or you prefer - to save the dashboard as a new copy. + The dashboard will be saved using the new experimental Grafana dashboard schema. This action can’t be + reverted and could result in the irreversible loss of data. We recommend that you save this dashboard as a + copy instead. If you’re seeing this message in a production environment, contact Support to have the + feature disabled.

diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index afa07901d0c..9bf78c582ea 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -5244,7 +5244,7 @@ }, "save-dashboard-form": { "aria-label-message": "message", - "body-dashboard-drastically-changed": "Because you're using new dashboards features only supported on new Grafana dashboard schema format, the dashboard will be saved in the new format. Please make sure you want to perform this action or you prefer to save the dashboard as a new copy.", + "body-dashboard-drastically-changed": "The dashboard will be saved using the new experimental Grafana dashboard schema. This action can’t be reverted and could result in the irreversible loss of data. We recommend that you save this dashboard as a copy instead. If you’re seeing this message in a production environment, contact Support to have the feature disabled.", "cancel-button": { "cancel": "Cancel" }, @@ -5260,7 +5260,7 @@ }, "schema-v2-library-panels-export": "The dynamic dashboard functionality is experimental, and has not full feature parity with current dashboards behaviour. It is based on a new schema format, that does not support library panels. This means that when exporting the dashboard to use it in another instance, we will not include library panels. We intend to support them as we progress in the feature <2>life cycle.", "schema-v2-library-panels-export-title": "Dashboard Schema V2 does not support exporting library panels to be used in another instance yet", - "title-dashboard-drastically-changed": "Dashboard drastically changed" + "title-dashboard-drastically-changed": "Dashboard irreversibly changed" }, "save-dashboard-form-common-options": { "save-refresh-description-current-refresh-default": "Will make the current refresh the new default",