diff options
| author | Adam Soltys <[email protected]> | 2026-09-03 20:57:22 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-03 20:57:22 -0700 |
| commit | 642804dedf7c9d0e5bd7c1635fb23d2bac3cbb14 (patch) | |
| tree | 734928b0f5c23fb0b1c9870bd0231c51e4dc3402 /src/app.js | |
| parent | c9ca1ea13f67166c97921e67f4b0489b2bc7bed8 (diff) | |
| download | coinosv3-642804dedf7c9d0e5bd7c1635fb23d2bac3cbb14.tar.gz coinosv3-642804dedf7c9d0e5bd7c1635fb23d2bac3cbb14.zip | |
Reconcile rows earn a real detail page: date, amount, and every consumed coin id — the folded row rides ui state (and nav history) since it isn't a stored movement. Ordinary send details also stop hiding their inputs: 'Coins spent' lists what a payment gathered (up to 24), beside the destination vtxo it minted
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MrkLsNScXe9b6BviUSdmMr
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -548,7 +548,7 @@ wallet.subscribe(scheduleRender); // views — most Spending payments open one of these, and leaving them out // meant the phone's native Back skipped past the history list entirely // (it landed on whatever tab minted the previous entry). -const NAV_FIELDS = ['screen', 'tab', 'txDetail', 'arkMoveDetail', 'arkExitDetail', 'giftDetail', 'bump', 'giftMode', 'claimStep', 'chatOpen', 'msgView', 'msgCommunity', 'msgPeer', 'profilePk', 'profOverThread', 'settingsPage', 'nameEditOpen', 'noteThread', 'userSearch', 'zapSetup', 'hatShop']; +const NAV_FIELDS = ['screen', 'tab', 'txDetail', 'arkMoveDetail', 'arkReconDetail', 'arkExitDetail', 'giftDetail', 'bump', 'giftMode', 'claimStep', 'chatOpen', 'msgView', 'msgCommunity', 'msgPeer', 'profilePk', 'profOverThread', 'settingsPage', 'nameEditOpen', 'noteThread', 'userSearch', 'zapSetup', 'hatShop']; function navSnapshot() { const s = {}; for (const f of NAV_FIELDS) s[f] = ui[f] ?? null; @@ -3269,7 +3269,7 @@ function setAccountSel(a, dir) { // Selecting an account shows its history right away — home base — and any // open payment detail (which belongs to the account it was opened from) // closes with it. - ui.txDetail = null; ui.arkMoveDetail = null; ui.arkExitDetail = null; ui.giftDetail = null; + ui.txDetail = null; ui.arkMoveDetail = null; ui.arkReconDetail = null; ui.arkExitDetail = null; ui.giftDetail = null; ui.tab = 'history'; render(); } @@ -3412,7 +3412,7 @@ function balanceCard() { try { localStorage.setItem(ACCOUNT_KEY, view); } catch {} // selecting an account lands on its history (home), any open // payment detail belonged to the other account - ui.txDetail = null; ui.arkMoveDetail = null; ui.arkExitDetail = null; ui.giftDetail = null; + ui.txDetail = null; ui.arkMoveDetail = null; ui.arkReconDetail = null; ui.arkExitDetail = null; ui.giftDetail = null; ui.tab = 'history'; render(); } @@ -3510,7 +3510,7 @@ function balanceCard() { if (strip && Date.now() - (strip._dragged || 0) < 300) return; ui.account = v; try { localStorage.setItem(ACCOUNT_KEY, v); } catch {} - ui.txDetail = null; ui.arkMoveDetail = null; ui.arkExitDetail = null; ui.giftDetail = null; + ui.txDetail = null; ui.arkMoveDetail = null; ui.arkReconDetail = null; ui.arkExitDetail = null; ui.giftDetail = null; ui.tab = 'history'; render(); }, @@ -3550,6 +3550,7 @@ function tabsBar() { ui.nostrExportStep = false; // and the exported nostr key ui.txDetail = null; // back to the history list when leaving/returning ui.arkMoveDetail = null; + ui.arkReconDetail = null; ui.giftDetail = null; ui.addrScan = false; // and back to the main Settings, not the address list ui.settingsPage = null; @@ -4768,6 +4769,7 @@ applyDir(); ui.revealShown = false; ui.txDetail = null; ui.arkMoveDetail = null; + ui.arkReconDetail = null; ui.giftDetail = null; ui.addrScan = false; ui.bump = null; |
