Commit Graph

177 Commits

Author SHA1 Message Date
troyeguo
351da80ee1 fix: update driveList support to include browser for Yandex, Yiyiwu, and PCloud
chore: add crypto-js dependency to yarn.lock
2026-05-03 10:31:15 +08:00
troyeguo
50b50e9861 feat: add reading statistics page with heatmap and charts
- 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.
2026-04-24 14:57:28 +08:00
troyeguo
39cfc43ece Refactor code structure for improved readability and maintainability 2026-04-24 12:28:08 +08:00
troyeguo
a79bc0b8fa feat: integrate color-thief-browser for background color analysis in settings 2026-04-11 16:23:30 +08:00
troyeguo
4b32218321 feat(i18n): add script for managing translation files and patching nan.h
- 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.
2026-04-07 08:59:10 +08:00
troyeguo
8f91fd8460 feat: add discord-rpc dependency and update related packages in yarn.lock 2026-04-07 08:38:37 +08:00
troyeguo
c2a653d7d5 fix bug 2026-01-28 16:42:36 +08:00
troyeguo
9483cbb07d Add Prettier as a dependency and update configuration settings 2026-01-28 16:42:20 +08:00
troyeguo
19fff2542e feat: add Google Drive Picker selection prompt and improve import functionality
- 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.
2026-01-01 16:43:12 +08:00
troyeguo
3c69f3a8b3 chore: update typescript to version 5.9.3 in package.json and yarn.lock 2025-12-27 18:39:18 +08:00
troyeguo
5667fbff30 feat: add debug log retrieval feature and improve error handling
- 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.
2025-12-17 11:29:02 +08:00
troyeguo
caa89e3439 Refactor drive and login list handling to remove isCNAvailable checks
- 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.
2025-12-13 16:16:56 +08:00
troyeguo
5d1c277f6c feat: add download progress tracking and browser download option for Windows
- 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.
2025-09-16 17:27:10 +08:00
troyeguo
a2a6afa5e8 feat: integrate auto-updater for application updates and bump version to 2.1.6 2025-09-15 17:57:57 +08:00
troyeguo
77afae29c4 Refactor code structure for improved readability and maintainability 2025-09-11 18:36:36 +08:00
troyeguo
061f8adcf3 Refactor code structure for improved readability and maintainability 2025-09-11 08:12:27 +08:00
troyeguo
34c18ca022 fix: update OS matrix in release workflow and adjust GCC installation condition
feat: remove Google Drive Picker dependency and update translations for import feedback
2025-08-17 08:20:13 +08:00
troyeguo
1b2f63d25d feat: Integrate Google Picker for file import functionality
- Added GooglePickerUtil class to handle Google Picker API interactions.
- Implemented handleGooglePicker method in ImportDialog to initiate file selection.
- Created handlePickerCallback to process selected files and handle imports.
- Updated driveList to remove experimental Google Drive option.
- Adjusted syncSetting component to remove references to the experimental Google Drive.
- Added a placeholder function showGooglePicker in common utilities.
- Updated yarn.lock to include @googleworkspace/drive-picker-element dependency.
2025-08-14 11:24:46 +08:00
troyeguo
a5e9d42684 feat: enhance reader settings with new properties and update translation for UI elements 2025-07-25 17:47:30 +08:00
troyeguo
691b937907 refactor: remove auto-launch dependency and update related logic 2025-06-27 16:05:47 +08:00
troyeguo
1ce06ed8d8 feat: add auto-launch setting for Electron app and update version to 2.0.4 2025-06-27 15:33:50 +08:00
troyeguo
4e5296bdb1 feat: remove digests from state and components, add sse.js dependency, and enhance note list styles 2025-06-27 11:41:25 +08:00
troyeguo
081c8c3404 feat: add sort shelf dialog functionality and related state management 2025-05-21 17:33:06 +08:00
troyeguo
6b1d22dc05 fix: update megajs version and improve import dialog functionality 2025-05-08 11:20:14 +08:00
troyeguo
8d47f7a79a fix: update font files and enhance popup assist functionality with new features 2025-05-02 10:12:21 +08:00
troyeguo
82415409ff fix bug 2025-04-06 10:49:21 +08:00
troyeguo
08eaaf9937 enable sandbox mode and update electron-builder dependency 2025-04-04 15:53:40 +08:00
troyeguo
d8530f7f9e fix bug 2025-02-23 17:32:01 +08:00
troyeguo
60fe9bd7c3 fix bug 2025-02-18 11:16:55 +08:00
troyeguo
549dd32652 fix bug 2025-02-17 16:52:18 +08:00
troyeguo
5f22e58a5f fix bug 2025-02-13 11:27:56 +08:00
troyeguo
84761dc529 fix bug 2025-02-10 16:59:37 +08:00
troyeguo
05a0a8ef14 fix bug 2025-02-10 15:54:43 +08:00
troyeguo
469b2a87ea fix bug 2025-02-04 13:50:23 +08:00
troyeguo
ce81f864b6 fix bug 2025-02-02 16:02:15 +08:00
troyeguo
e1e52a1881 fix bug 2025-01-23 20:45:12 +08:00
troyeguo
fc343f0514 fix bug 2025-01-23 20:29:40 +08:00
troyeguo
b304741fbe fix bug 2025-01-23 20:19:32 +08:00
troyeguo
dc2e2d8478 fix bug 2025-01-23 19:58:28 +08:00
troyeguo
47a71c06c6 fix bug 2025-01-23 09:16:57 +08:00
troyeguo
2339244bd8 fix bug 2025-01-22 12:24:37 +08:00
troyeguo
9746c0479a fix bug 2025-01-21 20:14:34 +08:00
troyeguo
40b6e3cbfb fix bug 2025-01-21 09:16:38 +08:00
troyeguo
4ea74bba81 fix bug 2025-01-01 17:46:21 +08:00
troyeguo
f26003625e fix bug 2024-12-15 18:23:28 +08:00
troyeguo
e0101574a8 fix bug 2024-12-10 20:38:51 +08:00
troyeguo
b40416939a fix bug 2024-12-09 23:32:20 +08:00
troyeguo
2864e0f932 fix bug 2024-12-01 15:55:52 +08:00
troyeguo
a951b9e7e4 fix bug 2024-12-01 13:25:23 +08:00
troyeguo
b84b086b72 fix bug 2024-12-01 08:55:37 +08:00