githubnext/chopinPublic

Let's compose rich plans together

Quiet rendered block chrome and steady diagram previews

Code, diff, diagram and formula blocks now share one corner control
pattern: no header bar at rest, a named fence's language as quiet text,
and the menu and source toggle revealed on hover or focus (always shown
in their own band on touch). Diagram blocks are labelled "Diagram"
everywhere, and empty code, diff and diagram blocks say what belongs in
them.

Diagrams a little wider than the measure scale to fit; wider ones keep
their size and scroll with a fade on the hidden side. A parse error no
longer replaces the drawing on each keystroke: the last good drawing
stays, and a quiet error appears only after 600 ms without a fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
9d03f4fPatch
Parent383a258
4 files changed+332-78
StackedSplit
packages/editor/src/styles.css+219 −44
packages/editor/src/widgets/code-view.tsx+9 −0
packages/editor/src/widgets/code.ts+1 −1
packages/editor/src/widgets/render-blocks.tsx+103 −33