Skip to content

Enhancement: Tag autocomplete, keyboard shortcut overlay, and reading…#49

Merged
hunter-read merged 1 commit intohunter-read:mainfrom
KrapfalAT:feature/small-enhancements
Apr 17, 2026
Merged

Enhancement: Tag autocomplete, keyboard shortcut overlay, and reading…#49
hunter-read merged 1 commit intohunter-read:mainfrom
KrapfalAT:feature/small-enhancements

Conversation

@KrapfalAT
Copy link
Copy Markdown
Contributor

Summary

Three small UX enhancements to the reader and book editor:

  • Tag autocompleteInlineTagEditor now accepts a suggestions prop. While typing a tag name, a dropdown shows matching existing tags from the library. Navigate with arrow keys, confirm with Enter or mouse click. Works in the book editor (all tags from the library are suggested).
  • Keyboard shortcut overlay — A keyboard icon button in the reader toolbar (and the ? key) opens a modal listing all reader keyboard shortcuts. Fully localised (en-US + de-DE).
  • Reset reading progress — A "Reset reading progress" button appears in the book editor when a saved page position exists. Clicking it clears the stored progress so the book reopens from page 1.

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Docs / configuration only

Testing

  • Backend tests pass (pytest -q)
  • Frontend tests pass (npm test)
  • Tested manually in the browser

Notes for reviewer

All three features are purely frontend. No backend or schema changes. The suggestions prop on InlineTagEditor is backwards-compatible (defaults to []), so existing usages on maps and tokens are unaffected.

… progress reset

- InlineTagEditor: add suggestions prop with dropdown autocomplete (arrow key navigation)
- ReaderView: add keyboard shortcut overlay (? key) with LuKeyboard toolbar button, fully i18n'd
- BookEditor: add reset reading progress button (visible only when progress exists), allTags prop for tag autocomplete
- en-US.json / de-DE.json: add reader shortcut keys and bookEditor reset progress keys

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hunter-read hunter-read added this to the v1.2.2 milestone Apr 17, 2026
@hunter-read hunter-read merged commit c4ac22c into hunter-read:main Apr 17, 2026
5 checks passed
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