- Updated the translation for the sync issue in `zh-CN` locale to specify the correct folder path for KoodoReader.
- Removed unnecessary console log statements from `PopupBox`, `Header`, and `backup` functions to clean up the code.
- Added a placeholder method `dumpDatabase` in `DatabaseService` for future implementation.
- 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 new translations for Koodo Sync feature in Chinese.
- Refactored backup dialog component to streamline imports.
- Updated header component to prompt users to enable Koodo Sync for improved synchronization experience.
- Modified account settings to handle cloud synchronization upon login.
- Integrated cloud sync functionality into sync settings and login components.
- Implemented new utility functions for handling cloud sync tokens and configurations.
- Improved error handling and user feedback during sync operations.
- 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.
- Added email format validation in login and account settings.
- Enhanced user feedback for resetting sync records with detailed instructions in the sync settings.
- Introduced a version comparison utility function for better version handling in update checks.
- Updated Chinese translations for improved clarity on sync issues.
- Added a confirmation dialog for changing the server region, prompting the user to log out first.
- Implemented a confirmation dialog when changing the default sync option if there are online books not downloaded locally.
- Introduced a new utility function `vexComfirmAsync` for handling confirmation dialogs asynchronously.
- Updated translations for new confirmation messages in Chinese.
- Refactored logout handling in account settings to improve code readability and maintainability.
- Adjusted the visibility change handler in the book list component to simplify logic.
- Minor adjustments to error handling and toast notifications across components.
- Updated BackupDialog and ImportDialog components to directly use driveList without filtering based on isCNAvailable.
- Removed isCNAvailable property from driveList and loginList constants.
- Simplified login option selection in AccountSetting and Login components by eliminating region-based filtering.
- Adjusted SyncSetting component to utilize the full driveList without CN availability checks.
- Updated yarn.lock to reflect changes in megajs dependency version.
- Added a flag to prevent multiple sync operations in the Header component.
- Updated visibility change event to handle reading completion state.
- Set reading completion state when the operation panel closes.
- Adjusted beforeunload event to mark reading as finished when not in Electron.
- Removed unnecessary console log statements from Header and CardList components to clean up the code.
- Updated handleFinishReading method in Header to ensure that the cloud sync operation is awaited properly after setting the sync state.
- Ensured that the "isFinshReading" flag is set correctly after the sync operation.
- Added a new translation for the scenario where a data source already contains a library.
- Implemented resetKoodoSync function to handle enabling and disabling Koodo Sync.
- Updated the header component to utilize the resetKoodoSync function.
- Modified sync settings component to call resetKoodoSync when changing sync options and added a toast notification for existing cloud data.
- Introduced isCloudEmpty method in ConfigUtil to check if the cloud data is empty before merging.
- Replaced direct access to server region in BackupDialog with a utility function `getServerRegion`.
- Adjusted sort functionality in SortDialog to simplify rendering of sort options.
- Added logging for reading finish events in Header and improved handling of sync state changes.
- Simplified card sorting logic in CardList by removing unnecessary utility function calls.
- Removed redundant setting of "isFinshReading" in OperationPanel and Reader components.
- Updated showTaskProgress to accept a callback for sync state changes.
- Adjusted mouse event timing in mouseEvent utility for better responsiveness.
- Enhanced request handling in user, thirdparty, and reader request utilities to include server region.
- Enhanced the error message for failed tasks to include reauthorization instructions in the Chinese translation.
- Added console logs for debugging purposes in the header component during sync operations.
- Refactored server region selection logic to display the current region for authenticated users and provide a dropdown for unauthenticated users.
- Updated the task progress function to reflect the new error message for failed tasks.
- Modified book download logic to retrieve and download covers from the cloud.
- Updated translation.json to include messages for redeeming codes based on purchase source (website or Tabao).
- Enhanced supportDialog and accountSetting components to display appropriate toast messages when a specific response code (10009) is received, guiding users on how to redeem their codes based on their server region.
- Modified configUtil to streamline the process of fetching sync data by type.
- Added translation for "Send email" and "Email copied to clipboard" in Chinese.
- Implemented email copy to clipboard feature in AboutDialog component.
- Enhanced navigation logic in Header component to check mode before redirecting.
- Updated state mapping in Header container to include mode.
- Removed unused imports in AccountSetting component.
- Simplified download logic in Viewer component to improve error handling.
- Updated `BookCardItem`, `BookCoverItem`, and `BookListItem` components to consolidate state updates for cover existence and offline status.
- Removed redundant state updates in lifecycle methods for better performance.
- Enhanced `PopupTrans` component by moving the "Add" button to a more logical position and removing duplicate code.
- Improved CSS for `PopupTrans` to enhance layout and scrollbar visibility.
- Removed unused `resetKoodoSync` function from user request utilities to clean up codebase.