Skip to content

feat(web): place timed drafts with shift+arrow - #2735

Merged
cursor[bot] merged 4 commits into
mainfrom
cursor/shift-arrow-draft-place-b82b
Aug 10, 2026
Merged

feat(web): place timed drafts with shift+arrow#2735
cursor[bot] merged 4 commits into
mainfrom
cursor/shift-arrow-draft-place-b82b

Conversation

@tyler-dane

@tyler-dane tyler-dane commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a place-first timed draft flow via Shift+Arrow. Unfocused Shift+Arrow places a timed draft like c with the form closed; further Shift+Arrow repositions; Enter opens details; focused saved events still nudge. Guards prevent place-create over an existing draft or while any grid card (including read-only) is focused.

Simplicity

Day place-create reuses openShortcutDraft with openForm false. Redundant Week draft-existence guard removed in favor of the shared Shift+Arrow handler. Place drafts focus via the known clientId.

Automated validation

Browser at http://localhost:9080 Week view: place, reposition +15m, Enter opens form, focused saved-event nudge — all observed. bun test:web on touched suites, bun type-check, and bun lint passed.

Independent review

No confirmed findings after guard fixes. Earlier reseed-on-failed-move and read-only place-create issues were fixed before this ready state.

Test plan

Focused web suites for Week/Day shortcuts and DayCalendarGrid; bun type-check; bun lint; browser golden path above.

Open in Web Open in Cursor 

cursoragent and others added 4 commits August 10, 2026 19:18
Shift+Arrow creates a keyboardPlace timed draft at the same default as
c without opening the form, keeps grid focus for further repositioning,
and Enter opens details. Focused saved events still nudge as before.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Assign a clientId in createTimedDraft so Shift+Arrow place-create can
focus the draft card and Day Enter can open the live draft. Also open
draft-only Day cards on pointer down like read-only cards.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Do not reseed when Shift+Arrow cannot move an existing draft, and do
not place-create while a read-only (or any) grid card is focused.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Reuse Day openShortcutDraft for form-closed place, drop redundant
Week draft guards, and focus place drafts via the known clientId.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@cursor cursor Bot changed the title feat(web): place timed drafts with Shift+Arrow feat(web): place timed drafts with shift+arrow Aug 10, 2026
@tyler-dane
tyler-dane marked this pull request as ready for review August 10, 2026 19:40
@cursor
cursor Bot merged commit 3961c4f into main Aug 10, 2026
20 checks passed
@cursor
cursor Bot deleted the cursor/shift-arrow-draft-place-b82b branch August 10, 2026 19:43
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