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

BREAKING CHANGE(web-react): TooltipModern modern to Tooltip #1394

Merged
merged 2 commits into from
May 14, 2024

Conversation

pavelklibani
Copy link
Contributor

@pavelklibani pavelklibani commented May 2, 2024

Description

  • TooltipModern renamed to Tooltip
  • old Tooltip removed
  • UncontrolledTooltip updated to use new structure with TooltipTrigger and TooltipPopover
  • added missing props and stories to storybook
  • updated tests
  • deleted old e2e visual test for TooltipModern

TODO:

  • Migration guide
  • Codemod

Additional context

If possible demo sync will be solved in different issue:
https://jira.almacareer.tech/browse/DS-1249

Issue reference

Nahradit Tooltip TooltipModern

@pavelklibani pavelklibani self-assigned this May 2, 2024
@github-actions github-actions bot added the BC Breaking change label May 2, 2024
Copy link

netlify bot commented May 2, 2024

Deploy Preview for spirit-design-system ready!

Name Link
🔨 Latest commit a466f05
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system/deploys/6642197ef45a2600082d9cf1
😎 Deploy Preview https://deploy-preview-1394--spirit-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (no change from production)
Accessibility: 93 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@coveralls
Copy link

coveralls commented May 2, 2024

Coverage Status

coverage: 79.967% (-16.4%) from 96.371%
when pulling a466f05 on bc/ds-1191-tooltip
into 80cae41 on integration/release-v2.

@pavelklibani pavelklibani added the run-visual-tests Runs visual regression testing on this PR label May 2, 2024
@pavelklibani pavelklibani force-pushed the bc/ds-1191-tooltip branch from f9c588a to 2fcdeaa Compare May 2, 2024 15:50
@pavelklibani pavelklibani marked this pull request as ready for review May 3, 2024 09:57
@pavelklibani pavelklibani force-pushed the bc/ds-1191-tooltip branch from 2fcdeaa to 640eac0 Compare May 7, 2024 14:05
@curdaj curdaj force-pushed the integration/release-v2 branch from 6212b9d to 6bafe41 Compare May 9, 2024 09:31
@literat
Copy link
Collaborator

literat commented May 9, 2024

Needs to be rebased.

@pavelklibani pavelklibani force-pushed the bc/ds-1191-tooltip branch from a276d09 to 11489da Compare May 9, 2024 10:34
@pavelklibani
Copy link
Contributor Author

rebase done

@pavelklibani pavelklibani force-pushed the bc/ds-1191-tooltip branch 2 times, most recently from 2da0343 to 5a87e4d Compare May 13, 2024 07:55
Copy link
Member

@crishpeen crishpeen left a comment

Choose a reason for hiding this comment

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

LGTM, the only thing I would add is to prevent outside click close when the tooltip is dismissable, but we can do it in a separate issue. Can you create it, please?

@pavelklibani
Copy link
Contributor Author

LGTM, the only thing I would add is to prevent outside click close when the tooltip is dismissable, but we can do it in a separate issue. Can you create it, please?

Yes i will create this issue

- Changed css value of isDismissible class to
prevent width jumps on mouse hovering
@pavelklibani pavelklibani merged commit aefa9f7 into integration/release-v2 May 14, 2024
13 checks passed
@pavelklibani pavelklibani deleted the bc/ds-1191-tooltip branch May 14, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC Breaking change run-visual-tests Runs visual regression testing on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants