githubnext/chopinPublic

Let's compose rich plans together

Show decision evidence as a summary row on the card

The evidence for a chat-derived decision was hidden behind a code icon,
objections never appeared, and the Decisions tab had no evidence at all.
The card now shows "1 reason · 1 constraint · 1 objection" under its
options, which opens an Evidence popover with a header and icon close,
rows grouped by option, decision-wide items under "Applies to all
options", labelled supporters, and quoted objections. Objections come
from the existing oppose stances already in client thread state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
31cda29Patch
Parent61737ef
19 files changed+408-179
StackedSplit
apps/web/src/conversation-plan/evidence-popover.test.tsx+40 −1
apps/web/src/conversation-plan/evidence-popover.tsx+139 −87
apps/web/src/conversation-plan/evidence.test.ts+41 −1
apps/web/src/conversation-plan/evidence.ts+38 −13
apps/web/src/room-workspace.tsx+9 −15
apps/web/src/theme.css+19 −0
e2e/decision-evidence.e2e.ts+17 −6
e2e/source/diagnostic-controls.native.ts+7 −8
e2e/source/evidence-hover-native.ts+1 −1
e2e/source/evidence-hover.fixture.ts+7 −5
e2e/source/evidence-hover.native.ts+4 −4
packages/editor/src/decisions.tsx+4 −0
packages/editor/src/index.ts+1 −0
packages/editor/src/plan-editor.tsx+2 −2
packages/editor/src/widget-options.ts+2 −1
packages/editor/src/widgets/evidence-hover.tsx+45 −18
packages/editor/src/widgets/questionnaire-collapse-list.test.tsx+12 −6
packages/editor/src/widgets/questionnaire.tsx+15 −10
packages/question/src/react/question-view.tsx+5 −1