diff options
| author | Adam Soltys <[email protected]> | 2026-09-22 11:36:06 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-22 11:36:06 -0700 |
| commit | 0cf1f6095e76825c9b8af5be03006218688f1f83 (patch) | |
| tree | c5dbb6289a13070d8399df7934e1c92639d6146e | |
| parent | ec76ba47da8ed4b5c46fa09822655ac29a81d300 (diff) | |
| download | coinosv3-0cf1f6095e76825c9b8af5be03006218688f1f83.tar.gz coinosv3-0cf1f6095e76825c9b8af5be03006218688f1f83.zip | |
Payment detail: the unit is the tap-to-toggle tag; tests enter through the wizard's import line.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
| -rw-r--r-- | src/features/ark.js | 4 | ||||
| -rw-r--r-- | tools/chat-layout-test.js | 2 | ||||
| -rw-r--r-- | tools/chat-watchdog-test.js | 2 | ||||
| -rw-r--r-- | tools/emoji-test.js | 2 | ||||
| -rw-r--r-- | tools/lock-wallet-test.js | 2 | ||||
| -rw-r--r-- | tools/minimal-smoke.js | 2 | ||||
| -rw-r--r-- | tools/offline-cache-test.js | 2 | ||||
| -rw-r--r-- | tools/padlock-ask-test.js | 2 | ||||
| -rw-r--r-- | tools/padlock-flow-test.js | 4 | ||||
| -rw-r--r-- | tools/profile-draft-test.js | 2 | ||||
| -rw-r--r-- | tools/profile-feed-test.js | 2 | ||||
| -rw-r--r-- | tools/unread-dot-test.js | 2 |
12 files changed, 14 insertions, 14 deletions
diff --git a/src/features/ark.js b/src/features/ark.js index ab7f28d..00dc132 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -1447,8 +1447,8 @@ export function arkFeature(ctx) { m.type === 'refresh' ? h('div', { class: m.feeSat > 0 ? 'amount-neg' : 'small faint', style: 'font-size:20px' }, m.feeSat > 0 ? '-' + fmtAmount(m.feeSat) + ' ' + unitLabel() : t('arkDepthFree')) - : h('div', { class: failed ? 'muted' : incoming ? 'amount-pos' : 'amount-neg', style: 'font-size:20px' }, - (failed ? '' : incoming ? '+' : '-') + fmtAmount(m.amountSat, m.ts / 1000) + ' ' + unitLabel()), + : h('div', { class: failed ? 'muted' : incoming ? 'amount-pos' : 'amount-neg', style: 'font-size:20px;display:flex;align-items:baseline;gap:6px' }, + (failed ? '' : incoming ? '+' : '-') + fmtAmount(m.amountSat, m.ts / 1000), unitTag()), // the unit toggles, as on the balance row(t('dateLabel'), new Date(m.ts).toLocaleString()), ctx.worthLine ? ctx.worthLine(m.amountSat, m.ts / 1000, row) : null, // a feature that knows more about this movement (the till: bill and tip) diff --git a/tools/chat-layout-test.js b/tools/chat-layout-test.js index 772e38f..d8a3687 100644 --- a/tools/chat-layout-test.js +++ b/tools/chat-layout-test.js @@ -45,7 +45,7 @@ try { await sleep(400); await click('button', 'Create a new wallet'); await sleep(300); - await click('button', 'Import existing'); + await click('button', 'Have an existing seed'); await sleep(300); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); diff --git a/tools/chat-watchdog-test.js b/tools/chat-watchdog-test.js index ad9820b..16a9ae0 100644 --- a/tools/chat-watchdog-test.js +++ b/tools/chat-watchdog-test.js @@ -52,7 +52,7 @@ try { await page.reload({ waitUntil: 'domcontentloaded' }); await sleep(400); await click('button', 'Create a new wallet'); await sleep(300); - await click('button', 'Import existing'); await sleep(300); + await click('button', 'Have an existing seed'); await sleep(300); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); await click('button', 'Open wallet'); diff --git a/tools/emoji-test.js b/tools/emoji-test.js index c6efb71..d661329 100644 --- a/tools/emoji-test.js +++ b/tools/emoji-test.js @@ -31,7 +31,7 @@ try { await sleep(400); await click('button', 'Create a new wallet'); await sleep(300); - await click('button', 'Import existing'); + await click('button', 'Have an existing seed'); await sleep(300); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); diff --git a/tools/lock-wallet-test.js b/tools/lock-wallet-test.js index 494195e..03db663 100644 --- a/tools/lock-wallet-test.js +++ b/tools/lock-wallet-test.js @@ -46,7 +46,7 @@ try { await sleep(400); await click('button', 'Create a new wallet'); await sleep(500); - await click('button', 'Import existing'); + await click('button', 'Have an existing seed'); await sleep(400); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); diff --git a/tools/minimal-smoke.js b/tools/minimal-smoke.js index 2bdc4a6..9d7b75b 100644 --- a/tools/minimal-smoke.js +++ b/tools/minimal-smoke.js @@ -67,7 +67,7 @@ try { console.log('\n[1] import + core wallet'); await clickText('button', 'Create a new wallet'); // the front door gained a step await sleep(300); - await clickText('button', 'Import existing'); + await clickText('button', 'Have an existing seed'); await sleep(200); await page.type('textarea', generateMnemonic(wordlist)); await clickText('button', 'Open wallet'); diff --git a/tools/offline-cache-test.js b/tools/offline-cache-test.js index d5e8e5a..c01dc1c 100644 --- a/tools/offline-cache-test.js +++ b/tools/offline-cache-test.js @@ -39,7 +39,7 @@ await page.goto('http://localhost:5234/', { waitUntil: 'domcontentloaded' }); await page.evaluate(() => localStorage.setItem('btc-wallet-network', 'regtest')); await page.reload({ waitUntil: 'domcontentloaded' }); await sleep(400); await click('button', 'Create a new wallet'); await sleep(300); -await click('button', 'Import existing'); await sleep(300); +await click('button', 'Have an existing seed'); await sleep(300); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); await click('button', 'Open wallet'); await waitText('receive', 15000); await openMessages(); await sleep(800); await openCoinos(); diff --git a/tools/padlock-ask-test.js b/tools/padlock-ask-test.js index eb35047..e2837e5 100644 --- a/tools/padlock-ask-test.js +++ b/tools/padlock-ask-test.js @@ -28,7 +28,7 @@ try { await sleep(400); await click('button', 'create a new wallet'); await sleep(500); - await click('button', 'Import existing'); + await click('button', 'Have an existing seed'); await sleep(400); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); diff --git a/tools/padlock-flow-test.js b/tools/padlock-flow-test.js index be4f5ec..e36d7ec 100644 --- a/tools/padlock-flow-test.js +++ b/tools/padlock-flow-test.js @@ -31,7 +31,7 @@ try { await sleep(400); await click('button', 'Create a new wallet'); await sleep(500); - await click('button', 'Import existing'); + await click('button', 'Have an existing seed'); await sleep(400); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); @@ -96,7 +96,7 @@ try { const body2 = () => p2.evaluate(() => document.body.innerText); const waitText2 = async (x, ms = 20000) => { for (let i = 0; i < ms / 250; i++) { if ((await body2()).toLowerCase().includes(x.toLowerCase())) return true; await sleep(250); } return false; }; const importWallet = async () => { - await click2('Import existing'); + await click2('Have an existing seed'); await sleep(400); await p2.waitForSelector('textarea'); await p2.type('textarea', generateMnemonic(wordlist)); diff --git a/tools/profile-draft-test.js b/tools/profile-draft-test.js index cb016da..9062726 100644 --- a/tools/profile-draft-test.js +++ b/tools/profile-draft-test.js @@ -42,7 +42,7 @@ try { await page.evaluate(() => localStorage.setItem('btc-wallet-network', 'regtest')); await page.reload({ waitUntil: 'domcontentloaded' }); await click('Create a new wallet'); - await click('Import existing'); + await click('Have an existing seed'); await page.waitForSelector('textarea'); const mnemonic = generateMnemonic(wordlist); await page.type('textarea', mnemonic); diff --git a/tools/profile-feed-test.js b/tools/profile-feed-test.js index d285c44..9c743ae 100644 --- a/tools/profile-feed-test.js +++ b/tools/profile-feed-test.js @@ -27,7 +27,7 @@ try { await sleep(400); await click('button', 'Create a new wallet'); await sleep(300); - await click('button', 'Import existing'); + await click('button', 'Have an existing seed'); await sleep(300); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); diff --git a/tools/unread-dot-test.js b/tools/unread-dot-test.js index 76e3417..839105a 100644 --- a/tools/unread-dot-test.js +++ b/tools/unread-dot-test.js @@ -25,7 +25,7 @@ try { await sleep(400); await click('button', 'I already have a wallet'); await sleep(300); - await click('button', 'Import existing'); + await click('button', 'Have an existing seed'); await sleep(300); await page.waitForSelector('textarea'); await page.type('textarea', generateMnemonic(wordlist)); |
