aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 16:40:25 -0700
committerAdam Soltys <[email protected]>2026-08-02 16:40:25 -0700
commit40fef19510d66209cb271af46d5cd7ec19dd6010 (patch)
treeca1c18a4dcbfb94231200a716bc258180eb3dd50 /src/app.js
parentbf34851a02e253df559e14380d026722a240f789 (diff)
downloadcoinosv3-40fef19510d66209cb271af46d5cd7ec19dd6010.tar.gz
coinosv3-40fef19510d66209cb271af46d5cd7ec19dd6010.zip
Ark: automatic vtxo upkeep, and Move money inline on the balance card
Refresh/consolidation is no longer a user concern: after each sync the wallet renews automatically when any spendable vtxo is within ~a week of expiry or fragmentation reaches six vtxos (a send needs one vtxo that covers the amount), throttled to one attempt per half hour and never while another round is in flight. The manual refresh button is gone. The separate Move money page is gone too — the button on the balance card now unfolds an inline panel with an Into Spending / Into Savings toggle: boarding happens right there, and Into Savings hands off to the existing exit page (cooperative offboard + unilateral exit unchanged). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index 50bf2e6..a67a154 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1960,7 +1960,9 @@ function balanceCard() {
: null,
// "Move money" and friends: the only door between the two balances.
...featureAll('balanceActions').map((a2) =>
- h('button', { class: 'btn-sm', style: 'margin-top:10px', onClick: a2.onClick }, a2.label))
+ h('button', { class: 'btn-sm', style: 'margin-top:10px', onClick: a2.onClick }, a2.label)),
+ // A feature can unfold UI right on the card (ark's inline move panel).
+ featureHook('balanceExtra')
);
}