fix: show TAB hint for notes input in discuss-mode survey (#192) (#203)

The "None of the above" option description said "add details in notes
below" without telling users to press TAB to reveal the notes input.
Updated the description to "Press TAB to add optional notes." and made
the footer "tab to add notes" hint always visible in single-select mode
(previously hidden until a selection was committed).

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
TÂCHES 2026-03-13 10:38:47 -06:00 committed by GitHub
parent 2ed7c830d9
commit 7d64aac6bb

View file

@ -105,7 +105,7 @@ export interface WrapUpOptions {
// ─── Constants ────────────────────────────────────────────────────────────────
const OTHER_OPTION_LABEL = "None of the above";
const OTHER_OPTION_DESCRIPTION = "Optionally, add details in notes below.";
const OTHER_OPTION_DESCRIPTION = "Press TAB to add optional notes.";
// ─── Wrap-up screen ───────────────────────────────────────────────────────────
@ -593,7 +593,7 @@ export async function showInterviewRound(
hints.push("tab to add notes");
hints.push(isLast && allAnswered() ? "enter to review" : "enter to next");
} else {
if (st.committedIndex !== null || !isMultiQuestion) hints.push("tab to add notes");
hints.push("tab to add notes");
if (isMultiQuestion) hints.push("←/→ navigate");
hints.push(isLast && allAnswered() ? "enter to review" : "enter to next");
}