John O'Keefe
31f939002f
feat(web): 'a' keyboard shortcut toggles the annotations drawer
...
The drawer was the only top-bar tool without a keyboard shortcut, so the
shortcuts & gestures help modal had to describe it as '📝 button'. Bind
plain 'a' to toggleBookmarks(), following the same pattern as the
existing t/s/b letter shortcuts.
- reader.ts: new 'a' branch in handleKeydown, guarded against
Ctrl/Cmd/Alt so Select All (a common reader action when selecting
text to highlight/copy) is never intercepted; typing guard already
protects note textareas, search box, and selects. Works in both the
host page and book-content iframes since both keydown listeners route
through handleKeydown.
- reader.templ: help modal row now shows <kbd>a</kbd> like the other
letter shortcuts; 📝 button tooltip gains '(a)' to match its
siblings (b), (/), (s), (?).
- reader_templ.go: regenerated.
2026-10-08 15:12:27 -04:00
..
2026-10-03 23:54:07 -04:00
2026-09-21 18:09:05 -04:00
2026-10-03 23:54:07 -04:00
2026-08-14 08:52:33 -04:00
2026-10-03 23:54:07 -04:00
2026-09-21 18:09:52 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-09-21 20:21:43 -04:00
2026-10-03 23:54:07 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-08-10 13:43:13 -04:00
2026-08-10 13:43:13 -04:00
2026-08-10 13:43:13 -04:00
2026-10-08 14:57:41 -04:00
2026-10-08 14:57:41 -04:00
2026-10-03 23:54:07 -04:00
2026-08-05 16:45:02 -04:00
2026-10-05 12:15:45 -04:00
2026-10-05 12:15:45 -04:00
2026-10-05 12:15:45 -04:00
2026-10-05 12:15:45 -04:00
2026-05-24 21:20:24 -04:00
2026-03-27 15:52:02 -04:00
2026-10-03 23:54:07 -04:00
2026-09-13 12:00:49 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-08-06 11:35:14 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:48:06 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:48:06 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-07 19:51:59 -04:00
2026-10-07 19:51:59 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-08-05 16:45:02 -04:00
2026-10-03 23:54:07 -04:00
2026-10-03 23:54:07 -04:00
2026-10-03 23:54:07 -04:00
2026-08-06 14:48:48 -04:00
2026-10-03 23:54:07 -04:00
2026-10-03 23:54:07 -04:00
2026-10-03 23:54:07 -04:00
2026-09-13 12:00:49 -04:00
2026-10-03 23:54:07 -04:00
2026-10-03 23:54:07 -04:00
2026-10-03 23:54:07 -04:00
2026-08-05 16:45:02 -04:00
2026-10-03 23:54:07 -04:00
2026-08-05 16:45:02 -04:00
2026-08-10 13:43:13 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-08 15:12:27 -04:00
2026-10-08 15:12:27 -04:00
2026-08-10 13:43:13 -04:00
2026-08-10 13:43:13 -04:00
2026-08-05 16:45:02 -04:00
2026-08-05 16:45:02 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:43:13 -04:00
2026-08-10 13:43:13 -04:00
2026-08-05 16:03:07 -04:00
2026-10-03 23:54:07 -04:00
2026-05-10 16:13:21 -04:00
2026-09-21 18:09:05 -04:00
2026-10-03 23:54:07 -04:00
2026-08-10 13:48:06 -04:00
2026-08-10 13:43:32 -04:00
2026-09-13 12:00:49 -04:00