- Commented out the "Get metadata" button in the EditDialog component for future use.
- Reduced z-index in protection CSS from 99999 to 10 for better layering.
refactor(common): optimize cover processing in upgradeStorage function
refactor(configUtil): expand config list to include dict and background configurations
refactor(coverUtil): update cover processing to handle async operations
refactor(restore): improve restore functionality to support additional asset types
- Added separate IPC listeners for "before-reader-close" and "before-tab-close" to manage close events more effectively.
- Updated the onBeforeClose method to send signals for both reader and tab closures, ensuring proper cleanup and state management.
- Removed redundant check for a single chapter labeled "Title".
- Updated condition to check for "Chapter 0" instead of "Title 0" for better clarity and accuracy.
- Added logic to handle bookmark deletion in the DeleteIcon component, checking if the current bookmark matches the recorded location before deletion.
- Updated the mapStateToProps in the DeleteIcon index file to include currentBook from the Redux store.
- Modified DeleteIconProps interface to include currentBook of type BookModel.
- Adjusted padding in the Sidebar component for better UI alignment.
- Updated sidebar CSS to refine height calculation for improved layout.
- Replaced AdmZip with JSZip for handling new backup format
- Implemented lazy loading of zip structure to optimize memory usage
- Added functions to convert streams to buffers and write streams to files
- Enhanced processing of config entries and asset files with error handling
- Maintained backward compatibility with old backup format using AdmZip
- Implemented background color handling in SettingSwitch component to update the background color based on reader configuration.
- Enhanced KOReader synchronization process by ensuring document MD5 is set if not already present, improving the reliability of progress syncing.
- Added calls to handleKOReaderSync in the Header component to ensure synchronization state is managed correctly during various sync operations.
- Added translations for "Cloud" and "Get more results" in zh-CN.json.
- Integrated trimSpecialCharacters utility in EditDialog to clean book names and authors.
- Enhanced MetadataDialog to support cloud-based book metadata retrieval.
- Implemented a button in MetadataDialog for fetching additional results from the cloud.
- Updated interface to include new properties for handling cloud search and authentication state.
- Added getBookMetadata function to request book metadata from the cloud.
- Adjusted CSS for better layout in the metadata dialog.
- Removed unnecessary console logs from PopupDict and handleFetchPlugins functions.
- Updated Viewer component to utilize XPath navigation if KOReader sync is enabled.
- Introduced getBookPath method in BookUtil to retrieve the book's file path based on its key and format.
- Enhanced KOReader sync logic to include timestamp checks and partial MD5 calculation for books.