Repository navigation
gui: Let Enter move on from every text field - #222
Draft
BenWestgate wants to merge 1 commit into
Draft
BenWestgate wants to merge 1 commit into
BenWestgate wants to merge 1 commit into
Conversation
BenWestgate
force-pushed
the
claude/project-thread-ju4kv7
branch
from
November 17, 2026 20:50
46ca687 to
9d6cad8
Compare
BenWestgate
force-pushed
the
claude/project-thread-p319g5
branch
from
November 17, 2026 20:54
6bcbfa0 to
dfb6905
Compare
Enter in a field did nothing, so a card that "checks out" still needed a click on Continue. The CLI takes Enter as the answer to every prompt. _page now wires every text field it holds, once: Enter moves to the next field that is shown, switched on and editable, and from the last presses the first page action that is shown and switched on (the last action by default). Enter does nothing unless its page is the one in front. Card entry falls back to "Suggest a repair", as the CLI offers a correction for a card that does not check out. Covers card entry, read-back, wallet record, new wallet, unlock, the YES gate and the custom layout numbers. The walkthrough now presses the real Enter key through the X server (xdotool) on every one of those pages. Claude-Session: https://claude.ai/code/session_01N8jLK7DpgY81q3JWXK4Zvz
BenWestgate
force-pushed
the
claude/project-thread-ju4kv7
branch
from
November 17, 2026 21:11
9d6cad8 to
19053a6
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Ben · project thread
Bug. On "Restore my wallet ▸ Enter your cards", Enter did nothing, even when every character checked out. No GUI text field on this line handled Enter (bails-v1-pin + #190/#191/#113/#217).
gui-reviewability-v1wires Enter per page, and only on its two card fields.Change. One helper in
_page, with no per-page wiring. Enter in a text field moves focus to the next field that is shown, switched on and editable, the way the CLI moves to its next prompt. From the last field, Enter presses the first page action that is shown and switched on. By default that is the primary (last) action. Card entry passes(Continue, Suggest a repair), so Enter on a card that doesn't check out asks for a repair, as the CLI does. Enter does nothing unless its page is the one in front.Covers card entry (restore, check, repair, replace, seed), read-back, wallet record (fingerprint, then date), new wallet (name, passphrase, repeat, then Create), unlock, the YES gate, and the custom layout spin rows.
Decisions (Ben, 2026-11-17). Enter on the last card may show the master seed right away, the same way
ms32 secretprints it once the last card is typed.BUDGETgoes from 2063 to 2090; the GUI is now at 2,089 lines.Review follow-up. This addresses the external review Ben pasted. Findings 2 and 3:
Checked. Run against #217's head 6bcbfa0:
tools/gui_walkthrough.pyon Xvfb (needsxdotool): 59 checks pass. Removing the page guard fails the guard check, and removing the helper stalls the walkthrough.python -m pytest: 659 passed, 2 skipped. The bip32-oracle modules couldn't run here because the proxy blocks the pinned tarball, so CI covers them.Stacked on #217. This touches share entry, so it stays a draft until Ben's security sign-off.
🤖 Generated with Claude Code
https://claude.ai/code/session_01N8jLK7DpgY81q3JWXK4Zvz