- Implemented Stats component to display reading statistics including total books read, total reading time, longest streak, and daily averages.
- Added heatmap visualization for reading activity over the last 52 weeks.
- Included bar and line chart options for displaying reading data over the last 30 days.
- Created responsive layout with styled cards for displaying key statistics.
- Integrated i18n for translation support.
- Added CSS for styling the stats page, cards, heatmap, and charts.
- Implemented a script to list locale folders and identify missing translation terms in English.
- Added functionality to copy missing terms from Chinese translations to English.
- Enhanced the script to fill in missing terms for other languages based on the updated English file.
- Created a patch script for nan.h to comment out the inclusion of nan_scriptorigin.h for cross-platform compatibility.
- Removed console log statements from PopupDict and TextToSpeech components to clean up the code.
- Changed the 'isPDF' property for the 'Allow Javascript in the books' setting from true to false.
- Updated the language mapping for Taiwan from "台湾地区" to "中国台湾" in the TTS language map.
- 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 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.
- 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.
- 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.
- Removed unnecessary console.log statements from PopupAssist and PopupRefer components to clean up the code.
- Simplified the handleLocalSync method in the Header component by adjusting the lastSyncTime comparison logic.
- Updated the scrollContents function in common.ts to handle cases where chapterHref may be undefined.
- Cleaned up the getLastSyncTimeFromConfigJson function in file/common.ts for better clarity.
- Added a new line for better formatting in the Viewer component after setting state.
- Added support for "mailto" links in the ImageViewer component.
- Refactored handleShowMenu method in PopupRefer to improve footnote handling.
- Introduced isElementFootnote utility function to identify footnote elements based on patterns.
- Updated getTargetHref function to streamline href extraction from nested elements.
- Added console logs for debugging purposes during link processing.
- Added "Download in Browser" option for Windows users in the update dialog.
- Implemented download progress tracking with state management for progress, downloaded size, and total size.
- Updated translation files for Chinese (Simplified and Traditional) to reflect changes in download terminology.
- Refactored download logic to handle both Windows and non-Windows environments.
- Updated translation file to include "115 Yun" in Chinese.
- Modified import dialog to handle authentication for "yiyiwu" and log the auth URL.
- Added "115 Yun" to the drive list with necessary configurations.
- Enhanced sync settings to support "yiyiwu" for syncing options.