- Updated the PopupOption component to apply inline styles for the setting icon, changing its color to #8a8f9f and font size to 24px.
- Removed the corresponding CSS class definition for .setting-icon from popupOption.css to streamline styles.
- Added a new field for selecting and displaying the book path in the edit dialog.
- Integrated Electron's IPC to allow users to select a book path from the file system.
- Updated the state management to include the book path and ensure it is saved with the book details.
- Enhanced the UI to provide options for locating and selecting the book path.
- Added corresponding styles for the new book path UI elements.
- Updated icon font files (eot, svg, ttf, woff) with new versions.
- Modified CSS to reference updated font files with new query strings.
- Added new "Reading" section in the settings dialog sidebar.
- Restored "Background" option in the settings dialog sidebar.
- Enhanced backup dialog to handle settings more effectively.
- Added success toast notifications for dropdown list actions.
- Adjusted reading status filter dropdown width for better UI.
- Added translation for "Enable Discord Rich Presence" and its description in Chinese.
- Introduced a new setting option for enabling Discord Rich Presence in the settings panel.
- Implemented functionality to update Discord Rich Presence with the current book information when reading.
- Added methods to clear Discord Rich Presence when the reader is closed.
- Updated the percentage display in the reading progress to show as a percentage.
- Updated various components to remove checks for "DJVU" format, focusing solely on "PDF".
- Adjusted conditions in BookCardItem, BookCoverItem, BookListItem, and others to streamline format handling.
- Removed "DJVU" support from routing and supported formats.
- Ensured consistency across components regarding PDF handling and configuration checks.
- Updated Chinese translations for book opening settings and quota reset message.
- Refactored book path handling in ActionDialog to check both local and library paths.
- Added new setting for auto-maximize book window on open.
- Removed deprecated auto-fullscreen setting from GeneralSetting.
- Updated interfaces and constants to reflect changes in settings.
- Enhanced TTS audio quota message to include reset information.
- Updated emptyCover component to change background color for DJVU format.
- Added route for DJVU in the router configuration.
- Included DJVU in the list of supported formats.
- Enhanced GooglePickerUtil to recognize DJVU file type.
- Replaced direct token deletion calls with a new `handleClearToken` utility function in multiple components (SupportDialog, UpdateDialog, AccountSetting) to streamline token management.
- Removed unnecessary console log statements across various components to clean up the codebase.
- Deleted the unused `i18n-mobile-script.js` file.
- Updated the `handleExitApp` function to include token clearing before redirecting to the login page.
- Removed redundant token validation and error handling from the Header component.
- Introduced `prepareThirdConfig` function to streamline token refresh and validation for third-party services.
- Updated `getCloudConfig` to utilize the new `prepareThirdConfig` for better token management.
- Simplified `SyncService` to eliminate unnecessary dependencies on third-party requests during initialization.
- Enhanced error handling and user feedback for token authorization failures in the third-party request module.
- Added a new translation for the error message when the iCloud Drive folder is not found in the default path.
- Updated the Header component to log cloud sync records and compare results for better debugging.
- Enhanced the SyncSetting component to handle iCloud Drive path retrieval and provide user feedback on binding success or failure.
- Modified the getICloudDrivePath function to improve path detection for macOS and Windows, ensuring compatibility with the Koodo Reader application.
- Cleaned up the code in various utility files for better readability and maintainability.
- Extracted search result retrieval logic into a separate method in SearchBox component for better readability and maintainability.
- Updated importDialog CSS to adjust positioning of elements for improved layout.
- Added conditional toast notifications in TextToSpeech component to only show messages when audio is enabled.
- Enhanced error handling in common utility functions by increasing toast duration for better user visibility.
- Modified SQL queries in BookUtil to use parameterized queries for improved security and performance.
- Improved case-insensitive search functionality in BookUtil to ensure consistent results regardless of input case.
- Simplified the rendering logic in the Background component by introducing a helper function to determine dark mode and shadow opacity.
- Updated BackgroundProps interface to include backgroundColor.
- Modified mapStateToProps in background index to include backgroundColor from the state.
- Enhanced deleteDialog component to fetch full details of deleted books before deletion.
- Added handleColor prop to PopupNote component for better color management.
- Updated language label for Portuguese in settingList.
- Improved performance in bookList and cardList components by optimizing data fetching.
- Refactored noteList component to streamline note handling and mapping.
- Cleaned up backup utility by removing unnecessary config backup steps.
- Added a prompt in Chinese for users to select books in the Google Drive Picker.
- Enhanced the Google Picker handling in the ImportDialog component to open an external URL for selection.
- Updated the displayed books count in the BookList component to a fixed value of 24.
- Improved logging for debugging purposes across various components, including ImportLocal and ContentList.
- Refactored backup functions to ensure proper directory creation for configuration files.
- Updated dependencies in yarn.lock for better compatibility and performance.
- Added translations for overwriting default text style, account deletion instructions, and related UI elements in zh-CN locale.
- Updated global CSS to adjust the width of custom confirmation dialog.
- Enhanced import and setting dialogs to include new settings for overwriting text style.
- Modified account settings to provide instructions for account deletion via mobile app.
- Updated sync settings to conditionally handle snapshot retrieval based on Electron environment.
- Improved error handling for CORS issues with a suggestion to use the desktop app.
- Ensured snapshot retrieval is only attempted in Electron environment.
- Updated PopupBox to send menuMode type when checking URL window status.
- Modified PopupDict and PopupTrans to include a type parameter when opening external URLs.
- Refactored Header component to ensure 'isFinshReading' is set correctly and added logging for sync operations.
- Improved AccountSetting component to streamline login and binding processes, ensuring proper error handling and user feedback.
- Enhanced openExternalUrl utility to accept a type parameter for better URL handling in Electron.
- Added console logging for configuration string during backup to assist in debugging.
- Added `isShowUrl` state to `PopupBox` and `PopupDict` components to manage URL display based on Electron environment.
- Implemented logic in `PopupBox` to hide the component when `isShowUrl` is true and menu mode is either "dict" or "trans".
- Updated interfaces for `PopupBox` and `PopupDict` to include `isShowUrl` state.
- Modified `Header` component to await backup operations for improved synchronization.
- Added functionality in `GeneralSetting` to read and apply configuration from `config.json` upon changing storage location.
- Enhanced `SettingDialog` with bold styling for new plugin indication.
- Added console logging for debugging highlighters in `Viewer` component.
- Added a new translation key for "Get debug logs" in Chinese localization.
- Implemented a UI element in the settings to trigger debug log retrieval.
- Enhanced error handling across various components to display error messages using toast notifications.
- Updated the sync settings to inform users about Aliyun Drive's restrictions.
- Added a new dependency `electron-log` for improved logging capabilities.