Skip to content

Commit

Permalink
[Workspace]Add tooltip in workspace settings top delete button (#8213)
Browse files Browse the repository at this point in the history
* Add tooltip in workspace detail top delete button

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Changeset file for PR #8213 created/updated

---------

Signed-off-by: Lin Wang <wonglam@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit cea39b8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent a3e4e9a commit f1307e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/8213.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace]Add tooltip in workspace settings top delete button ([#8213](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8213))
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,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}
Expand Down

0 comments on commit f1307e9

Please sign in to comment.