Feat/answer ux#21
Merged
Merged
Conversation
…a (v1.2) Cue Card answer-UX pass driven by live testing: - First-person persona: the system prompt now leads with "You ARE the candidate — a second version of them — answering ON THEIR BEHALF, in first person." Story-teller reinforces "you are ME telling MY OWN story." - Story-teller: a 4th AnswerFormat (story_teller, cap 420) — a short, vivid first-person narrative. Type + prompt + zod + a 4th Cue Card toggle. - Per-question regenerate: the single toolbar ↻ is gone; each answer card has its own. The Cue Card now routes answer events by questionId (AnswerCard gains questionId + isCoding; patchById/appendById replace patchLast; a streamingId ref flushes tokens to the right card), so ANY card — even an older collapsed one (which auto-expands) — can be regenerated. Backend regenerateActive() → regenerate(questionId?); IPC + preload take questionId?. - Coding re-solve: the ↻ shows on every card; regenerateCard falls back to capture:resolve-last (codingMode.resolveLast re-runs the last solve, current language) when a card isn't a persisted question. Fixes a bug where a live 'coding'-classified question wrongly hid its ↻. Fixes 2 adversarial-review findings: an aborted card no longer keeps a blinking cursor (abort branch broadcasts answerDone), and the header/"Data sent" panels follow the streaming card. Verified: typecheck · 118 unit · build green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Each answer card gets a Copy (⧉ → ✓) button that copies the clean answer body (pronunciation guide stripped) — handy for pasting a coding solution into the editor. Routed through the main-process Electron clipboard (new overlay:copy-text IPC) because the renderer's clipboard-write permission is denied by the app's permission allowlist. Verified: typecheck · 118 unit · build green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
No description provided.