githubnext/chopinPublic

Let's compose rich plans together

Keep workspace chrome still when switching documents

Switching or creating a document cross-faded and slid the whole route
layer, so the header, tabs and Chat frame were drawn twice mid-switch.
The incoming route now loads unseen while the outgoing one stays on
screen until its document syncs (at most 500ms). Then only the document
body and transcript change, opacity only: out over 80ms, in over 150ms,
never overlapping. The header and Chat frame swap in place. Sibling
Document/Decisions tabs keep their directional slide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
89af0bbPatch
Parent0656783
10 files changed+116-24
StackedSplit
apps/web/src/document-workspace-host.tsx+18 โˆ’2
apps/web/src/hosted.tsx+5 โˆ’2
apps/web/src/motion-contract.test.ts+5 โˆ’0
apps/web/src/motion-contract.ts+9 โˆ’1
apps/web/src/theme.css+24 โˆ’1
e2e/document-navigation.e2e.ts+27 โˆ’13
packages/editor/src/content-swap.test.tsx+17 โˆ’0
packages/editor/src/content-swap.tsx+8 โˆ’5
packages/editor/src/plan-editor.tsx+1 โˆ’0
packages/visuals/theme.css+2 โˆ’0