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

feat(ui): #1714: finish the AssetSelector UI component #1771

Merged
merged 14 commits into from
Sep 12, 2024

Conversation

VanishMax
Copy link
Contributor

@VanishMax VanishMax commented Sep 5, 2024

Closes #1714

Closes #1731

The result: https://penumbra-ui-preview--pr1771-1714-finish-the-asse-0se4tga0.web.app/?path=/docs/ui-library-assetselector--docs

Implements the <AssetSelector/>, <AssetSelector.Custom/>, and <AssetSelector.ListItem/> components. The idea of separating the Custom from the default component is that, as a UI library, we want to give the users some level of control over the filtering, sorting and grouping logic in this component. The default version is also needed for the future implementation of #1773 and #1774, so it stays as simple as possible.

image

@VanishMax VanishMax self-assigned this Sep 5, 2024
@VanishMax VanishMax linked an issue Sep 5, 2024 that may be closed by this pull request
Copy link

changeset-bot bot commented Sep 5, 2024

🦋 Changeset detected

Latest commit: 15b9b54

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@penumbra-zone/ui Minor
minifront Patch
node-status Patch
@repo/tailwind-config 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

Copy link
Contributor

github-actions bot commented Sep 5, 2024

Visit the preview URL for this PR (updated for commit 15b9b54):

https://penumbra-ui-preview--pr1771-1714-finish-the-asse-0se4tga0.web.app

(expires Thu, 19 Sep 2024 10:08:49 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 709d729610ef7a6369b23f1cb2b820a60cc685b1

@VanishMax VanishMax marked this pull request as ready for review September 9, 2024 09:59
@VanishMax VanishMax requested review from vacekj and a team September 9, 2024 09:59
Copy link
Collaborator

@grod220 grod220 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@grod220 grod220 Sep 12, 2024

Choose a reason for hiding this comment

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

thoughts: I personally find the popup animation with the distortion a bit wonky. However, may be worth a discussion later with Sam about preferred animation strategies.

Screenshot 2024-09-12 at 12 01 44 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree. We should revise the animations and standardize them later

@VanishMax VanishMax merged commit b1d4b7d into main Sep 12, 2024
8 checks passed
@VanishMax VanishMax deleted the 1714-finish-the-assetselector-ui-component branch September 12, 2024 10:16
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.

Uiv2 ListItem Finish the <AssetSelector/> UI component
3 participants