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

export FilteredActionList #4816

Merged
merged 5 commits into from
Aug 8, 2024
Merged

export FilteredActionList #4816

merged 5 commits into from
Aug 8, 2024

Conversation

siddharthkp
Copy link
Member

@siddharthkp siddharthkp commented Aug 6, 2024

Closes #4840

Changelog

While work on SelectPanel is on-going, there is a gap between the design of SelectPanel and the implementation in PRC.

In order to fill the gap with a temporary solution, developers can opt to build a custom implementation. Exporting FilteredActionList, which lies under SelectPanel, would help.

More context on Slack: https://github.slack.com/archives/CSGAVNZ19/p1722543563922769?thread_ts=1722472095.221459&cid=CSGAVNZ19

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

Merge checklist

Copy link

changeset-bot bot commented Aug 6, 2024

🦋 Changeset detected

Latest commit: 839501c

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

@siddharthkp siddharthkp self-assigned this Aug 6, 2024
@github-actions github-actions bot added the staff Author is a staff member label Aug 6, 2024
Copy link
Contributor

github-actions bot commented Aug 6, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 96 KB (0%)
packages/react/dist/browser.umd.js 96.31 KB (0%)

@@ -206,3 +206,6 @@ export type {PageHeaderProps} from './PageHeader'
export {SSRProvider, useSSRSafeId} from './utils/ssr'
export {default as sx, merge} from './sx'
export type {SxProp} from './sx'

export {FilteredActionList} from './FilteredActionList'
export type {FilteredActionListProps} from './FilteredActionList'
Copy link
Member Author

Choose a reason for hiding this comment

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

Question for reviewer:

Should we export this from experimental instead? It isn't really experimental because it's been what powers SelectPanel from the start.

But if we want to treat this as a temporary solution, then it feels okay

Copy link
Member

Choose a reason for hiding this comment

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

I'm down with experimental if it means we won't have to go through a deprecated flow 😂 But if we still have to go through that, then stable is fine 👍

(Separate from this PR) this could be a good example for spots where an unstable_* convention could help out without having to couple things to entry points

Copy link
Member

Choose a reason for hiding this comment

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

My only comment is that it would be great to treat it as an experimental/unstable component so that we don't have to worry about semver in case if we need to make any changes for the SelectPanel remediation.

Copy link
Member Author

@siddharthkp siddharthkp Aug 8, 2024

Choose a reason for hiding this comment

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

Valid, moved it to experimental

@siddharthkp siddharthkp marked this pull request as ready for review August 6, 2024 10:37
@siddharthkp siddharthkp requested a review from a team as a code owner August 6, 2024 10:37
Copy link
Member

@broccolinisoup broccolinisoup left a comment

Choose a reason for hiding this comment

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

Left a comment! Let me know your thoughts!

@siddharthkp siddharthkp added this pull request to the merge queue Aug 8, 2024
Merged via the queue into main with commit f9bc73c Aug 8, 2024
30 checks passed
@siddharthkp siddharthkp deleted the export-filtered-actionlist branch August 8, 2024 20:23
@primer primer bot mentioned this pull request Aug 8, 2024
@primer primer bot mentioned this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staff Author is a staff member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need access to FilteredActionList to create a stopgap modal SelectPanel
3 participants