-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix: bail validation and refactor create button labels #500
Conversation
dni
commented
Mar 11, 2024
- button label is now way easier to work with
- validation only happens if there is a amount set at all
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no tests
closes #443 |
closes #353 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#443 seems to be fixed, couldn't get web app to resolve my lightning address with invalid/empty amounts
#353 for empty amounts the "Please provide a valid LN invoice, LNAddress or LNURL" should be shown too if I enter sth invalid:
Same for Normal Swaps with empty amounts, it should show "Invalid BTC address"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7fccda7
to
f976865
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- button label is now way easier to work with - validation only happens if there is a amount set at all invalid invoice label add invalid address label check fixup issue with webln on 0 amount remove sat amount from placeholder prettier