Skip to content

feat(web): toggle day-prefix event jump with Shift - #2711

Merged
cursor[bot] merged 5 commits into
mainfrom
cursor/day-prefix-jump-mode-d4d4
Aug 9, 2026
Merged

feat(web): toggle day-prefix event jump with Shift#2711
cursor[bot] merged 5 commits into
mainfrom
cursor/day-prefix-jump-mode-d4d4

Conversation

@tyler-dane

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

Copy link
Copy Markdown
Contributor

Summary

Replace hold-Shift home-row jump chips with a Shift-tap toggle for day-prefix event jump. Week chips use SU/M/T/W/R/F/SA plus a per-day index; Day view uses numeric chips. Day letters highlight the column and focus the first event; digits refine. Esc or another Shift tap exits. Shift+chords never toggle; Shift-Shift still enters keyboard-only without a jump flash (activation is deferred past the double-tap window). Week 17 column shortcuts removed.

Simplicity

Extracted shared assignment/hint builders in useShiftHoldEventHints, inlined one-use day-prefix helper, and flattened EventJumpIndicator copy. Retained document-level gesture refs/effects and the rebuild-on-event-set effect for stable chips.

Automated validation

  • Focused shift-hint + keyboard-only unit tests: pass
  • bun run knip / bun run lint: pass
  • Playwright shift-hint + keyboard-only specs: 5/5 pass (CI e2e green)
  • Browser /week: chips, day letter + digits, Esc, Shift+J, Shift-Shift — all pass

Independent review

Confirmed findings fixed (Escape ownership, weekend S abandon, ambiguous digit commit + buffer reset, shortcut swallowing, exit announcement linger, deferred activate for Shift-Shift, no activate under keyboard-only / empty targets).

Test plan

  • bun packages/scripts/src/testing/test-parallel.ts web -- packages/web/src/shortcuts/shift-hint/ packages/web/src/shortcuts/keyboard-only/
  • bun run knip · bun run lint
  • bunx playwright test e2e/timed/shift-hold-event-hints.spec.ts e2e/timed/keyboard-only-mode.spec.ts

Shipped: merged as 576d8993 → tag v1.1.151; staging-cloud and staging-selfhosted health checks green.

Open in Web Open in Cursor 

cursoragent and others added 5 commits August 8, 2026 22:24
Replace hold-Shift home-row chips with a Shift-tap jump mode that labels
events by weekday prefix and per-day index, highlights the selected day
column, and removes the old 1-7 column focus shortcuts.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Remove unused shift-hint aliases, update Playwright for Shift-tap
day-prefix chips, and land review gaps (escape ownership, ambiguous
digit commit, shortcut swallowing, exit announcement linger).

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Avoid hardcoding Wednesday at xRatio 0.42; the visible column varies
with viewport width, so read chip prefixes from the overlay instead.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Schedule jump mode just past the double-tap window so Shift-Shift does
not flash chips. Also skip activate under keyboard-only or with no
targets, and strip ambiguous digit buffers on arrow/unmatched keys.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane
tyler-dane marked this pull request as ready for review August 9, 2026 21:59
@cursor
cursor Bot merged commit 576d899 into main Aug 9, 2026
20 checks passed
@cursor
cursor Bot deleted the cursor/day-prefix-jump-mode-d4d4 branch August 9, 2026 22:02
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