Skip to content

Refactor InputTooltip to use new Tooltip component

Warren Gifford requested to merge lrh/refactor-input-tooltip into main

Created by: lrhacker

Removing the InputTooltip (in #38334) is proving to be more problematic than it's worth at the moment. In order to get through our remaining Tooltip migrations, I'll be closing that PR in favor of this one, that simply refactors InputTooltip to use the correct Tooltip component itself.

I also added an ESLint rule to discourage the use of InputTooltip so that we can more easily support removing it in the future. However, the styling of our Input and Checkbox components (in combination with a disabled Tooltip wrapper) does not seem to play nicely with how they are used in the various batch changes pages, and will require a more comprehensive fix that is outside the scope of just the Tooltip migration.

Test plan

Validate that the InputTooltip uses still look and behave as expected.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading