Skip to content

Conversation

broccolinisoup
Copy link
Member

@broccolinisoup broccolinisoup commented Feb 10, 2024

Based on the Tooltip v2 adoption discussion, this PR adds a new entry point as next and export Tooltip from it with an updated documentation. The discussion is still open for feedback for docs consolidation, so please feel free to share any ideas/thoughts/concerns 🙌🏻

Changelog

New

  • next entry point

Changed

  • Renamed the draft/experimental Tooltip in docs and storybook to become Tooltip v2

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

  • Is it clear why there are two version of Tooltips under the components?
  • Is it visible enough that the import path of Tooltip v2 is different than the usual import path?
  • Checking out the Tooltip and Tooltip v2 documentation and storybook and make sure they reflect the right version of the component
  • If possible testing the export would be great. i.e import {Tooltip} from '@primer/react/next' and make sure it imports the component properly.
  • Integration PR (Github stuff only)

Merge checklist

Copy link

changeset-bot bot commented Feb 10, 2024

🦋 Changeset detected

Latest commit: 6a0faea

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

@broccolinisoup broccolinisoup changed the title Add a new entry point as and update draft Tooltip to export it from next Add a new entry point as next and update draft Tooltip to export it from next Feb 10, 2024
Copy link
Contributor

github-actions bot commented Feb 10, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 113.37 KB (-0.01% 🔽)
packages/react/dist/browser.umd.js 114.03 KB (+0.01% 🔺)

Copy link
Member

@siddharthkp siddharthkp left a comment

Choose a reason for hiding this comment

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

🙌 This is coming together!

All the feedback is optional except for the docs preview. "Requested changes", feel free to DM me if I don't look at the notification once you make the changes

Copy link
Member

@joshblack joshblack left a comment

Choose a reason for hiding this comment

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

LGTM for the next entrypoint! 👍 Will defer to @siddharthkp's comments for stories/location 👀

@broccolinisoup broccolinisoup force-pushed the next-entry-point-tooltip branch from 230c3a3 to 2913c16 Compare February 14, 2024 05:22
@github-actions github-actions bot temporarily deployed to storybook-preview-4250 February 14, 2024 05:26 Inactive
@broccolinisoup broccolinisoup added the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Feb 14, 2024
@github-actions github-actions bot removed the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Feb 14, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-4250 February 14, 2024 06:10 Inactive
Copy link
Member

@siddharthkp siddharthkp left a comment

Choose a reason for hiding this comment

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

Docs work now! Ship it :shipit:

@broccolinisoup broccolinisoup added this pull request to the merge queue Feb 18, 2024
Merged via the queue into main with commit f064534 Feb 18, 2024
@broccolinisoup broccolinisoup deleted the next-entry-point-tooltip branch February 18, 2024 23:05
@primer primer bot mentioned this pull request Feb 18, 2024
broccolinisoup added a commit that referenced this pull request Feb 20, 2024
… from next (#4250)

* Add a new entry point as  and update draft Tooltip to export it from next

* fix linting n add changeset

* move the src code out of drafts and update docs

* fix folder path and storyname

* test(vrt): update snapshots

* update tooltip's position to be absolute

* Update docs/content/TooltipV2.mdx

---------

Co-authored-by: broccolinisoup <[email protected]>
@primer primer bot mentioned this pull request Feb 28, 2024
lukasoppermann pushed a commit that referenced this pull request Apr 16, 2024
… from next (#4250)

* Add a new entry point as  and update draft Tooltip to export it from next

* fix linting n add changeset

* move the src code out of drafts and update docs

* fix folder path and storyname

* test(vrt): update snapshots

* update tooltip's position to be absolute

* Update docs/content/TooltipV2.mdx

---------

Co-authored-by: broccolinisoup <[email protected]>
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