Skip to content

auto-label UTXOs from transaction notes - #1356

Draft
sneurlax wants to merge 3 commits into
stagingfrom
feat/411-auto-label-utxos
Draft

auto-label UTXOs from transaction notes#1356
sneurlax wants to merge 3 commits into
stagingfrom
feat/411-auto-label-utxos

Conversation

@sneurlax

Copy link
Copy Markdown
Member

closes #411

@codecov

codecov Bot commented May 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 189 lines in your changes missing coverage. Please review.
✅ Project coverage is 4.83%. Comparing base (8208fe7) to head (9045c47).
⚠️ Report is 19 commits behind head on staging.

Files with missing lines Patch % Lines
.../namecoin_names/confirm_name_transaction_view.dart 0.00% 113 Missing ⚠️
.../wallet_view/transaction_views/edit_note_view.dart 0.00% 48 Missing ⚠️
lib/db/isar/main_db.dart 0.00% 16 Missing ⚠️
...b/pages/exchange_view/confirm_change_now_send.dart 0.00% 4 Missing ⚠️
lib/pages/send_view/confirm_transaction_view.dart 0.00% 4 Missing ⚠️
...ark_names/confirm_spark_name_transaction_view.dart 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #1356      +/-   ##
===========================================
- Coverage     4.84%    4.83%   -0.01%     
===========================================
  Files         1092     1092              
  Lines       109141   109159      +18     
===========================================
  Hits          5283     5283              
- Misses      103858   103876      +18     

☔ 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 19:01
The file predates the current formatter, and CI checks the formatting of
every changed file, so it has to be formatted before the next commit can
touch it. No behaviour change.
Isar.open only looks for libisar.so on the system loader path and in the
working directory, and neither holds it on a fresh checkout or in CI.
Resolve the binary shipped with isar_community_flutter_libs instead, so a
test can open a real Isar with no manual step and no network download.
Copy a transaction note into the labels of that transaction's outputs at
the MainDB boundary, in either arrival order: updateUTXOs picks up a note
stored before its outputs, putTransactionNotes labels outputs stored
before their note. Only a blank label is ever written, so a label the
user set by hand is never overwritten.

Batch the six confirm/send screens' per-txid note writes into a single
call wrapped by saveTransactionNotesAfterSend, so a note that fails to
persist after a successful broadcast is no longer reported to the user as
a failed send.

Closes #411
@sneurlax
sneurlax force-pushed the feat/411-auto-label-utxos branch 2 times, most recently from 5f558a4 to 5fc0e88 Compare August 24, 2026 21:31
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.

Feature Request: Auto Labelling UTXOs off Transaction Notes

1 participant