Skip to content

feat: paste composer text without formatting hotkey - #4801

Merged
kalvinnchau merged 1 commit into
mainfrom
am/paste-without-formatting
Aug 4, 2026
Merged

feat: paste composer text without formatting hotkey#4801
kalvinnchau merged 1 commit into
mainfrom
am/paste-without-formatting

Conversation

@kalvinnchau

Copy link
Copy Markdown
Contributor

Summary

  • handle Cmd+Shift+V on macOS and Ctrl+Shift+V on Windows/Linux in the message composer
  • read plain text through the native Tauri/arboard clipboard path in packaged builds, with a browser-only Clipboard API fallback
  • re-enter ProseMirror's paste pipeline with populated text/plain clipboard data so selection, undo, multiline behavior, and paste observers remain intact
  • cover both platform mappings with rendered composer E2E tests that assert the native command path

Testing

  • pnpm test — 4,286 passed
  • pnpm check
  • pnpm typecheck
  • pnpm exec playwright test composer-selection-formatting.spec.ts --project=smoke — 26 passed
  • cargo check --manifest-path desktop/src-tauri/Cargo.toml --workspace --all-targets --target aarch64-apple-darwin
  • just desktop-tauri-test — 2,206 core tests plus integration and doc-test groups passed
  • full pre-push hooks passed

Manual verification

Physical packaged-app clipboard verification remains recommended on macOS, Windows, and Linux. The automated E2E uses mocked Tauri IPC but asserts the native read_clipboard_text command is invoked.

Co-authored-by: npub1dccv64krpcpse5cmkzfeh998cftungyatw3djt8jwdw6g43f7fyqzzmrf7 <6e30cd56c30e030cd31bb0939b94a7c257c9a09d5ba2d92cf2735da45629f248@buzz.block.builderlab.xyz>
Signed-off-by: npub1dccv64krpcpse5cmkzfeh998cftungyatw3djt8jwdw6g43f7fyqzzmrf7 <6e30cd56c30e030cd31bb0939b94a7c257c9a09d5ba2d92cf2735da45629f248@buzz.block.builderlab.xyz>
@kalvinnchau
kalvinnchau requested a review from a team as a code owner August 4, 2026 22:30
@kalvinnchau kalvinnchau changed the title feat: paste composer text without formatting feat: paste composer text without formatting hotkey Aug 4, 2026
@kalvinnchau
kalvinnchau merged commit 25a9cf1 into main Aug 4, 2026
46 of 48 checks passed
@kalvinnchau
kalvinnchau deleted the am/paste-without-formatting branch August 4, 2026 23:16
sandro-sq added a commit that referenced this pull request Aug 4, 2026
* origin/main: (31 commits)
  feat: paste composer text without formatting (#4801)
  Revert "chore(release): release Buzz Desktop version 0.5.5" (#4808)
  chore(release): release Buzz Desktop version 0.5.5 (#4800)
  fix: reauthenticate databricks model discovery (#4008)
  Revert "chore(release): release Buzz Desktop version 0.5.5" (#4797)
  feat: Buzz entity links — rich preview cards + in-app navigation for repos, PRs, and issues (#4695)
  fix(desktop): serialize tray channel actions for frontend (#4762)
  chore(release): release Buzz Desktop version 0.5.5 (#4788)
  feat(projects): support multiple repositories (#4671)
  fix(ci): make desktop cache test version agnostic (#4791)
  fix(desktop): widen post-Enter timeouts in empty-edit-delete spec (#4792)
  fix(desktop): wait for terminal frame before splash (#4781)
  fix(desktop): integer-align custom reaction emoji (#4779)
  Polish Huddle voice controls (#4694)
  fix(local-archive): default both archive settings to enabled (#4750)
  fix(mobile): stop oversized read-state retry loop (#4595)
  fix(desktop): close reconnect gaps that previously required CMD+R (#4737)
  Dock Buzz Term within channel workspace (#4724)
  perf(relay): index channel-id lookups and skip trace-only reads (#4647)
  fix(agents): canonicalize stale persona harness pins (#4631)
  ...

Signed-off-by: Alessandro Joabar <sandro@squareup.com>
wpfleger96 pushed a commit that referenced this pull request Aug 4, 2026
…gaps

* origin/main:
  feat: paste composer text without formatting (#4801)
  Revert "chore(release): release Buzz Desktop version 0.5.5" (#4808)
  chore(release): release Buzz Desktop version 0.5.5 (#4800)

Signed-off-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz>
tellaho added a commit that referenced this pull request Aug 4, 2026
…er-snapshots

* origin/main:
  feat: paste composer text without formatting (#4801)
  Revert "chore(release): release Buzz Desktop version 0.5.5" (#4808)
  chore(release): release Buzz Desktop version 0.5.5 (#4800)
  fix: reauthenticate databricks model discovery (#4008)

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
shellz-n-stuff added a commit to shellz-n-stuff/buzz that referenced this pull request Aug 5, 2026
…gent-instructions

* origin/main:
  chore(release): release Buzz Desktop version 0.5.5 (block#4809)
  feat: paste composer text without formatting (block#4801)
  Revert "chore(release): release Buzz Desktop version 0.5.5" (block#4808)
  chore(release): release Buzz Desktop version 0.5.5 (block#4800)
  fix: reauthenticate databricks model discovery (block#4008)
  Revert "chore(release): release Buzz Desktop version 0.5.5" (block#4797)

Signed-off-by: Alex Rosenzweig <arosenzweig@squareup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants