diff --git a/changelogs/fragments/8213.yml b/changelogs/fragments/8213.yml new file mode 100644 index 000000000000..c54c3b1665ec --- /dev/null +++ b/changelogs/fragments/8213.yml @@ -0,0 +1,2 @@ +feat: +- [Workspace]Add tooltip in workspace settings top delete button ([#8213](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8213)) \ No newline at end of file diff --git a/src/plugins/workspace/public/components/workspace_detail/workspace_detail.tsx b/src/plugins/workspace/public/components/workspace_detail/workspace_detail.tsx index e819b96cf28d..1506d16504b5 100644 --- a/src/plugins/workspace/public/components/workspace_detail/workspace_detail.tsx +++ b/src/plugins/workspace/public/components/workspace_detail/workspace_detail.tsx @@ -218,11 +218,14 @@ export const WorkspaceDetail = (props: WorkspaceDetailProps) => { color: 'danger', iconType: 'trash', ariaLabel: i18n.translate('workspace.detail.delete.button', { - defaultMessage: 'Delete', + defaultMessage: 'Delete workspace', }), testId: 'workspace-detail-delete-button', controlType: 'icon', display: 'base', + tooltip: i18n.translate('workspace.detail.delete.button.tooltip', { + defaultMessage: 'Delete workspace', + }), } as TopNavControlIconData, ]} setMountPoint={application.setAppRightControls}