Skip to content

Conversation

@0xPearce
Copy link
Collaborator

@0xPearce 0xPearce commented Dec 4, 2025

The goal of this pull request is to make warnings, errors, and alerts consistent across the DEX pools. What I did was split the old messages into a banner and a form alert message.

  • The banner is for information regarding the whole pool.
  • The form alert message (depending on where it was located) is related to some user action, e.g. “Deposit disabled”, “Withdraw only”, etc.

I didn’t refactor the form alert message, so it can look a bit odd between the new banner style and the old form alert message, but this can be done in another PR.

I also tried to migrate to MUI as much as possible. I tried using the Typography component, but it was too inconsistent with the current design.

Screenshot 2025-12-16 at 16 54 52 Screenshot 2025-12-16 at 12 37 20

@vercel
Copy link

vercel bot commented Dec 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
curve-dapp Ready Ready Preview, Comment Dec 16, 2025 5:00pm
curve-dapp-storybook Ready Ready Preview, Comment Dec 16, 2025 5:00pm

@0xPearce 0xPearce marked this pull request as ready for review December 16, 2025 13:08
Copy link
Collaborator

@DanielSchiavini DanielSchiavini left a comment

Choose a reason for hiding this comment

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

Looks good to me, comments are nitpick

@0xPearce 0xPearce merged commit 3107b6f into main Dec 17, 2025
16 checks passed
@0xPearce 0xPearce deleted the pool-alert-banner branch December 17, 2025 14:34
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.

4 participants