Skip to content

feat: show sat/vB fee rate inline next to fee amount - #1365

Draft
sneurlax wants to merge 9 commits into
stagingfrom
feat/413-fee-rate-display
Draft

sneurlax wants to merge 9 commits into
stagingfrom
feat/413-fee-rate-display

Conversation

@sneurlax

@sneurlax sneurlax commented May 27, 2026 •

Copy link
Copy Markdown
Member

closes #413

Refresh review (2026-11-10)

Partial supersession note: staging already contains the precise BigInt fee-rate formatter and invalid-size handling. This PR refresh wires the exact raw BigInt fee into the inline amount/rate row, adds locale-aware formatting on send, Namecoin, and Spark confirmation screens, and avoids integer truncation in the added name flows.

Checks: fee formatting/widget tests (6 passed); targeted analysis has no warnings or errors (informational style notices remain).

@codecov

codecov Bot commented May 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 14.50980% with 218 lines in your changes missing coverage. Please review.
✅ Project coverage is 13.93%. Comparing base (9ce80be) to head (8f9403b).
⚠️ Report is 1 commits behind head on staging.

Files with missing lines Patch % Lines
.../namecoin_names/confirm_name_transaction_view.dart 0.00% 146 Missing ⚠️
...ark_names/confirm_spark_name_transaction_view.dart 0.00% 72 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           staging    #1365   +/-   ##
========================================
  Coverage    13.92%   13.93%           
========================================
  Files         1139     1140    +1     
  Lines       114707   114714    +7     
========================================
+ Hits         15976    15984    +8     
+ Misses       98731    98730    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sneurlax

Copy link
Copy Markdown
Member Author

Converting to draft because I have too many open PRs ready--will take another review pass over this before re-readying it

@sneurlax
sneurlax marked this pull request as draft August 20, 2026 18:58
Replaces the separate sats/vByte row on the send confirmation screen with
a wrapping amount + rate line that survives long amounts at large text
scales. The rate is omitted when the virtual size is unknown or non
positive, and uses the same locale decimal separator as the amount it sits
beside.

closes #413
@sneurlax
sneurlax force-pushed the feat/413-fee-rate-display branch from 85fe228 to fbb054f Compare August 24, 2026 21:31
Replaces the separate sats/vByte row on the send confirmation screen with
a wrapping amount + rate line that survives long amounts at large text
scales. The rate is omitted when the virtual size is unknown or non
positive, and uses the same locale decimal separator as the amount it sits
beside.

closes #413
Use FeeAmountWithRate in the namecoin and spark name confirm views in
place of the separate integer sats/vByte rows.
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.

UI Request: Sat/vB visiable next to Fee Amount

1 participant