Fleet UI: Some of many tooltip updates to react-tooltip 5.x#42830
Fleet UI: Some of many tooltip updates to react-tooltip 5.x#42830RachelElysia merged 7 commits intomainfrom
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
| import React from "react"; | ||
| import { uniqueId } from "lodash"; | ||
| import ReactTooltip from "react-tooltip"; | ||
| import { PlacesType } from "react-tooltip-5"; |
| !isExistingPolicy || isAnyPlatformSelected | ||
| } | ||
| > | ||
| <TooltipWrapper |
| data-tip-disable={disableForm} | ||
| className="autofill-tooltip-wrapper" | ||
| > | ||
| <TooltipWrapper |
| // definitions for the selection row for some reason when we dont really need it. | ||
| import React from "react"; | ||
| import { CellProps, Column } from "react-table"; | ||
| import ReactTooltip from "react-tooltip"; |
| data-for="live-query-button" | ||
| // Tooltip shows when live queries are globally disabled | ||
| data-tip-disable={!isLiveQueryDisabled} | ||
| <TooltipWrapper |
| data-tip | ||
| data-for={tooltipId} | ||
| > | ||
| <TooltipWrapper |
|
|
||
| import Icon from "components/Icon"; | ||
| import { COLORS } from "styles/var/colors"; | ||
| import TooltipWrapper from "components/TooltipWrapper"; |
|
|
||
| import ReactTooltip from "react-tooltip"; | ||
| import { COLORS } from "styles/var/colors"; | ||
| import TooltipWrapper from "components/TooltipWrapper"; |
There was a problem hiding this comment.
Updated so the undetermined tooltips are 8px above the text, but the pills which have the dark ovals around them have tooltips that are 12 px above the text
| @@ -1,53 +1,51 @@ | |||
| import React from "react"; | |||
| import { PlacesType } from "react-tooltip-5"; | |||
| import React from "react"; | ||
| import ReactTooltip from "react-tooltip"; | ||
| import { COLORS } from "styles/var/colors"; | ||
| import TooltipWrapper from "components/TooltipWrapper"; |
| backgroundColor={COLORS["tooltip-bg"]} | ||
| id="search-tooltip" | ||
| data-html | ||
| <TooltipWrapper |
|
|
||
| import Spinner from "components/Spinner"; | ||
| import { COLORS } from "styles/var/colors"; | ||
| import TooltipWrapper from "components/TooltipWrapper"; |
| id={tooltipId} | ||
| data-html | ||
| > | ||
| <TooltipWrapper |
| import { DEFAULT_EMPTY_CELL_VALUE } from "utilities/constants"; | ||
| import Icon from "components/Icon"; | ||
| import NotSupported from "components/NotSupported"; | ||
| import TooltipWrapper from "components/TooltipWrapper"; |
| import ReactTooltip from "react-tooltip"; | ||
| import { COLORS } from "styles/var/colors"; | ||
| import Icon from "components/Icon"; | ||
| import TooltipWrapper from "components/TooltipWrapper"; |
There was a problem hiding this comment.
this is no longer rendered in the UI as of 4.84 with the new ReportCard's card UI -- I don't know why the dev didn't remove this when updating the UI, so I'm going to keep it with an update.
| > | ||
| {displayConfig.displayText} | ||
| </Button> | ||
| <TooltipWrapper |
| </span> | ||
| <br /> | ||
| <span | ||
| <TooltipWrapper |
| import TextCell from "components/TableContainer/DataTable/TextCell"; | ||
| import { uniqueId } from "lodash"; | ||
| import ReactTooltip from "react-tooltip"; | ||
| import TooltipWrapper from "components/TooltipWrapper"; |
There was a problem hiding this comment.
Couldn't test this since I couldn't get VPP in my dev environment
Please test manually <3
There was a problem hiding this comment.
@cdcme - I was able to test this once I got unblocked attaching my VPP token (apparently I didn't know how to read a secondary nested menu as a menu)
- tested
e90d04f to
9c87a34
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #42830 +/- ##
=======================================
Coverage 66.80% 66.80%
=======================================
Files 2537 2540 +3
Lines 203683 203707 +24
Branches 9254 9265 +11
=======================================
+ Hits 136062 136085 +23
- Misses 55297 55299 +2
+ Partials 12324 12323 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|


















Issue
Closes #38179
Description
Testing