Restore dashboards: Update delete modal text (#112148)

* Restore dashboards: Update delete modal text

* Update subheader
This commit is contained in:
Alex Khomenko
2025-10-09 09:20:02 -04:00
committed by GitHub
parent 7ceb4b90f6
commit 66dddb415e
3 changed files with 7 additions and 6 deletions
@@ -220,7 +220,7 @@ export function getNavSubTitle(navId: string | undefined) {
case 'dashboards/recently-deleted':
return t(
'nav.recently-deleted.subtitle',
'Any items listed here for more than 30 days will be automatically deleted.'
'Deleted dashboards are kept for up to 12 months or until the history limit of 1000 dashboards is reached.'
);
case 'alerting':
return t('nav.alerting.subtitle', 'Learn about problems in your systems moments after they occur');
@@ -48,9 +48,10 @@ export const DeleteModal = ({ onConfirm, onDismiss, selectedItems, ...props }: P
<>
<Text element="p">
<Trans i18nKey="browse-dashboards.action.delete-modal-restore-dashboards-text">
This action will delete the selected folders immediately but the selected dashboards will be marked
for deletion in 30 days. Your organization administrator can restore the dashboards anytime before the
30 days expire. Folders cannot be restored.
This action will delete the selected folders immediately. Deleted dashboards will be kept in the
history for up to 12 months and can be restored by your organization administrator during that time.
The history is limited to 1000 dashboards — older ones may be removed sooner if the limit is reached.
Folders cannot be restored.
</Trans>
</Text>
<Space v={2} />
+2 -2
View File
@@ -3504,7 +3504,7 @@
"delete-button": "Delete",
"delete-modal-invalid-text": "One or more folders contain library panels or alert rules. Delete these first in order to proceed.",
"delete-modal-invalid-title": "Cannot delete folder",
"delete-modal-restore-dashboards-text": "This action will delete the selected folders immediately but the selected dashboards will be marked for deletion in 30 days. Your organization administrator can restore the dashboards anytime before the 30 days expire. Folders cannot be restored.",
"delete-modal-restore-dashboards-text": "This action will delete the selected folders immediately. Deleted dashboards will be kept in the history for up to 12 months and can be restored by your organization administrator during that time. The history is limited to 1000 dashboards — older ones may be removed sooner if the limit is reached. Folders cannot be restored.",
"delete-modal-text": "This action will delete the following content:",
"delete-modal-title": "Delete",
"delete-provisioned-folder": "Delete provisioned folder",
@@ -10368,7 +10368,7 @@
"title": "Profiles"
},
"recently-deleted": {
"subtitle": "Any items listed here for more than 30 days will be automatically deleted.",
"subtitle": "Deleted dashboards are kept for up to 12 months or until the history limit of 1000 dashboards is reached.",
"title": "Recently deleted"
},
"recorded-queries": {