Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Tooltip): Upgrade Tooltip to Ant Design 5 #31182

Merged

Conversation

alexandrusoare
Copy link
Contributor

@alexandrusoare alexandrusoare commented Nov 27, 2024

Fixes #31020

SUMMARY

Upgraded the Tooltip component from Ant4 to Antdv5

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before
image

After
image

Before
image

After
image

Before
image

After
image

Before
image

After
image

Before
image

After
image

Before
image

After
image

Before
image

After
image

Before
image

After
image

Before
image

After
image

Before
image

After
image

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@geido geido changed the title Alexandrusoare/refactor/antd5 tooltip chore(Tooltip): Upgrade Tooltip to Ant Design 5 Nov 27, 2024
@sadpandajoe sadpandajoe added review:checkpoint Last PR reviewed during the daily review standup review:draft labels Nov 27, 2024
@alexandrusoare alexandrusoare marked this pull request as ready for review November 28, 2024 15:08
@dosubot dosubot bot added change:frontend Requires changing the frontend frontend:refactor:antd5 labels Nov 28, 2024
@geido
Copy link
Member

geido commented Nov 29, 2024

Thanks for the PR. I just submitted a small commit to clean up a few things

@geido geido added the preset:bounty Issues that have been selected by Preset and have a bounty attached. label Nov 29, 2024
@geido geido force-pushed the alexandrusoare/refactor/antd5-tooltip branch from 058b6c1 to 19f6510 Compare November 29, 2024 14:21
const theme = useTheme();
const defaultColor = `${theme.colors.grayscale.dark2}e6`;
return (
<>
{/* Safari hack to hide browser default tooltips */}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that this hack isn't working anymore anyways

@geido geido force-pushed the alexandrusoare/refactor/antd5-tooltip branch from 19f6510 to d31f271 Compare November 29, 2024 14:37
@geido geido merged commit 3d3c09d into apache:master Nov 30, 2024
34 checks passed
@michael-s-molina michael-s-molina removed the review:checkpoint Last PR reviewed during the daily review standup label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:frontend Requires changing the frontend frontend:refactor:antd5 packages plugins preset:bounty Issues that have been selected by Preset and have a bounty attached. review:draft size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ant Design 5: Upgrade Tooltip component
4 participants