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

Coin control prerequisite: "send max" switch #6152

Merged
merged 2 commits into from
Aug 31, 2022
Merged

Conversation

komret
Copy link
Contributor

@komret komret commented Aug 30, 2022

Replaces the "send max" button with a switch.

Description

We want to communicate that setting max amount is a state rather than an action - the user can add or remove UTXOs after checking the switch and the amount in the input field always adjusts to be the maximum amount composed from available/selected UTXOs.

There is also a minor improvement in the Switch component - when given an id, it can be controlled by clicking on its label.

Related Issue

#2770

Screenshots (if appropriate):

Screenshot 2022-08-30 at 12 47 48

QA: Please see above. There are no changes to the behaviour from the previous version with the button.

@komret komret added send Send page bitcoin Bitcoin related labels Aug 30, 2022
@komret komret linked an issue Aug 30, 2022 that may be closed by this pull request
@matejkriz matejkriz self-assigned this Aug 30, 2022
@matejkriz
Copy link
Member

except missing animation during switch transition it works nice for me 👍

@matejkriz matejkriz merged commit 759fd4a into develop Aug 31, 2022
@matejkriz matejkriz deleted the feat/send-max-switch branch August 31, 2022 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bitcoin Bitcoin related send Send page
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Coin control 🎯
2 participants