aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-11-15 14:25:01 -0700
committerAdam Soltys <[email protected]>2026-11-15 14:25:01 -0700
commit8cea5deba43c37a1f30b84bbc8b3d08e6b5a847e (patch)
tree3c30259640bc3ceab648b1e2fd49c355231daa18 /tools
parentf7fe37ef75836715580e3097c7e7bc75df819bef (diff)
downloadcoinosv3-8cea5deba43c37a1f30b84bbc8b3d08e6b5a847e.tar.gz
coinosv3-8cea5deba43c37a1f30b84bbc8b3d08e6b5a847e.zip
Balance settings rows: each balance in its own tinted tile, with room around it. "Icons and padding need work here" (Adam, 2026-11-15, phone screenshot of Settings → Wallet): a gear sat against the left border of the Spending row and a small grey coin beside Add a savings account. Now Spending wears the purple bolt and Savings (and Add a savings account) the orange bitcoin disc, each in a 38px rounded tile, the rows padded 14px 16px with a 14px radius and 8px apart, the › or + in a fixed column on the right; the hover tint only where there is a mouse. signup-quick-test (with a dark-mode screenshot hook), balance-settings-row and features-smoke pass
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
Diffstat (limited to 'tools')
-rw-r--r--tools/signup-quick-test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/signup-quick-test.js b/tools/signup-quick-test.js
index a26a9ef..673319a 100644
--- a/tools/signup-quick-test.js
+++ b/tools/signup-quick-test.js
@@ -92,6 +92,7 @@ try {
const views = await page.$$eval('.balance-settings-row[data-view]', (l) => l.map((e) => e.dataset.view));
check('the ways back in read as auth buttons', (await page.$$eval('.ways-back-add', (l) => l.map((e) => e.textContent.trim()))).join('|') === 'Passkey auth|Google auth|Nostr auth|Pen and paper', (await page.$$eval('.ways-back-add', (l) => l.map((e) => e.textContent.trim()))).join('|'));
check('only Spending is listed, with Add a savings account', views.join() === 'spending' && !!(await page.$('#add-savings')), views.join());
+ if (process.env.SHOT2) { await page.evaluate(() => document.documentElement.setAttribute('data-theme', 'dark')); await page.evaluate(() => document.querySelector('.balance-settings-row').closest('.card').scrollIntoView()); await sleep(300); await page.screenshot({ path: process.env.SHOT2 }); await page.evaluate(() => document.documentElement.removeAttribute('data-theme')); }
if (process.env.SHOT) { await page.evaluate(() => document.querySelector('.ways-back').scrollIntoView()); await page.screenshot({ path: process.env.SHOT }); }
// a passkey: the relays are stubbed, so the publish fails offline — the
// error says so and nothing is listed