githubnext/chopinPublic

Let's compose rich plans together

Show each decision's relationship to the document

Resolved decision cards now say whether they are linked, pending,
deliberately empty, or orphaned, in the Decisions tab and on the settled
line in the document. Show source in chat only appears when the card has
a Chat source to go back to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
7106f30Patch
Parent8ee3d1e
25 files changed+312-30
StackedSplit
apps/web/src/room-workspace.tsx+5 −0
apps/web/src/theme.css+11 −0
e2e/sidecar-card-states.e2e.ts+1 −1
e2e/sidecar.e2e.ts+1 −1
e2e/source/decision-reader.fixture.ts+2 −1
e2e/source/open-card.fixture.ts+2 −1
e2e/source/question-view-contracts.native.ts+2 −2
packages/editor/src/anchors.test.ts+30 −1
packages/editor/src/anchors.ts+40 −1
packages/editor/src/decisions.tsx+1 −0
packages/editor/src/plan-editor.tsx+5 −0
packages/editor/src/questionnaires.ts+18 −1
packages/editor/src/resolved-layer.tsx+1 −0
packages/editor/src/widget-options.ts+2 −0
packages/editor/src/widgets/questionnaire-collapse-settled.test.tsx+18 −4
packages/editor/src/widgets/questionnaire.test.tsx+1 −1
packages/editor/src/widgets/questionnaire.tsx+32 −11
packages/question/src/index.ts+1 −0
packages/question/src/react/index.ts+1 −0
packages/question/src/react/question-view-retained-contracts.test.ts+3 −1
packages/question/src/react/question-view.tsx+21 −2
packages/question/src/react/relation-note.tsx+82 −0
packages/question/src/react/resolved-actions.test.ts+17 −0
packages/question/src/react/resolved-actions.tsx+7 −2
packages/question/src/relation.ts+8 −0