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: Toast component with Sonner #1559

Merged
merged 3 commits into from
Nov 25, 2024
Merged

feat: Toast component with Sonner #1559

merged 3 commits into from
Nov 25, 2024

Conversation

BrickheadJohnny
Copy link
Collaborator

I wasn't sure if we should define custom styles for the toast icon (fixed size, for example), let me know what's your opinion on that!

@BrickheadJohnny BrickheadJohnny added the feature New feature or request label Nov 25, 2024
@BrickheadJohnny BrickheadJohnny self-assigned this Nov 25, 2024
Copy link

vercel bot commented Nov 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
guild-xyz ❌ Failed (Inspect) Nov 25, 2024 2:32pm

Copy link
Contributor

@dominik-stumpf dominik-stumpf left a comment

Choose a reason for hiding this comment

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

Great job overall, I have 2 details that might need to be addressed.

  • On keyboard navigation the toast doesn't indicate that it is in focus (similar how we did with modals earlier) a ring with focus-visible should do the trick.
  • Nit: the close button on the top left corner overflows, aesthetically a button would do better I think on the right, where the action is.

@BrickheadJohnny BrickheadJohnny merged commit 08168c2 into v3-main Nov 25, 2024
3 of 4 checks passed
@BrickheadJohnny BrickheadJohnny deleted the toast-component branch November 25, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants