Skip to content

feat(web): always show the next sidebar shortcut - #2878

Merged
tyler-dane merged 4 commits into
mainfrom
cursor/contextual-shortcut-hints-fc69
Aug 26, 2026
Merged

feat(web): always show the next sidebar shortcut#2878
tyler-dane merged 4 commits into
mainfrom
cursor/contextual-shortcut-hints-fc69

Conversation

@tyler-dane

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

Copy link
Copy Markdown
Contributor

Summary

The sidebar status bar now always shows the next shortcut instead of a muted, rotating tip that only appeared when an event was focused.

A first-match selector picks the hint from onboarding stage (first-event-done) and current context (form open, event focused, Life vs calendar). Mode indicators (event jump, edge focus, keyboard place) and operational status (saving, delayed sync) still take the line when they apply.

Focused-event hint
Life-view hint
sidebar_shortcut_hint_contexts.mp4

Simplicity

Removed the tip store, mute persistence, 45s cooldown, round-robin rotation, and mouse-streak bias. One pure function plus a thin hook replace that machine. Duplicate aria-label on the hint was dropped because ShortcutTipParts already exposes the sentence as sr-only text.

Automated validation

  • bun run verify: selected packages web; checks run test:web, type-check, lint, knip; all passed.
  • Focused web tests for the selector, catalog, hook, and status bar: 34 passed.
  • bun test:a11y: 7 passed.

Browser (anonymous IndexedDB): after first save, idle showed hold-Mod; event jump showed Event jump · Esc; focused event showed Press E then T to jump to the title; Life showed Press T to jump to this week.

Independent review

.agents/handoffs/2878.md — Reviewer verdict: no confirmed findings.

Test plan

  • bun run verify (web, type-check, lint, knip)
  • bun test:web -- selector, catalog, hook, and SidebarStatusBar tests
  • bun test:a11y
Open in Web Open in Cursor 

cursoragent and others added 3 commits August 26, 2026 01:01
Replace the gated rotating tip strip with a first-match selector so the
status bar always offers the next key from onboarding stage and current
context.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
ShortcutTipParts already exposes the sentence as sr-only text inside
the status region, so a second aria-label would announce it twice.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Typed verify/review evidence for the contextual shortcut hint PR.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane
tyler-dane marked this pull request as ready for review August 26, 2026 01:39
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane
tyler-dane merged commit 170c35a into main Aug 26, 2026
22 checks passed
@tyler-dane
tyler-dane deleted the cursor/contextual-shortcut-hints-fc69 branch August 26, 2026 01:53
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