doctocat icon indicating copy to clipboard operation
doctocat copied to clipboard

Import `NavList` from main bundle

Open broccolinisoup opened this issue 2 years ago • 9 comments

We are removing NavList from the drafts bundle in the next major release in this PR and because we are removing it, CI fails on the PR. (https://github.com/primer/react/actions/runs/5582895864/jobs/10202654279?pr=3260)

I update the path to import it from the main bundle.

broccolinisoup avatar Jul 18 '23 04:07 broccolinisoup

⚠️ No Changeset found

Latest commit: 6fc65c7129b1253a8056ee0287c39650c6a60ea1

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

changeset-bot[bot] avatar Jul 18 '23 04:07 changeset-bot[bot]

@broccolinisoup - it looks like Doctocat is on a really old version of @primer/react. NavList should be available in the main bundle once we update 🙂

mperrotti avatar Jul 18 '23 23:07 mperrotti

@mperrotti @joshblack Sorry, this is my ignorance 😬 I didn't even think of checking back - I just assumed that will work. Let me try upgrading primer/react - I know @josepmartins had some issues with upgrading to the latest so it might not be very straightforward

broccolinisoup avatar Jul 18 '23 23:07 broccolinisoup

I know @josepmartins had some issues with upgrading to the latest so it might not be very straightforward

I've tried on this PR https://github.com/primer/doctocat/pull/601 to use the latest Underlinenav component, but I finally gave up and used the deprecated one. Couldn't build locally or pass the build actions :(

josepmartins avatar Jul 19 '23 07:07 josepmartins

@josepmartins - the deprecated one is going away when we release v36 later this quarter 🙁

Let me know if you want to pair on the upgrade. I suspect it has something to do with mismatched versions of React.

mperrotti avatar Jul 19 '23 14:07 mperrotti

Should we add a "blocked" label to this? We're blocked until we can upgrade Gatsby and React.

cc @josepmartins @broccolinisoup

mperrotti avatar Jul 26 '23 23:07 mperrotti

@mperrotti That sounds good to me! I added the label! Although this PR is blocked itself but it is not blocking v36 PR I mentioned in the description anymore - we will keep the NavList in the draft bundle until we figure this out.

broccolinisoup avatar Jul 27 '23 01:07 broccolinisoup

Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days.

github-actions[bot] avatar Nov 03 '23 11:11 github-actions[bot]

Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days.

github-actions[bot] avatar Jan 05 '24 01:01 github-actions[bot]

Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days.

github-actions[bot] avatar May 05 '24 20:05 github-actions[bot]