githubnext/chopinPublic

Let's compose rich plans together

Group comment threads on one block under a single gutter marker

Each block with open threads now gets one marker in the right gutter,
centred on its first line. Several threads show a count and open a
compact list; selecting one opens the thread with a way back. On narrow
documents the chip narrows to fit the content padding instead of
covering text. The open card renders once after every marker, and other
markers dim and become inert while it is open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
4f3a427Patch
Parent4ce6995
7 files changed+676-489
StackedSplit
e2e/responsive-comments.e2e.ts+97 −0
e2e/sidecar.e2e.ts+13 −27
packages/editor/src/comment-geometry.test.ts+48 −212
packages/editor/src/comment-geometry.ts+54 −94
packages/editor/src/comment-layer.tsx+305 −146
packages/editor/src/comments.tsx+98 −1
packages/editor/src/styles.css+61 −9