From feb1068b2855dfa3ba5567dc362e0adf875c3218 Mon Sep 17 00:00:00 2001 From: Roberto Jimenez Sanchez Date: Tue, 2 Dec 2025 19:26:52 +0100 Subject: [PATCH] fix(provisioning): update path description and folders info message - Remove repository path interpolation from description (path is shown as prefix) - Change folders warning to info message explaining folders are left behind - Update description text to be clearer --- .../BulkActions/BulkExportProvisionedResource.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/public/app/features/provisioning/components/BulkActions/BulkExportProvisionedResource.tsx b/public/app/features/provisioning/components/BulkActions/BulkExportProvisionedResource.tsx index 82bc2ec9b46..0420ccc01ac 100644 --- a/public/app/features/provisioning/components/BulkActions/BulkExportProvisionedResource.tsx +++ b/public/app/features/provisioning/components/BulkActions/BulkExportProvisionedResource.tsx @@ -216,12 +216,12 @@ function FormContent({ initialValues, selectedItems, workflowOptions, onDismiss )} - {/* Warn if folders are selected */} + {/* Info if folders are selected */} {Object.keys(selectedItems.folder || {}).filter((uid) => selectedItems.folder[uid]).length > 0 && ( - + {t( - 'browse-dashboards.bulk-export-resources-form.folders-warning-description', - 'Only dashboards can be exported. Folders in your selection will be ignored.' + 'browse-dashboards.bulk-export-resources-form.folders-info-description', + 'Folders will be left behind. New folders will be created in the repository based on the dashboard folder structure.' )} )} @@ -256,8 +256,7 @@ function FormContent({ initialValues, selectedItems, workflowOptions, onDismiss label={t('browse-dashboards.bulk-export-resources-form.path', 'Path')} description={t( 'browse-dashboards.bulk-export-resources-form.path-description-with-repo', - 'Resources will be exported under the repository path: {{repoPath}}. You can add a sub-path below.', - { repoPath: repositoryView.path } + 'Add a sub-path below to organize exported dashboards.' )} >