githubnext/chopinPublic

Let's compose rich plans together

Hold typing from New document until the title field takes it

Keys pressed while a new document is created and opened landed on the
page, so a fast typist lost the start of the name. Hold printable keys
and Enter from the click until the inline title mounts, then replay them
in place of the generated name, committing if Enter was pressed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
c16db31Patch
Parentdf0f81d
5 files changed+63-17
StackedSplit
apps/web/src/document-rename.tsx+15 −2
apps/web/src/room-workspace.tsx+4 −3
apps/web/src/title-edit.ts+21 −3
apps/web/src/use-document-creation.ts+8 −2
e2e/document-navigation.e2e.ts+15 −7