feat(reader): add fullscreen, keyboard shortcuts, search cancel, and go-to-percentage #2698
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.
📝 Description
Adds several usability improvements to the ebook reader: fullscreen mode, keyboard shortcuts help dialog, search cancellation, go-to-percentage input, and additional standard keyboard shortcuts.
🏷️ Type of Change
🔧 Changes
Fkey or header button, withEscapeto exit?or click help icon in header to view all shortcutsSpace/Shift+Space(page navigation),Home/End(first/last section),T(TOC),S(search),N(notes)T,S,Nshortcuts toggle their respective panels open/closed🧪 Testing
F→ enters fullscreen; press again → exits. Header button toggles icon?→ shortcuts help dialog opens; click "Got it" or press?/Escape→ closesSpace/Shift+Space→ navigates forward/backwardHome/End→ jumps to first/last sectionT→ toggles TOC sidebar;S→ search panel;N→ notes panelEscape→ closes the topmost open dialog/panel📸 Screenshots / Video (MANDATORY)
✅ Pre-Submission Checklist
develop(merge conflicts resolved)./gradlew testfor backend,ng testfor frontend)💬 Additional Context (optional)
Both ebook and CBX readers now share the same standard keyboard shortcuts for common functions (arrows, Space, PageUp/PageDown, Home/End, F, Escape, ?). Reader-specific shortcuts (T/S/N for ebook panels, D/P for CBX direction/slideshow) remain unique to each reader.