Skip to content

GUI: Add a use-available-balance action - #1305

Open
Tabakkui wants to merge 1 commit into
RavenProject:developfrom
Tabakkui:fix/issue-1269-available-balance
Open

Tabakkui wants to merge 1 commit into
RavenProject:developfrom
Tabakkui:fix/issue-1269-available-balance

Conversation

@Tabakkui

Copy link
Copy Markdown

Problem

Users must manually copy their available balance into the send amount field.

Approach

  • Add a Use available balance button to each normal send entry.
  • Use the wallet model balance with the existing coin-control selection.
  • Subtract amounts already entered in other visible send entries.
  • Enable fee subtraction so the full spendable balance remains the transaction total.
  • Add Qt wallet-test coverage for the button, amount population, and fee checkbox.

Test plan

  • git diff --check — passed.
  • XML parse of src/qt/forms/sendcoinsentry.ui — passed.
  • Qt test binary/build is not available in the checkout; the Pi was not used for a full Ravencoin build.

Risk and exclusions

Focused GUI/wallet UX change only. No consensus, RPC, network, wallet serialization, or translation-only changes.

Fixes #1269

Add a button to populate a send entry with the wallet's available balance, while subtracting the transaction fee from the recipient amount. Account for other visible send entries and existing coin-control selections.\n\nExtend the Qt wallet test to verify the button populates the amount and enables fee subtraction.\n\nFixes RavenProject#1269
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.

1 participant