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

fix: do not disable submit button on warnings on Send page #498

Merged
merged 5 commits into from
Sep 16, 2022

Conversation

theborakompanioni
Copy link
Collaborator

@theborakompanioni theborakompanioni commented Sep 16, 2022

Before this PR, the submit button on the Send page has been disabled, if the requirements for collaborative transactions were not met.
After this PR, the warnings are still displayed, but the button is enabled and a payment can be attempted.

Why this change? The functionality has been disabled, as single collaborative transactions have no retry mechanism in place (unlike the scheduled sweep) and users had no real hint on how to recover, in case a transaction gets "stuck". With #497 resolved, users can now abort/cancel single collaborative transactions, hence the button can safely be enabled.

However, if preconditions are not fulfilled, the transaction will likely either get "stuck" (e.g. when a utxo with <5 confs is used) or will be aborted by the server (20% rule, no retries left) - there is no good way of communicating this to the user other than the current warnings.

Additional Change:

Question: The warning texts have not been changed. Do you think they should be adapted and need rephrasing?

@theborakompanioni theborakompanioni added the concept Wild idea, or too many details unknown yet label Sep 16, 2022
@theborakompanioni theborakompanioni self-assigned this Sep 16, 2022
@theborakompanioni theborakompanioni marked this pull request as ready for review September 16, 2022 09:30
@dergigi dergigi added the UI/UX Issue related to cosmetics, design, or user experience label Sep 16, 2022
@dergigi
Copy link
Contributor

dergigi commented Sep 16, 2022

Made a small adjustment to be more explicit in the button text:

Screenshot 2022-09-16 at 13 58 25

Copy link
Contributor

@dergigi dergigi 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, tACK ✅

@dergigi dergigi merged commit 5dd6ce6 into master Sep 16, 2022
@dergigi dergigi deleted the enable-send-on-warnings branch September 16, 2022 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concept Wild idea, or too many details unknown yet UI/UX Issue related to cosmetics, design, or user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants