From 5353b4df61235b2b9e7c9d16e3a4838783455775 Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Fri, 6 Jan 2023 20:26:05 +0200 Subject: [PATCH] feat: add entity context menu tooltip closes #15609 Signed-off-by: Heikki Hellgren --- .changeset/silver-papayas-cough.md | 5 ++++ .../EntityContextMenu/EntityContextMenu.tsx | 29 ++++++++++--------- 2 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 .changeset/silver-papayas-cough.md diff --git a/.changeset/silver-papayas-cough.md b/.changeset/silver-papayas-cough.md new file mode 100644 index 0000000000..40d6898ebe --- /dev/null +++ b/.changeset/silver-papayas-cough.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog': patch +--- + +There is now tooltip in the entity context menu diff --git a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx index f7a329c7be..d22f9bde10 100644 --- a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx +++ b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx @@ -22,6 +22,7 @@ import { MenuItem, MenuList, Popover, + Tooltip, } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; import BugReportIcon from '@material-ui/icons/BugReport'; @@ -114,19 +115,21 @@ export function EntityContextMenu(props: EntityContextMenuProps) { return ( <> - - - + + + + +