Skip to content

feat(srcts): Show keyboard shortcuts in a popup (#73) - #158

Merged
schloerke merged 1 commit into
mainfrom
schloerke/address-73
Oct 22, 2026
Merged

schloerke merged 1 commit into
mainfrom
schloerke/address-73

Conversation

@schloerke

@schloerke schloerke commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #73

Adds a ? button at the top right of the reactlog header, after the search bar. Hovering shows a table of every keyboard shortcut, and clicking keeps it open until clicked again. Key names follow the user's OS (Option / Cmd / Fn + ← for Home on Mac; Alt / Ctrl / Home elsewhere). The navigation button tooltips use the same names; they used to show Mac symbols on every OS. The code is in the new srcts/layout/shortcuts.ts.

To verify: run reactlog_show() (or open inst/reactlog/reactlog.html), hover the ?, then click it and press Space. The step should advance while the table stays open. The vignette also gets a "Keyboard shortcuts" section with the same list.

image

Add a ? button to the header that lists every keyboard shortcut on hover or click, with key names for the user's OS. List the same shortcuts in the vignette.
@schloerke
schloerke marked this pull request as ready for review October 21, 2026 20:15
@schloerke
schloerke merged commit 6fa4a0f into main Oct 22, 2026
12 checks passed
@schloerke
schloerke deleted the schloerke/address-73 branch October 22, 2026 19:55
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.

Summarise all keyboard shortcuts in one place

1 participant