Repository navigation
feat(web,macos): copy/paste placement outline (no event jump) - #5194
Merged
Merged
Conversation
Contributor
|
Boot bundle: 573.7 KB gzip (+0.0 KB vs main) |
cursor Bot
pushed a commit
that referenced
this pull request
Nov 9, 2026
Gate native clipboard chords in text inputs, do not consume copy/paste when no focused event, render read-only paste ghosts with slot color hex, and assert duplicate persistence in keyboard/model tests. Web: jump-day paste unit/e2e. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
cursor Bot
pushed a commit
that referenced
this pull request
Nov 9, 2026
Gate native clipboard chords in text inputs, do not consume copy/paste when no focused event, render read-only paste ghosts with slot color hex, and assert duplicate persistence in keyboard/model tests. Web: jump-day paste unit/e2e. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/event-copy-paste-preview-53b6
branch
from
November 9, 2026 17:13
ca10ecb to
9829cc7
Compare
Mod+C copies a focused event into the in-app clipboard, shows a jump-driven paste ghost, writes readable text to the system clipboard, and updates sidebar hints. Mod+V commits a duplicate at the preview target without opening the form; Esc cancels preview only. macOS parity via paste preview store, overlay, and keyboard router tests. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Gate native clipboard chords in text inputs, do not consume copy/paste when no focused event, render read-only paste ghosts with slot color hex, and assert duplicate persistence in keyboard/model tests. Web: jump-day paste unit/e2e. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Copy starts a pastePlace grid draft (hour-outline style) after the source event. Arrows reposition it; Mod+V commits without the form. Esc cancels. No F/jump coupling in hints or placement. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Use focusEvent for paste outlines. Enter and edit-open no-op on pastePlace (web GridDraft, Mac router). save/create paths ignore pastePlace. Mac fallback paste uses draftTargetDay again. Tests for Enter and fallback day. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/event-copy-paste-preview-53b6
branch
from
November 9, 2026 20:38
1824e97 to
f01ac74
Compare
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Implements Tyler's design correction for copy/paste on web and macOS: Cmd/Ctrl+C on a focused grid event starts paste placement using the same read-only hour-outline /
keyboardPlace-style grid draft, not F/event jump. The outline starts just after the source event; arrows (and existing draft reposition shortcuts) move it; Cmd/Ctrl+V commits an optimistic duplicate with undo and focuses the new event; Esc cancels placement but keeps the in-app clipboard.Sidebar hint: Arrows move · Cmd+V paste · Esc cancel (no jump letters, chips, or
f).Paste duplicates title, description, location, color, calendar, and schedule only (same as Cmd+D): guests are not copied.
Independent review fixes (BLOCK @
ca10ecb9)focusEvent(eventId:)instead of privatefocusDraftCard();endEventPastePreview()is public for the app keyboard router.pastePlacegating (web + Mac, Enter does nothing): WebGridDraftskips opening the form whenactivity === "pastePlace". Mac router blocks bare Enter,editOpen, and draft save paths (openEventFormForCurrentDraft, Cmd+Enter save,requestSaveDraft/ form save guards).draftTargetDay()(parity with webgetPasteTargetDay), not the source event's day only.GridDraft/ shortcut owner Enter duringpastePlace; MacEventPastePreviewKeyboardTests(Enter, fallback day, move+paste). Mac package tests use@testable import CompassData.Rebased onto current
main(conflict inNativeGridKeyboardRouterresolved with main's description-link digit handling + pasteperformShortcutreturn semantics).Re-review fix (
f01ac74c7BLOCK)DayCalendarGrid.openEventFormForEventno longer opens the form for the livepastePlacedraft card.draftActions.setFormOpen(true)is a no-op duringpastePlace(covers context-menu Edit and any othersetFormOpencaller).useSaveEventForm.saveEventFormreturns without committing whilepastePlaceis active.DayCalendarGrid.test.tsx,draft.store.test.ts,useSaveEventForm.test.tsx.Verify
Head:
60a0ae2b7507d607b89279a040c70ba425b111d3bun run verify --strict: VERDICT: PASSmacOS workflow (same head): run 42703054708
swift-packages: successmacos-build: successmacos: successmacos-ui-shard(1–4): successManual week-view walkthrough (placement outline, arrow move, hint, Mod+V duplicate):
Not merged per request.