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

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

Merged
merged 10 commits into from
Feb 18, 2024

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

docs/content/Tooltip.mdx Show resolved Hide resolved
docs/content/TooltipV2.mdx Outdated Show resolved Hide resolved
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 👀

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
31 checks passed
@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 <broccolinisoup@users.noreply.github.com>
@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 <broccolinisoup@users.noreply.github.com>
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