feat: add event-driven auto backup triggers after wallet changes - #1377
Draft
sneurlax wants to merge 2 commits into
Draft
feat: add event-driven auto backup triggers after wallet changes#1377sneurlax wants to merge 2 commits into
sneurlax wants to merge 2 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## staging #1377 +/- ##
========================================
Coverage 4.84% 4.84%
========================================
Files 1092 1092
Lines 109141 109167 +26
========================================
+ Hits 5283 5285 +2
- Misses 103858 103882 +24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
marked this pull request as draft
August 20, 2026 18:58
These six files predate the current formatter. CI's "Check formatting of changed files" step runs dart format over every .dart file a PR touches, so reformat them up front instead of mixing the reflow into a feature diff.
Fire a debounced auto-backup when a transaction note is saved or an address book contact is created, edited, or deleted, under a new "After editing a note or contact" backup frequency. AutoSWBService becomes provider-owned and takes its enabled/frequency gate as a predicate that is re-evaluated when the debounce fires, so turning auto backup off inside the debounce window cancels the pending backup and an SWB restore cannot trigger a backup storm. Changes arriving during an active backup queue a single follow-up instead of being dropped, and timers and notifications are inert after disposal. Rewriting the "default" self contact with identical data, which both address book views do on every open, no longer counts as an edit. closes #306
sneurlax
force-pushed
the
feat/306-auto-backup-triggers
branch
from
August 25, 2026 00:03
16b6692 to
07d6fec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fire a debounced auto-backup when a transaction note is saved or an address book contact is created, edited, or deleted.
closes #306