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): update default delay #2965

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

chore(Tooltip): update default delay #2965

wants to merge 4 commits into from

Conversation

cf-remylenoir
Copy link
Collaborator

Purpose of PR

Increases the delay to show the tooltip to prevent accidental triggers.

PR Checklist

  • I have read the relevant readme.md file(s)
  • All commits follow our Git commit message convention
  • Tests are added/updated/not required
  • Tests are passing
  • Storybook stories are added/updated/not required
  • Usage notes are added/updated/not required
  • Has been tested based on Contentful's browser support
  • Doesn't contain any sensitive information

@cf-remylenoir cf-remylenoir self-assigned this Dec 18, 2024
Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
forma-36 ✅ Ready (Inspect) Visit Preview Dec 18, 2024 2:16pm

@cf-remylenoir cf-remylenoir marked this pull request as ready for review December 18, 2024 13:14
@cf-remylenoir cf-remylenoir requested review from damann and a team as code owners December 18, 2024 13:14
Copy link

github-actions bot commented Dec 18, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
CommonJS 112.16 KB (-0.04% 🔽) 2.3 s (-0.04% 🔽) 1.4 s (+1.67% 🔺) 3.7 s
Module 110.74 KB (-0.13% 🔽) 2.3 s (-0.13% 🔽) 1.8 s (+1.4% 🔺) 4 s

Copy link

changeset-bot bot commented Dec 18, 2024

⚠️ No Changeset found

Latest commit: 181c098

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -26,21 +26,27 @@ describe('Avatar', () => {
it('renders an icon when it is provided', () => {
const src = 'https://example.com/image.jpg';
render(<Avatar src={src} icon={<CheckCircleIcon variant="positive" />} />);

expect(screen.queryByTestId('cf-ui-avatar-icon')).toBeInTheDocument();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This test had no assertion so I added the data-test-id attribute to the icon in the Avatar component.

@cf-remylenoir cf-remylenoir changed the title chore: update tooltip default delay chore(Tooltip): update tooltip default delay Dec 18, 2024
@cf-remylenoir cf-remylenoir changed the title chore(Tooltip): update tooltip default delay chore(Tooltip): update default delay Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant