Skip to content

Describe a remote answer to the question being typed in - #469

Merged
ilovepixelart merged 1 commit into
mainfrom
fix-remote-answer-doc
Nov 16, 2026
Merged

ilovepixelart merged 1 commit into
mainfrom
fix-remote-answer-doc

Conversation

@ilovepixelart

Copy link
Copy Markdown
Owner
  • The remote-answer sentence in `docs/session-extras.md` now matches the code. It said a remote answer that completes the form leaves it open "while the highlight is on a field holding text that Enter has not confirmed". The guard in `extensions/question.ts` (`receive`) holds the form open for another question's field; a remote answer to the question being typed in ends its typing, answers it and submits, and the typed text is not sent. A test pins that case: typing `maria` in the first question's free-text row, then a remote answer of option 2 for that question, submits `User selected: 2. Beta`.

  • `npm run check` passes (Biome, strict tsc, Vitest)

  • Tests cover the change

The docs said a form completed by a remote answer stays open while the
highlight is on a field holding unconfirmed text. That holds for
another question's field; a remote answer to the question being typed
in answers it and submits, and the typed text is not sent. A test pins
that case.
@sonarqubecloud

Copy link
Copy Markdown

@ilovepixelart
ilovepixelart merged commit 0285836 into main Nov 16, 2026
13 checks passed
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.

1 participant