diff options
| author | Adam Soltys <[email protected]> | 2026-11-06 23:24:18 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-11-06 23:24:18 -0700 |
| commit | 9ffdeacf18ab2b6ff2344e1ec5cf0a085b18325b (patch) | |
| tree | fd78eb2ad0137c1f81c7f8a15456600cbb70e116 /tools | |
| parent | fc5ac3df7477e416c4241d6e88b13d9f5190e40a (diff) | |
| download | coinosv3-9ffdeacf18ab2b6ff2344e1ec5cf0a085b18325b.tar.gz coinosv3-9ffdeacf18ab2b6ff2344e1ec5cf0a085b18325b.zip | |
The sign-in list is seed phrase, passkey, Google, Nostr, coinos.io, evenly spaced, and setup pages keep only the language picker under them. Adam, 2026-11-06: passkey second, below the seed phrase; "check the spacing on all the buttons, some of them seem a bit different" — the sign-in feature returned its doors in a wrapper of their own (8px apart) inside the page's 20px column, so the gaps ran 20/8/8/20. frontDoorSignin now returns them loose (externalButtons takes passkeyFirst), and the front door's lists sit in one 10px column: measured at 390px, every door 53px tall and 10–11px apart; the welcome's two choices 55px and 10px apart; the sign-in sheet in messages spaces them at its own 12px. And "on all the wizard/setup pages let's hide the footer except for the language selection": the unlock screen and every page the wizard draws (.onb) get a footer with just the language picker, as wide as the language's name; everywhere else keeps the full footer. tools/onboard-backup-test.js checks the front page's footer holds only the picker
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Ts5Tktega8VbLg31q
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/onboard-backup-test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/onboard-backup-test.js b/tools/onboard-backup-test.js index e7740ae..3433271 100644 --- a/tools/onboard-backup-test.js +++ b/tools/onboard-backup-test.js @@ -75,13 +75,13 @@ try { label: primary ? primary.textContent.trim() : null, labels: btns.map((b) => b.textContent.trim()), order: !!primary && !!signin && primary.getBoundingClientRect().top < signin.getBoundingClientRect().top, - footer: !!document.querySelector('.footer'), + footer: (() => { const f = document.querySelector('.footer'); return f ? { buttons: f.querySelectorAll('button, a').length, selects: f.querySelectorAll('select').length } : null; })(), }; }); check('the way in says what it makes', /wallet/i.test(front.label || ''), front.label || 'missing'); check('...and the only other choice is signing in to one you have', front.order && front.labels.length === 2, front.labels.join(' | ')); - check('...with no footer under them', !front.footer); + check('...with only the language picker under them', !!front.footer && front.footer.buttons === 0 && front.footer.selects === 1, JSON.stringify(front.footer)); // The welcome card is just the title and the buttons now (42c8d4e): the // way in itself says what the wallet is — tapping it puts the twelve // words on screen at once, with what they are. |
