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

Need access to FilteredActionList to create a stopgap modal SelectPanel #4840

Closed
just-joshing opened this issue Aug 12, 2024 · 0 comments · Fixed by #4816
Closed

Need access to FilteredActionList to create a stopgap modal SelectPanel #4840

just-joshing opened this issue Aug 12, 2024 · 0 comments · Fixed by #4816
Labels

Comments

@just-joshing
Copy link

Slack context

I am attempting to implement a design that involves a 2-step modal dialog with a list that can be filtered.

This is very close in design to SelectPanel "v2", however there are some limitations with the v2 component, and after chatting with the Primer team I've since learned the v2 design is being abandoned in favor of making the "v1" SelectPanel accessible (since apparently folks preferred the v1 usage pattern).

The "v1" SelectPanel does not support a modal version (and I'm uncertain whether it would allow me to create the 2-step process I need from the design that I was able to "hack together" using the "v2" component.

To that end, I would like to create my own custom Dialog using the same filterable list used in SelectPanel. After talking with the Primer team this was revealed to be FilteredActionList. Exposing this component will allow me to create a modal dialog satisfying my design requirements until SelectPanel "v1" has reached a level of maturity that would support my use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant