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

Expand toasts by default #934

Merged
merged 1 commit into from
Apr 13, 2024
Merged

Conversation

jessepinho
Copy link
Contributor

Instead of using Sonner's default UI, which hides old toasts behind new ones, this PR expands all toasts by default. That way, when doing a swap + swap claim, you can clearly see both notifications:

image

I actually think this is a better UI choice anyway. There isn't really a compelling need to hide old toasts behind new ones.

Closes #830

@jessepinho jessepinho marked this pull request as ready for review April 13, 2024 02:55
Copy link
Contributor

@TalDerei TalDerei left a comment

Choose a reason for hiding this comment

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

Looks great!

@jessepinho jessepinho merged commit 91de71d into main Apr 13, 2024
6 checks passed
@jessepinho jessepinho deleted the jessepinho/expand-toasts-web-830 branch April 13, 2024 16:11
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.

Swap Claim UX Improvements
2 participants