react icon indicating copy to clipboard operation
react copied to clipboard

SelectPanel: Update SelectPanel to use modern ActionList

Open broccolinisoup opened this issue 1 year ago • 7 comments

Closes #

Changelog

New

Changed

Removed

Rollout strategy

  • [x] 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

Merge checklist

  • [ ] Added/updated tests
  • [ ] Added/updated documentation
  • [ ] Added/updated previews (Storybook)
  • [ ] Changes are SSR compatible
  • [ ] Tested in Chrome
  • [ ] Tested in Firefox
  • [ ] Tested in Safari
  • [ ] Tested in Edge
  • [ ] (GitHub staff only) Integration tests pass at github/github (Learn more about how to run integration tests)

broccolinisoup avatar Jul 30 '24 04:07 broccolinisoup

🦋 Changeset detected

Latest commit: 0b5720624f1d18d1b11340471e1647d8374a388c

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 Patch

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

changeset-bot[bot] avatar Jul 30 '24 04:07 changeset-bot[bot]

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 96.86 KB (+0.46% 🔺)
packages/react/dist/browser.umd.js 97.18 KB (+0.55% 🔺)

github-actions[bot] avatar Jul 30 '24 05:07 github-actions[bot]

deprecated/ActionList supports renderItem escape hatch. We need to either support renderItem or remove instances of it.

There are probably not too many of them, but editing them is a lot of work that we should not take up right now. We should support renderItem before we can remove it safely :(

siddharthkp avatar Aug 26 '24 12:08 siddharthkp

Next step: Feature flag

Update: Done!

siddharthkp avatar Aug 26 '24 15:08 siddharthkp

  • Preparatory refactor for running snapshot tests with flag on and off https://github.com/primer/react/pull/4886

siddharthkp avatar Aug 27 '24 15:08 siddharthkp

:wave: Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/339537

Update: These tests are passing

primer-integration[bot] avatar Aug 28 '24 14:08 primer-integration[bot]

Next steps:

  • [x] ✅ Run integration tests with flag off
  • [x] ✅ Run integration tests with flag on
  • [x] https://github.com/github/github/pull/339699
  • [ ] Need to remove unrelated visual changes

siddharthkp avatar Aug 28 '24 14:08 siddharthkp

Next steps:

  • [ ] Get PR review
  • [x] (non blocker) Need to debug unrelated visual changes (this PR introduces the tiniest change in contrast that doesn't matter in the long run, but would be nice to pin down)

siddharthkp avatar Aug 30 '24 15:08 siddharthkp

Also wanted to leave a question, would it be possible for this to go in the next release batch? (I think it would be rc.5)

Would help out a ton on my end, the release is starting to get big 😅

joshblack avatar Sep 06 '24 16:09 joshblack

Also wanted to leave a question, would it be possible for this to go in the next release batch? (I think it would be rc.5)

Absolutely! I can wait :)

Update: rc.4 was merged yesterday, can merge this now 🎉

siddharthkp avatar Sep 09 '24 10:09 siddharthkp

So happy to see this is merged!! Thanks @siddharthkp 🥹 💖

broccolinisoup avatar Sep 12 '24 20:09 broccolinisoup