Center notes in a readable column, keep the title editable while recording, and add a Copy button
Summary
Context: Memo, summary and transcript text stretch across the whole window, so lines get very long on wide screens. While a meeting records (and whenever a note has more than one tab), the header shows the view switcher instead of the title, so the title cannot be edited until the meeting ends. Copying a whole memo or summary is only in the tab's right-click menu and puts plain Markdown on the clipboard, which pastes as raw ## and ** into Notion, Google Docs or Mail. Before the first summary text streams in, a small pulsing line sits in the top-left corner.
Intention: Notes should read like a document, the title should always be editable somewhere, copying a tab should be one visible click that keeps formatting, and the wait for a summary should be clearly visible.
Direction:
- Readable column: editor blocks, the streamed summary and transcript rows sit in a centered column, at most 720px wide with 24px side padding (
ui::NOTE_MAX_WIDTH,ui::NOTE_SIDE_PADDING). - Memos title line: the Memos tab shows the title as an editable line at summary-title size whenever the header does not show the breadcrumb title (recording, or more than one tab). It edits the same draft as the header title, saves through the same rename, honors the same read-only holds, and Escape restores it.
TextInputnow grows its line height with larger text sizes; sizes up to 19px keep the old 24px height. - Copy button: the header gets a Copy button for the shown tab. Memo and summary copy the live editor content (unsaved edits included) as Markdown plain text plus an HTML flavor through
arboard, which the editor already uses to read HTML pastes. The transcript reuses its existing Copy. The tab right-click "Copy" uses the same rich copy. HTML comes from the Markdown via themarkdowncrate (already in the lockfile throughtiptap; now a direct dependency) with GFM and raw HTML escaped. - Summary loading state: before the first text arrives, a centered animated waveform with the existing status and tip strings, laid out like the summary error state.
No new strings: the button uses the existing "Copy" msgid and the loading state keeps its current messages.
Demo
Screenshots to be attached by the author before review.
Verification
cargo fmt --check(apps/desktop-gpui).- On an Apple Silicon Mac with Xcode:
cargo test --locked --lib -- open_note summary transcript editor::pane(121 passed), including a new test that a TipTap body copies as Markdown plus HTML with headings, lists and bold kept and raw<...>escaped. cargo test --locked --test a11y(23 passed).cargo clippy --locked -p desktop-gpui --all-targets --no-deps -- -D warnings: clean.- Not run: full
cargo test --workspace,cargo build, dprint. Not checked by hand in the running app: the column at different window widths, pasting into Notion, Google Docs or Mail, and the Linux/Windows clipboard path througharboard.
🤖 Generated with Claude Code
Summary by cubic
Notes now read like a document, the title stays editable while recording, and copying a tab keeps its formatting.
- Memo, summary, and transcript text render in a centered column at most 720px wide with 24px side padding, so lines stay readable in wide windows.
- The Memos tab shows the title as an editable line whenever the header shows the view switcher (recording or multiple tabs); it edits the same draft, uses the same rename and read-only rules, and Escape restores it.
- The header's Copy button copies the shown tab; memos and summaries go out as Markdown plus HTML, including unsaved edits, so headings, lists, and bold survive pasting into Notion, Google Docs, or Mail.
- The transcript reuses its existing Copy, and the tab menu's Copy now does the same as the header button.
- The summary's pre-stream wait now shows a centered animated waveform with the existing status and tip strings instead of a small pulsing line.