- Changed the error message when the Koodo Reader's folder is not found in the iCloud Drive to provide more specific instructions for users.
- Updated the toast notification duration for better visibility.
- Added removal of sync utilities and cloud configuration in prepareThirdConfig.
- Integrated IPC call to close cloud service in Electron environment.
- Simplified getCloudConfig by directly returning the result of prepareThirdConfig without checking for token updates.
- Updated ConvertDialog to handle new OCR engine "official-ai-ocr" and adjusted language list retrieval.
- Added UNSAFE_componentWillReceiveProps lifecycle method in TextToSpeech to refresh voice list when plugins change.
- Changed default OCR engine in Viewer component from "tesseract" to "paddle" for consistency.
- Modified isBookOffline method in BookUtil to pass the book path for existence checks.
- Updated Chinese translation for AI voice feature to indicate mobile preview option.
- Added console log for debugging sort code in SortDialog component.
- Adjusted CSS for note tags and card list items for better layout.
- Modified default note sort code from 2 to 1 in the manager actions.
- Enhanced exportBooks function to improve UI responsiveness during file export.
- 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 unused imports in the importLocal component.
- Added a new script to manage localization files, including:
- Listing folders in the locales directory.
- Identifying missing translation terms in English.
- Merging missing terms into the English translation file.
- Filling out missing terms in other language files based on the English reference.
- Added translation for "Compare Free and Pro features" in Chinese.
- Updated CSS to remove bold font weight from certain elements for better UI consistency.
- Changed toast notification ID from "import-book" to "add-book" for clarity.
- Added console log for debugging raw node list in TextToSpeech component.
- Implemented renewal notification for Pro users in Header component.
- Updated HeaderState interface to include isRenewPro state.
- Enhanced AccountSetting component to include a clickable link for comparing plans when not authenticated.
- Added a similar clickable link in the Login component for plan comparison.
- Removed unnecessary bold font weight from login CSS for improved styling.
- Added a loading toast message during the book import process to enhance user feedback.
- Introduced a new translation key for "Importing" in the Chinese locale.
- Refactored plugin fetching logic to create new objects for voice items, improving code readability and maintainability.
- Removed the uploadBookToCloud method from ImportLocal component to streamline the code.
- Updated PopupRefer component to enhance the navigation logic and state management.
- Added isTokenExpired utility function to check token validity for various services.
- Ensured await is used for uploadBook calls in BookUtil and CoverUtil to maintain proper asynchronous flow.
- Enhanced restoreFromfilePath function with additional logging for debugging purposes.
- Modified getCloudSyncToken to handle specific error codes more gracefully.
- Improved SyncService to utilize the new isTokenExpired function for better cache management.
- Updated the margin-top for account login tips in settingDialog.css for better layout.
- Added console log to display current data in NavList component for debugging purposes.
- Implemented error handling in the login component to check for missing parameters before proceeding with login.
- Added console log in the reader component to track the book object for debugging.
- Added new Chinese translations for export prompts, trial information, and folder selection.
- Updated the AboutDialog component to remove success toast on export.
- Enhanced the setting dialog with new account login tips.
- Modified the SortDialog to fetch notes after sorting and improved sorting UI.
- Updated ImportLocal component to truncate book names in success/error messages.
- Added a title for tags in the NoteTag component.
- Adjusted styles in various components for better UI consistency.
- Implemented sorting functionality for notes based on user preferences.
- Updated the ConfigUtil to support sorting notes by key or percentage.
- Enhanced the export functionality to handle large book exports in Electron.
- 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 string for invalid authentication token message in Chinese.
- Implemented token validation in the header component, displaying error messages for invalid tokens and failed tasks.
- Updated user info handling to ensure synchronization token is set correctly.
- Refactored task progress display logic to improve user feedback during data transfer.
- Introduced a new utility function to fetch task statistics for better sync management.
- Added new translations for "More accurate", "Chinese", and "Official AI OCR" in the Chinese locale.
- Refactored OCR language list to dynamically generate options based on authentication status.
- Introduced a new function `getOcrPaddleLangList` to fetch OCR language options with localization.
- Updated the ConvertDialog component to handle user authentication for accessing the Official AI OCR feature.
- Integrated the `getOcrResult` function to handle OCR requests with error handling and user feedback.
- Modified viewer and reader components to include authentication checks for server region settings.
- Ensured consistent use of localization across dropdown labels and error messages.
- 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.