Add bidirectional Kobo reading progress sync (#2791)

* Add bidirectional Kobo reading progress sync

* Gate all two-way sync paths behind the toggle

* Add comprehensive unit tests for Kobo services

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-02-18 13:32:12 -07:00
committed by GitHub
co-authored by acx10
parent 78f60f0c60
commit bb0609a78a
23 changed files with 1692 additions and 90 deletions
@@ -273,6 +273,8 @@ export class EbookReaderComponent implements OnInit, OnDestroy {
// Navigate to saved position if progress exists, otherwise go to first page
if (book.epubProgress?.cfi) {
return this.viewManager.goTo(book.epubProgress.cfi);
} else if (book.epubProgress?.percentage && book.epubProgress.percentage > 0) {
return this.viewManager.goToFraction(book.epubProgress.percentage / 100);
} else {
return this.viewManager.goTo(0);
}