docs: Add comprehensive implementation plan for manga EPUB and panel detection
This document provides a complete, phased implementation plan for: - Enabling manga EPUBs in manga library (not just CBZ/CBR) - Detecting fixed-layout EPUBs vs reflowable EPUBs - Processing issue tracking for format mismatches - Universal panel detection for manga and comics libraries - Smart panel detection that works for PDF comics but not PDF ebooks Key features: - All changes follow existing code patterns with exact line numbers - 9 implementation phases in correct dependency order - Code-around context for every change (before/after) - Testing checklist and rollback plan - Database schema changes, scanner enhancements, new handlers, frontend updates Panel detection logic: - Manga library + fixed_layout/comic_archive → panel detection ON - Comics library + fixed_layout/comic_archive → panel detection ON - Ebooks library + any format → panel detection OFF - Comics library + PDF → panel detection ON - Ebooks library + PDF → panel detection OFF Implementation addresses the constraint that manga EPUBs live in /manga/ directory physically but must be filtered to only show fixed-layout EPUBs in the manga library (not reflowable novels). This is a planning document only - no code changes yet.
This commit is contained in: