feature: cache EPUB on startup - #30
Conversation
📝 WalkthroughWalkthroughThe PR refactors the application to store opened EPUB files and metadata in application state instead of filesystem paths. Bootstrap now opens the EPUB at startup and caches metadata. Commands and the URI protocol handler read from the stored wrapper, eliminating file-opening calls and enabling synchronous metadata retrieval. ChangesEPUB-backed Application Data Refactoring
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
EpubWrapperstruct to store metadata and EPUB.Epub::open()Summary by CodeRabbit
Release Notes