Skip to content

Commit

Permalink
chore(compass-indexes): remove the icon and tooltip from the rolling …
Browse files Browse the repository at this point in the history
…index status badge (#6342)

remove the icon and tooltip from the rolling index status badge
  • Loading branch information
lerouxb authored Oct 9, 2024
1 parent ec0a160 commit ea9f668
Showing 1 changed file with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
Badge,
BadgeVariant,
useDarkMode,
Icon,
} from '@mongodb-js/compass-components';
import type { InProgressIndex } from '../../modules/regular-indexes';

Expand Down Expand Up @@ -64,21 +63,13 @@ const StatusField: React.FunctionComponent<StatusFieldProps> = ({
)}

{status === 'building' && (
<Tooltip
enabled={true}
trigger={
<Badge
data-testid="index-building"
variant={BadgeVariant.Blue}
className={iconBadgeStyles}
>
Building
<Icon glyph="InfoWithCircle" />
</Badge>
}
<Badge
data-testid="index-building"
variant={BadgeVariant.Blue}
className={iconBadgeStyles}
>
<Body>This index is being built in a rolling process</Body>
</Tooltip>
Building
</Badge>
)}

{status === 'inprogress' && (
Expand Down

0 comments on commit ea9f668

Please sign in to comment.