Skip to content

Show the confirmed answer when a question is revisited - #461

Merged
ilovepixelart merged 2 commits into
ilovepixelart:mainfrom
sproott:question-revisit-check
Nov 16, 2026
Merged

ilovepixelart merged 2 commits into
ilovepixelart:mainfrom
sproott:question-revisit-check

Conversation

@sproott

@sproott sproott commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Going back to an answered single-select question left the cursor wherever it was last moved, so an option the user had only moved to looked like their answer, and nothing showed which one Enter had confirmed. Confirming an option also wiped any text typed in the free-text row.

As in Claude Code, entering a question now focuses its first row, a confirmed option shows a green label and ✔, and a confirmed typed answer shows a green ✔, kept while the text is edited without Enter. Text typed in the free-text row stays there when an option is confirmed, locally or remotely, and is not sent. Checked multiSelect boxes read a green [✔].

One documented divergence: Claude Code draws every row number grey, while pi-code colours it like its label.

  • npm run check passes (Biome, strict tsc, Vitest)
  • Tests cover the change
  • Docs updated (docs/session-extras.md)

🤖 Generated with Claude Code

sproott and others added 2 commits November 16, 2026 14:53
Entering a question focuses its first row, and the confirmed single-select
answer carries a green tick, as Claude Code shows it. Text typed in the
free-text row stays when an option is confirmed instead. Checkboxes read
[✔] in the success colour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Left or Shift+Tab on the first question re-entered it and moved the
focus to row 1; Claude Code ignores the key there. A confirmed row
wider than the form lost its tick to truncation; the label is now cut
short so the tick stays in view, as in Claude Code.
@ilovepixelart
ilovepixelart merged commit 450f0c1 into ilovepixelart:main Nov 16, 2026
12 checks passed
@sproott
sproott deleted the question-revisit-check branch November 19, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants