Repository navigation
feat(menu): Sync Info category with DashPay + Shielded sync diagnostics - #811
Merged
QuantumExplorer merged 1 commit intoJul 16, 2026
Conversation
Add a "Sync Info" main-menu category above Security and move the two sync diagnostics out of Tools into it (SwiftDashSDK SPV Status, Platform Sync Status — screens unchanged, relocated to Menu/SyncInfo). Add two new screens mirroring the SwiftExampleApp Sync Status tab: - DashPay Sync Info (DASHPAY-gated): pass state, last-sync watermark, Recurring/Stopped loop badge, manual Sync Now via dashPaySyncNow() with the pass's wallet success/error counts. - Shielded Sync Info: pass state incl. "Not bound", total shielded balance, notes-synced watermark, live elapsed + Downloaded/Checked progress during a pass, last/longest durations, since-launch Scanned/New/Spent counters, Sync Now, and a display-only Clear. Since-launch shielded counters live in a new app-lifetime ShieldedSyncMonitor that PlatformAddressSyncCoordinator attaches and detaches around each manager generation, keeping UI counters off the coordinator. The coordinator exposes read-only platformWalletManager / activeWalletId accessors for the diagnostic ViewModels. Verified: clean dashpay arm64 simulator build + testnet smoke of all four screens (live last-sync times, notes watermark, pass counters) and the pruned Tools menu. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Important Review skippedToo many files! This PR contains 783 files, which is 733 over the limit of 50. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (407)
📒 Files selected for processing (1046)
You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests (beta)
|
QuantumExplorer
deleted the
claude/sync-info-category-restructure-5bc342
branch
August 7, 2026 08:23
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.
What
Adds a new Sync Info main-menu category (above Security) and moves the two sync diagnostics out of Tools into it. The category hosts four screens:
#if DASHPAY-gatedThe two new screens mirror the SwiftExampleApp "Sync Status" tab sections:
isDashPaySyncRunning()), last-sync watermark (dashPayLastSyncUnixSeconds(), refreshed on each pass's falling edge), manual Sync Now viadashPaySyncNow()plus the pass's wallet success/error counts.shield.slash), Total Shielded Balance, Notes Synced watermark (PersistentShieldedSyncState), live elapsed timer + dual Downloaded/Checked progress bars while a pass runs (determinate only when the tree total is known), last/longest pass durations, since-launch Scanned/New/Spent counters, Sync Now, and Clear.Deliberate deviation from the example app: shielded Clear resets displayed counters only — it never wipes persisted notes or the sync watermark (the example app's destructive variant forces a full rescan).
How
ShieldedSyncMonitorthatPlatformAddressSyncCoordinatorattaches/detaches around each manager generation — keeps published UI counters off the coordinator (2026-07 arch review guardrail Fix warnings #4).platformWalletManager/activeWalletIdaccessors; lifecycle ownership is unchanged.SendError.coordinatorNotReadycopy + en localization updated from "Tools → Platform Sync Status" to "Sync Info → Platform Sync Status"; new "Sync Info" l10n key added.Testing
dashpayarm64 simulator build.🤖 Generated with Claude Code