Skip to content

Feat/answer ux#21

Merged
tpikachu merged 2 commits into
masterfrom
feat/answer-ux
Jul 1, 2026
Merged

Feat/answer ux#21
tpikachu merged 2 commits into
masterfrom
feat/answer-ux

Conversation

@tpikachu

@tpikachu tpikachu commented Jul 1, 2026

Copy link
Copy Markdown
Owner

No description provided.

tpikachu and others added 2 commits July 1, 2026 12:25
…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>
@tpikachu tpikachu merged commit 9ebe8d4 into master Jul 1, 2026
1 check 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