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: style TWAP warning banner #5204

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

fairlighteth
Copy link
Contributor

Summary

Screenshot 2024-12-13 at 15 05 14 Screenshot 2024-12-13 at 15 05 08

Copy link

vercel bot commented Dec 13, 2024

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

Name Status Preview Updated (UTC)
cosmos ✅ Ready (Inspect) Visit Preview Dec 16, 2024 1:03pm
cowfi ✅ Ready (Inspect) Visit Preview Dec 16, 2024 1:03pm
explorer-dev ✅ Ready (Inspect) Visit Preview Dec 16, 2024 1:03pm
sdk-tools ✅ Ready (Inspect) Visit Preview Dec 16, 2024 1:03pm
swap-dev ✅ Ready (Inspect) Visit Preview Dec 16, 2024 1:03pm
widget-configurator ✅ Ready (Inspect) Visit Preview Dec 16, 2024 1:03pm

Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

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

Hey @fairlighteth , great!
However, is this OK that we have a bit different text for the fallback handler on 2 related warnings which can be displayed at the same time?
Screenshot_2

Screenshot_1

I'm not sure here, would it be possible to have the same style for the warning icon? At the top, it is displayed from the left. At the bottom, it is center-aligned.

Also, there is a typo in the text, could you please fix it?
image

@fairlighteth
Copy link
Contributor Author

@elena-zh pushed some changes:

  • Fixed typo
  • Changed banner orientation

As for the other item, I'd say out of scope for this particular PR. IMO we need to assess this separately.

Screenshot 2024-12-16 at 12 52 33 Screenshot 2024-12-16 at 12 52 24

Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

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

Thank you!

@shoom3301 shoom3301 merged commit 1dbcf8d into feat/twap-fbh-warning Dec 17, 2024
12 of 13 checks passed
@shoom3301 shoom3301 deleted the feat/twap-fbh-warning-styled branch December 17, 2024 07:12
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants