feat(pdf): move ebook reader to embedpdf, add bookmarks, remove old pdf.js stuff (#393)

* feat(pdf): move ebook reader to embedpdf, add bookmarks, remove old pdf.js stuff

* feat(pdf): add page number support for bookmarks and enhance mobile navigation

* feat(pdf): implement document ID tracking for search functionality

* feat(pdf): add page number column to book marks and update unique index

* feat(pdf): enhance annotation handling and improve search result scrolling

* feat(pdf): improve layout handling and enhance resize observer functionality

* feat(pdf): improve document viewer initialization and improve close button styling

* fix(pdf): remove 'form' from disabled categories

* feat(pdf): add pan mode functionality and enhance sidebar layout

* feat(pdf): improve book viewer initialization with enhanced element detection

* feat(pdf): add link handling to text selection and improve popup actions

* feat(pdf): enhance link detection and improve selection handling in event service

* feat(pdf): improve accessibility and improve resource management in PDF viewer

* feat(pdf): add resize observer for improved layout handling

* feat(pdf): error handling and improve navigation in PDF reader
This commit is contained in:
brios
2026-04-22 17:27:07 -04:00
committed by Zach Yale
parent e3b22ed9c6
commit 6c8a907325
29 changed files with 3681 additions and 724 deletions
@@ -10,6 +10,7 @@ export interface BookMark {
cfi?: string; // For EPUB bookmarks
positionMs?: number; // For audiobook bookmarks
trackIndex?: number; // For folder-based audiobooks
pageNumber?: number; // For PDF bookmarks
title: string;
color?: string;
notes?: string;
@@ -23,12 +24,14 @@ export interface CreateBookMarkRequest {
cfi?: string; // For EPUB bookmarks
positionMs?: number; // For audiobook bookmarks
trackIndex?: number; // For folder-based audiobooks
pageNumber?: number; // For PDF bookmarks
title?: string;
}
export interface UpdateBookMarkRequest {
title?: string;
cfi?: string;
pageNumber?: number;
color?: string;
notes?: string;
priority?: number;