472 Commits

Author SHA1 Message Date
troyeguo
46c650be57 fix: update version number in package.json to 2.2.5 2026-01-02 16:58:24 +08:00
troyeguo
4f53d426a2 fix: update version number in package.json to 2.2.4; enhance hostname check in Header component to include isElectron condition 2026-01-01 11:02:55 +08:00
troyeguo
f7fb29de65 fix: correct spelling of SupportDialog in component and interface files; revert version number in package.json 2026-01-01 10:08:24 +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
dc2c147f28 fix: update version number to 2.2.4 in package.json 2025-12-18 22:00:57 +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
3dc74a41fa feat: add email format validation and improve sync record reset instructions
- 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.
2025-12-16 17:45:31 +08:00
troyeguo
15c95cec91 feat: add additional supported languages in electronLanguages 2025-12-14 18:41:36 +08:00
troyeguo
8203b6d42e Remove toast notification for China server region selection in account and login components 2025-12-14 14:32:12 +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
aacbbde9e1 chore: bump version to 2.2.3 in package.json 2025-11-30 09:46:47 +08:00
troyeguo
00673a1052 Bump version to 2.2.2 in package.json 2025-11-04 10:34:32 +08:00
troyeguo
43866ab9b6 Increase reading time interval from 1 second to 5 seconds in Reader component 2025-11-02 20:21:58 +08:00
troyeguo
3895cd0dd8 chore: update version to 2.2.0 and remove console log from Header component 2025-10-26 10:05:12 +08:00
troyeguo
ec27a7953f Remove unnecessary console.log statements from PopupMenu, PopupRefer, and OperationPanel components to clean up the code and improve performance. 2025-10-19 08:38:20 +08:00
troyeguo
dbf3eb3e2c Refactor: Remove console.log statements and improve code readability
- 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.
2025-10-05 11:24:23 +08:00
troyeguo
c81ecb07a9 feat: Enhance link handling and footnote detection in image viewer and popup components
- 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.
2025-10-04 18:26:09 +08:00
troyeguo
caef7d3b5c feat: implement download cancellation feature and add new settings for book title usage 2025-10-03 21:38:26 +08:00
troyeguo
ba44612d37 Refactor PopupRefer component to remove unnecessary console logs and streamline text content validation; enhance Login component to display a warning message for Microsoft login in China. 2025-09-28 09:59:18 +08:00
troyeguo
0825f9379f Implement code changes to enhance functionality and improve performance 2025-09-20 15:01:26 +08:00
troyeguo
19930e9597 refactor: simplify architecture targets in package.json and comment out asset filters in upload.sh 2025-09-20 10:46:25 +08:00
troyeguo
e75bd1bdf2 Implement code changes to enhance functionality and improve performance 2025-09-20 10:35:04 +08:00
troyeguo
c7e70bc3f4 Filter out specific asset files from GitHub release downloads in upload.sh 2025-09-20 10:00:55 +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
8c1f2a28bd Add support for 115 Yun (yiyiwu) cloud storage
- 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.
2025-09-10 15:36:31 +08:00
troyeguo
81d6a4b1cf feat: update Windows Store build process and modify app icons 2025-09-04 14:18:05 +08:00
troyeguo
6973acbdea Refactor code structure for improved readability and maintainability 2025-09-04 12:19:16 +08:00
troyeguo
5a477751db Refactor code structure for improved readability and maintainability 2025-09-04 10:32:27 +08:00
troyeguo
af3af4bcd7 Refactor code structure for improved readability and maintainability 2025-09-04 09:38:01 +08:00
troyeguo
5868b552f6 feat: update appId for appx configuration and refine update dialog logic 2025-09-02 16:45:58 +08:00
troyeguo
479530431d feat: update version to 2.1.4, remove isDisableUpdate state from settings, and add appx configuration 2025-09-02 16:24:44 +08:00
troyeguo
bdac73b907 Refactor PopupMenu positioning logic and remove unnecessary console logs
- Updated PopupMenu component to improve positioning logic based on the popup's rectangle dimensions.
- Removed console log statements from SettingSwitch and Reader components to clean up the code.
- Cleaned up CORS testing utility by removing debug logs while maintaining functionality.
2025-08-31 15:29:21 +08:00
troyeguo
31aa599f88 feat: restrict lemmatization feature to authenticated users
- Added a check in the SettingDialog component to display an error toast when the user attempts to toggle the lemmatize word setting without authentication.
- Removed references to the lemmatize word setting from general and plugin settings components, including state management and interface definitions.
- Updated the reading setting list to comment out the lemmatize word setting.
- Adjusted CSS for the scrollbar in the note tags container.
- Implemented a reset sync records feature in the SyncSetting component with a success toast notification.
- Cleaned up console logs in the Reader component.
2025-08-24 14:36:33 +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
cf41e2bfd9 fix: update release workflow to include multiple OS targets and modify package.json for Linux x64 builds 2025-08-12 09:27:30 +08:00
troyeguo
bb39345e74 fix: add ARM64 target for deb packaging in package.json and set environment variable for Ubuntu 24.04-arm 2025-08-12 08:51:03 +08:00
troyeguo
29a7fe009b fix: remove ARM64 target from build configuration in package.json 2025-08-12 08:24:43 +08:00
troyeguo
731898cde5 fix: update build configuration to use Ubuntu 24.04-arm and adjust product naming in package.json 2025-08-12 07:35:25 +08:00
troyeguo
991b167f3a fix: update build configuration to use Ubuntu for release workflow and adjust product naming in package.json 2025-08-12 06:59:38 +08:00
troyeguo
9c1ab7f6a0 fix: refine Windows build configurations and artifact naming in release workflow 2025-08-11 22:42:22 +08:00
troyeguo
3645c9ab72 fix: update workflow and package.json to support Windows 11 ARM architecture 2025-08-11 21:04:43 +08:00
troyeguo
77c2d1efa1 Refactor code structure for improved readability and maintainability 2025-08-11 20:18:04 +08:00
troyeguo
051084fa93 Remove unnecessary console log in PopupAssist component during ask mode handling 2025-08-10 10:41:26 +08:00
troyeguo
b0d027cd0e feat(settings): add option to disable auto scroll between chapters
- Added new translations for disabling auto scroll functionality in Chinese.
- Updated SettingDialog component to include a new setting for disabling auto scroll.
- Modified the interface to include the new isDisableAutoScroll state.
- Updated the reading settings list to include the new auto scroll option.
- Refactored SyncSetting component to remove unused state variables and include necessary ones.
- Adjusted mouse event handling to respect the new auto scroll setting.
- Minor update to user request handling for server region check.
2025-08-09 10:46:56 +08:00
troyeguo
d9878bf5b7 feat: bump version to 2.0.9; add readerMode prop to TextToSpeech interface and update related components 2025-08-03 15:00:02 +08:00
troyeguo
31848d33a2 feat: bump version to 2.0.8; remove unused scripts and clean up console logs 2025-07-27 10:48:46 +08:00