Skip to content

Commit

Permalink
Workplace Search remove extraneous tooltip from Recent Activity table (
Browse files Browse the repository at this point in the history
…#111709) (#111758)

* remove extraneous tooltip

remove remove extraneous tooltip from Recent Activity table on the Source Overview page

* remove unused import

* rename trigger name to something more relevant

Co-authored-by: Kuldeep M <[email protected]>
  • Loading branch information
kibanamachine and zombieFox authored Sep 9, 2021
1 parent f4af51a commit 7de2f6d
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
EuiCopy,
EuiButton,
EuiButtonIcon,
EuiToolTip,
EuiSpacer,
EuiCodeBlock,
EuiPopover,
Expand All @@ -30,19 +29,17 @@ export const StatusItem: React.FC<StatusItemProps> = ({ details }) => {
const closePopover = () => setIsPopoverOpen(false);
const formattedDetails = details.join('\n');

const tooltipPopoverTrigger = (
<EuiToolTip position="top" content={STATUS_POPOVER_TOOLTIP}>
<EuiButtonIcon
onClick={onButtonClick}
color="text"
iconType="questionInCircle"
aria-label={STATUS_POPOVER_TOOLTIP}
/>
</EuiToolTip>
const popoverTrigger = (
<EuiButtonIcon
onClick={onButtonClick}
color="text"
iconType="questionInCircle"
aria-label={STATUS_POPOVER_TOOLTIP}
/>
);

const infoPopover = (
<EuiPopover button={tooltipPopoverTrigger} isOpen={isPopoverOpen} closePopover={closePopover}>
<EuiPopover button={popoverTrigger} isOpen={isPopoverOpen} closePopover={closePopover}>
<EuiCodeBlock
language="bash"
fontSize="m"
Expand Down

0 comments on commit 7de2f6d

Please sign in to comment.