From 202dced76eb8617c094686ef86caa979c0074320 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 3 Oct 2026 16:05:42 -0700 Subject: Renewing asks first, and a renewal links to its round's transaction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The coins page's Renew button opens a confirmation instead of renewing at once: how many coins, their amount, the fee, and what is left to spend meanwhile — with a red notice when that is nothing (the button selects every coin by default, which is how a user locked their whole balance for an hour on 2026-10-03). It says the coins can't be spent until the round's transaction confirms and that a renewal can't be cancelled; the wallet renews for free near expiry anyway. The inline notice from 328f2db moves into it. - A renewal keeps its round's transaction id as soon as the round has run (before it confirms): the in-progress card on the coins page links to it, and the finished renewal's history row carries it, so its detail shows the id with View/Copy like any on-chain movement. Renewals finished before this change have no id recorded. tools/ark/renew-confirm-ui-test.js, tools/ark/renew-txid-test.js Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01ULQZS9MQa6iAsXnrJUD9Du --- src/i18n.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index 4bdf2e6..1a27cfe 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -1066,9 +1066,15 @@ const STR = { arkLnPaying: 'Paying invoice…', arkLnRetrying: 'Route failed. Retrying with a bigger fee budget ({n}/{of})…', arkLnPayFailed: 'Payment failed', + arkRenewConfirmTitle: "Renew these coins?", + arkRenewConfirmBody: "Your wallet renews coins by itself, for free, when they are close to expiring. Renewing now is optional.", + arkRenewConfirmFee: "Renewal fee", + arkRenewConfirmLeft: "Left to spend meanwhile", + arkRenewConfirmAll: "This is your whole Spending balance. You won’t be able to pay or send from Spending until the renewal confirms.", + arkRenewConfirmWait: "Coins being renewed can’t be spent until the round’s transaction confirms on the Bitcoin network: usually about ten minutes, sometimes an hour or more. A renewal can’t be cancelled once it has started.", + arkRenewViewTx: "View the round’s transaction", arkLnRenewing: "Nothing was sent. {sats} sats are being renewed and can’t be spent until the renewal confirms on the Bitcoin network: usually about ten minutes, sometimes an hour or more. Try again then.", arkLnShort: "Not enough in Spending: this payment needs {need} sats with its fee, and {have} are available.", - arkCoinsRenewLock: "Coins being renewed can’t be spent until the round’s transaction confirms on the Bitcoin network: usually about ten minutes, sometimes an hour or more. Renewing every coin leaves nothing to pay with in the meantime.", arkLnRefunded: 'Payment failed. Your money is back in Spending.', arkLnPaidTitle: 'Paid!', or: 'or', -- cgit v1.2.3