Add Phase 3: Reading Experience features#10
Merged
gvonness-apolitical merged 2 commits intomainfrom Feb 2, 2026
Merged
Conversation
- Table of Contents: Extract and display TOC from EPUB (foliate-js toc), PDF (outline), and CBZ (folder structure) - Zoom & Display: ZoomController with 50%-300% range, fit modes (page/width/none), keyboard shortcuts (Ctrl+/-/0) - Layout Toggle: 1-page and 2-page spread views for PDF and CBZ - Minimizable Toolbar: Icon-only controls with expand/collapse, replaces old navigation buttons - New UI Components: ReaderToolbar, TocPanel (slide-in), ZoomControls - DisplayController for session-only zoom/scroll position persistence - Auto-switch to single-page layout on narrow viewports (<768px) - Unit tests for ZoomController and DisplayController (36 new tests) - Updated E2E tests and visual regression snapshots
- Fix CBZ scroll clipping: use margin:auto instead of justify-content:center to allow full scrolling when zoomed in - Add persistent scrollbars with styling when content overflows - Reduce zoom step from 10% to 5% for smoother transitions - Add `locked` property to disable loadFile() and lock to src/manifest
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
New Components
ZoomController- Manages zoom state with clamping (0.5-3.0)DisplayController- Manages layout and scroll position persistenceReaderToolbar- Minimizable toolbar with TOC, zoom, layout, and nav controlsTocPanel- Slide-in TOC navigation with tree structureZoomControls- Zoom in/out buttons with percentage displayTest plan