Skip to content

Commit

Permalink
[Workspace]Add tooltip in workspace settings top delete button (opens…
Browse files Browse the repository at this point in the history
…earch-project#8213)

* Add tooltip in workspace detail top delete button

Signed-off-by: Lin Wang <[email protected]>

* Changeset file for PR opensearch-project#8213 created/updated

---------

Signed-off-by: Lin Wang <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
wanglam and opensearch-changeset-bot[bot] authored Sep 18, 2024
1 parent 096b568 commit cea39b8
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 @@ -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}
Expand Down

0 comments on commit cea39b8

Please sign in to comment.