githubnext/chopinPublic

Let's compose rich plans together

Hide decision write actions for viewers who cannot edit

Archived documents and viewers without push access no longer see the Add an option row or the chat prompt's Save decision button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
9f9bce6Patch
Parenta3ec018
6 files changed+42-24
StackedSplit
apps/web/src/chat/decision-entry.test.tsx+16 −1
apps/web/src/chat/decision-entry.tsx+18 −14
packages/editor/src/widgets/questionnaire.test.tsx+1 −0
packages/question/src/react/add-option.test.ts+2 −3
packages/question/src/react/question-view.test.ts+3 −2
packages/question/src/react/question-view.tsx+2 −4