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
+2
View File
@@ -136,6 +136,8 @@
"searchInBook": "Search in book",
"annotate": "Annotate",
"addNote": "Add Note",
"goToLink": "Go to Link",
"removeLink": "Remove Link",
"deleteAnnotation": "Delete Annotation"
},
"shortcutsHelp": {
+50 -5
View File
@@ -3,9 +3,31 @@
"switchToLightMode": "Switch to Light Mode",
"switchToDarkMode": "Switch to Dark Mode",
"closePdfReader": "Close PDF Reader",
"rotatePage": "Rotate Page",
"fullscreen": "Fullscreen",
"exitFullscreen": "Exit Fullscreen"
"exitFullscreen": "Exit Fullscreen",
"sidebar": "Contents",
"search": "Search",
"searchPlaceholder": "Search in document...",
"searchNext": "Next Result",
"searchPrevious": "Previous Result",
"zoomIn": "Zoom In",
"zoomOut": "Zoom Out",
"spreadMode": "Page Layout",
"rotatePage": "Rotate Page",
"bookmarkAdd": "Add Bookmark",
"bookmarkRemove": "Remove Bookmark",
"addBookmark": "Add Bookmark",
"removeBookmark": "Remove Bookmark",
"freeText": "Text Note",
"highlight": "Highlight",
"textNote": "Text Note",
"ink": "Free Draw",
"draw": "Free Draw",
"annotationColor": "Annotation Color",
"deselectTool": "Deselect Tool",
"pan": "Pan Mode",
"moreOptions": "More options",
"closeSearch": "Close search"
},
"footer": {
"firstPage": "First Page",
@@ -15,12 +37,35 @@
"of": "of",
"pageSlider": "Page Slider",
"pagePlaceholder": "Page",
"go": "Go"
"go": "Go",
"bookViewer": "Book Viewer",
"docViewer": "Doc Viewer"
},
"sidebar": {
"title": "Sidebar",
"close": "Close sidebar",
"contentsTab": "Contents",
"bookmarksTab": "Bookmarks",
"annotationsTab": "Annotations",
"noContents": "No table of contents available",
"noBookmarks": "No bookmarks yet",
"bookmarkHint": "Tap the bookmark icon to save your place",
"noAnnotations": "No annotations yet",
"annotationHint": "Use the highlight tool to annotate text",
"deleteBookmark": "Delete bookmark",
"deleteAnnotation": "Delete annotation",
"page": "Page"
},
"toast": {
"failedToLoadBook": "Failed to load the book"
"failedToLoadBook": "Failed to load the book",
"bookmarkAdded": "Bookmark Added",
"bookmarkRemoved": "Bookmark Removed",
"bookmarkExists": "Bookmark already exists on this page",
"annotationSaved": "Annotations Saved",
"annotationFailed": "Failed to save annotations"
},
"docViewer": {
"changesSavedInfo": "Changes are written to file here"
"changesSavedInfo": "Changes are written to file here",
"dismiss": "Dismiss"
}
}