mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Desktop AskUserQuestion could show duplicate unresolved cards when restored history and a live permission request overlapped. The custom response field was also single-line, making long restored-context answers hard to read or edit. This keeps the active unresolved AskUserQuestion card aligned with the live permission request, preserves resolved history, and switches custom responses to a multiline editor with Ctrl/Cmd+Enter submission. Constraint: Desktop issue reports #542 and #543 both hit the AskUserQuestion chat surface. Rejected: Hide all AskUserQuestion history while pending | resolved answers should remain visible in the transcript. Confidence: high Scope-risk: narrow Tested: cd desktop && bun run test src/components/chat/AskUserQuestion.test.tsx Tested: cd desktop && bun run test src/components/chat/MessageList.test.tsx Tested: cd desktop && bun run lint Tested: cd desktop && bun run build Tested: bun run check:desktop Not-tested: Live Windows desktop manual restore flow from the issue attachment.