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

Tooltip v1: Remove the caret from the tooltip to make it consistent with the new tooltip, css and rails - Do not merge #4156

Merged
merged 11 commits into from
Mar 4, 2024

Conversation

broccolinisoup
Copy link
Member

@broccolinisoup broccolinisoup commented Jan 17, 2024

Closes #

Updating the existing tooltip to match with the new tooltip styles. We need this because we won't be able to update all tooltips at dotcom to use the new version and we don't want style inconsistencies. We will do the same update on rails and css and coordinate a release together. Working with @langermank on this together.

Changelog

New

Changed

Removed

  • Caret of the tooltip is removed

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Please view the stories https://primer-5fae3091a4-13348165.drafts.github.io/storybook/?path=/story/components-tooltip--default and confirm that the caret is not present and the design matches with the updated styles

Merge checklist

Copy link

changeset-bot bot commented Jan 17, 2024

🦋 Changeset detected

Latest commit: 6a74003

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Minor

Not sure what this means? Click here to learn what changesets are.

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

Copy link
Contributor

github-actions bot commented Jan 17, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 113.43 KB (-0.13% 🔽)
packages/react/dist/browser.umd.js 114.09 KB (-0.14% 🔽)

@broccolinisoup broccolinisoup changed the title Tooltip v1: Remove the caret from the tooltip to make it consistent with the new tooltip, css and rails Tooltip v1: Remove the caret from the tooltip to make it consistent with the new tooltip, css and rails - Do not merge Jan 17, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-4156 January 17, 2024 23:39 Inactive
@langermank
Copy link
Contributor

I think we may have also removed the animations/delay. I can't suggest to remove it because it wasn't edited here 😄

animation CSS code snippet

@broccolinisoup
Copy link
Member Author

broccolinisoup commented Jan 19, 2024

I think we may have also removed the animations/delay. I can't suggest to remove it because it wasn't edited here 😄

Good point! We still have the animation in the v2 but no delay. I vaguely remember that we removed the animation and it was too snappy so we kept it.
I pushed a commit to remove the delay. Let me know if you have concern about keeping the animation as well.

@github-actions github-actions bot temporarily deployed to storybook-preview-4156 February 8, 2024 02:51 Inactive
@broccolinisoup broccolinisoup enabled auto-merge March 3, 2024 23:53
@broccolinisoup broccolinisoup added this pull request to the merge queue Mar 4, 2024
Merged via the queue into main with commit 9bd3a0c Mar 4, 2024
31 checks passed
@broccolinisoup broccolinisoup deleted the tooltip-v1-style-update branch March 4, 2024 00:14
@primer primer bot mentioned this pull request Mar 1, 2024
broccolinisoup added a commit that referenced this pull request Mar 12, 2024
…istent with the new tooltip, css and rails - Do not merge (#4156)"

This reverts commit 9bd3a0c.
github-merge-queue bot pushed a commit that referenced this pull request Mar 12, 2024
…istent with the new tooltip, css and rails - Do not merge (#4156)" (#4378)

This reverts commit 9bd3a0c.
lukasoppermann pushed a commit that referenced this pull request Apr 16, 2024
…ith the new tooltip, css and rails - Do not merge (#4156)

* Tooltip v1: Remove the caret

* update the border radius

* snaps

* test(vrt): update snapshots

* do not delay the animation

* fix up conflict issue snapshot

* Update .changeset/rotten-schools-whisper.md

---------

Co-authored-by: langermank <langermank@users.noreply.github.com>
lukasoppermann pushed a commit that referenced this pull request Apr 16, 2024
…istent with the new tooltip, css and rails - Do not merge (#4156)" (#4378)

This reverts commit 9bd3a0c.
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.

3 participants