githubnext/chopinPublic

Let's compose rich plans together

Reach Diagram by Mermaid, keep long titles readable, hold error room

The language menu's type-to-jump also checks aliases, so "m" reaches
Diagram as well as "d". A long fence title now ellipsises at its end
instead of being clipped from its start on narrow screens. A diagram
whose source is open reserves the error line's height, so a parse error
arriving after a pause no longer pushes the source down.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
e50d8c9Patch
Parentdd14700
4 files changed+73-11
StackedSplit
packages/editor/src/styles.css+28 −0
packages/editor/src/widgets/code.test.ts+21 −0
packages/editor/src/widgets/code.ts+21 −3
packages/editor/src/widgets/language-menu.tsx+3 −8