feat(web): always show the next sidebar shortcut - #2878
Merged
Conversation
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
marked this pull request as ready for review
August 26, 2026 01:39
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.
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.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-labelon the hint was dropped becauseShortcutTipPartsalready exposes the sentence assr-onlytext.Automated validation
bun run verify: selected packages web; checks runtest:web,type-check,lint,knip; all passed.bun test:a11y: 7 passed.Browser (anonymous IndexedDB): after first save, idle showed hold-Mod; event jump showed
Event jump · Esc; focused event showedPress E then T to jump to the title; Life showedPress 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, andSidebarStatusBartestsbun test:a11y