Comic nav, Clear All History, and fast ZIP book switching - #13
Merged
Conversation
Replace numeric volume guessing with natural-sorted siblings among supported book and image files so irregular names like 06(디카) or 640-641 still work. Co-authored-by: Cursor <cursoragent@cursor.com>
Harden NFC basename matching and add a samples/ integration check so 05 -> 06(디카) -> 07 works with PageUp/PageDown. Co-authored-by: Cursor <cursoragent@cursor.com>
Wipe every recent book and saved reading position in one confirmed action so removed history reopens from page 1. Co-authored-by: Cursor <cursoragent@cursor.com>
Use yauzl for random-access archive open so PageDown can show the next book quickly, then warm about 10 pages in the background. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Key the page image cache by book id, clear it on book change, and drop in-flight decodes so the viewer cannot keep showing the previous ZIP. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Aug 6, 2026
CI does not ship gitignored 용랑전 zips; only run the local integration assertions when at least 9 volumes are present. Co-authored-by: Cursor <cursoragent@cursor.com>
2 tasks
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
06(디카),640-641,11 - 디카, etc.)yauzlrandom-access (no full-fileJSZipload); warm ~10 pages after first paintbookId, cleared on change (stops showing the previous book for ~10s)This branch includes the work from #11 and #12; those can be closed after this merges.
Test plan
release/rebuiltnode scripts/smoke-comic-open.mjsPASS on samples (large ZIP open ~ms)samples용랑전 volumes: new book appears immediately (not old book lingering)Test with:
release\win-unpacked\All Book Reader.exe