From 5dde6632470c479b4c1edb7a1477c18c6f997855 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 25 Jun 2026 13:35:51 -0700 Subject: Remove the Live/Polling badge; shorten explorer link to 'Block explorer' Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app.js | 9 +-------- src/i18n.js | 4 +--- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/app.js b/src/app.js index 9c9c22a..64cbebd 100644 --- a/src/app.js +++ b/src/app.js @@ -1652,14 +1652,7 @@ function balanceCard() { return h( 'div', { class: 'card balance' }, - h('div', { class: 'row between', style: 'align-items:center' }, - h('div', { class: 'small faint', style: 'text-transform:uppercase;letter-spacing:.05em' }, t('balance')), - // Live = receiving instant WebSocket pushes; otherwise we're polling, so - // deposits can lag a few seconds. Surfaced so a stuck socket is visible. - wallet.offline ? null - : h('span', { class: 'badge ' + (wallet.live ? 'live' : 'off') + ' dot', style: 'font-size:11px;padding:2px 8px' }, - wallet.live ? t('liveTag') : t('pollingTag')) - ), + h('div', { class: 'small faint', style: 'text-transform:uppercase;letter-spacing:.05em' }, t('balance')), // Headline is the spendable balance: confirmed coins plus our own pending // change, minus gift locks — so a pending spend debits immediately, while a // pending incoming receive stays out of it until it confirms. diff --git a/src/i18n.js b/src/i18n.js index ce0f94d..255ca14 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -168,7 +168,7 @@ const STR = { showQrAirgap: 'Show QR (for offline transfer)', txBroadcast: '✓ Transaction broadcast!', copyTxid: 'Copy transaction ID', - viewOnMempool: 'View on block explorer ↗', + viewOnMempool: 'Block explorer ↗', noTxYet: 'No transactions yet.', loadingHistory: 'Loading transactions…', received: 'Received', @@ -178,8 +178,6 @@ const STR = { stuckNote: 'Fee too low — may not confirm', stuckIncomingNote: '⚠ This payment’s fee is below the current network floor, so it may not confirm. Only the sender can speed it up (bump or re-send).', stuckOutgoingNote: '⚠ This transaction’s fee is below the current network floor, so it may not confirm on its own. Bump the fee below to rebroadcast it at a higher rate.', - liveTag: 'Live', - pollingTag: 'Polling', awaitingConfirmation: 'awaiting confirmation', feeShort: 'fee {x}', historyOffline: 'Transaction history is unavailable in offline mode.', -- cgit v1.2.3