Commit Graph

1803 Commits

Author SHA1 Message Date
troyeguo
ec317cdc3d Remove unnecessary right padding from text input in cardList CSS 2025-09-27 11:02:22 +08:00
troyeguo
f6ca83f848 refactor(SettingDialog): remove pagination settings and related logic 2025-09-26 20:08:34 +08:00
troyeguo
9c75764811 feat(BookList): implement infinite scroll and dynamic book count display 2025-09-26 20:07:30 +08:00
troyeguo
f189d9c34d refactor(BookList): simplify book list rendering and remove unused pagination handlers 2025-09-26 19:18:52 +08:00
troyeguo
9dacea7832 style: update card and note list styles for improved layout and loading behavior 2025-09-26 18:24:15 +08:00
troyeguo
84a8974177 fix(popupRefer): add validation for empty or long text content
fix(progressPanel): improve percentage display precision
feat(thirdparty): add warning for 115 cloud sync
fix(login): update service recommendation text
refactor(bookCoverItem): simplify percentage display logic
refactor(bookCardItem): simplify percentage display logic
docs(translation): update Chinese locale strings
2025-09-26 15:32:07 +08:00
troyeguo
5e1d38b09c update template 2025-09-25 07:45:34 +08:00
troyeguo
209ca24470 update issue template 2025-09-25 07:42:28 +08:00
troyeguo
90c5f9afcd update issue template 2025-09-25 07:37:21 +08:00
troyeguo
5d2ee72b63 update issue template 2025-09-25 07:20:10 +08:00
troyeguo
23ac328bb6 update issue template 2025-09-25 07:18:56 +08:00
troyeguo
950fadf589 feat: add Yandex Disk support and update drive configurations
- Added Yandex Disk as a supported drive option in ImportDialog and SyncSetting components.
- Updated driveList to include Yandex Disk with appropriate configurations.
- Reorganized driveList entries for better clarity and consistency.
- Increased timeout duration for third-party requests from 6 seconds to 10 seconds in request utilities.
2025-09-24 16:30:45 +08:00
troyeguo
d95d7909b4 Remove console.log statements from UpdateInfo and PopupRefer components to clean up the code and reduce unnecessary logging. v2.1.6 2025-09-21 08:44:12 +08:00
troyeguo
f410c42fe5 Add logging for chapter resolution in PopupRefer component 2025-09-20 20:00:08 +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
aa60e5b6ae fix bug 2025-09-19 22:24:32 +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
3dfb9a872f fix: update access token expiration for yiyiwu service to 30 minutes 2025-09-15 17:39:49 +08:00
troyeguo
43d5b24882 Refactor scrollbar styles for improved visibility and remove dark mode support v2.1.5 2025-09-14 16:18:38 +08:00
troyeguo
c5c9a6bdaf Enhance scrollbar styles for scrolling HTML viewer
- Implement custom scrollbar styles for both standard and WebKit browsers.
- Set scrollbar to be thin and transparent by default.
- Display scrollbar on hover with a semi-transparent background.
- Add dark mode support for scrollbar visibility against dark backgrounds.
- Improve user experience with smooth transitions on scrollbar interactions.
2025-09-14 16:13:07 +08:00
troyeguo
b809a24b5b fix: update margin in content list CSS and improve third-party request handling
- Adjusted margin-left in contentList.css from 18px to 15px for better layout.
- Refactored thirdparty.ts to handle refresh tokens more robustly, ensuring access tokens are included for specific services and improving error handling during authorization.
2025-09-14 15:48:05 +08:00
troyeguo
d2aab1515a Refactor: Remove console log for auth URL in ImportDialog and reduce timeout durations in third-party request functions
- Removed unnecessary console log statement in ImportDialog component when opening the auth URL.
- Reduced timeout duration from 10 seconds to 6 seconds in onSyncCallback, encryptToken, and decryptToken functions for improved responsiveness.
2025-09-14 09:36:58 +08:00
troyeguo
1720070469 Refactor PopupRefer integration and simplify conditional rendering in Viewer
- Updated import from PopupMenu to PopupRefer in popupRefer component.
- Removed unused action imports in popupRefer component.
- Simplified conditional rendering for PopupRefer in Viewer component by removing format check for currentBook.
2025-09-13 17:52:34 +08:00
troyeguo
917a1166fd Refactor progress percentage display and enhance content list expansion logic
- Updated the display logic for reading progress percentage in BookCardItem, BookCoverItem, and BookListItem components to use fixed decimal formatting.
- Implemented automatic expansion of content list items in ContentList component based on the current chapter's location.
- Added methods to check and expand parent paths for the current chapter in the content list.
- Modified the rendering logic to support expanded items in the content list.
- Adjusted the navigation panel to prevent mouse events based on search state.
- Improved progress panel input handling to ensure proper default value formatting.
- Enhanced viewer component to conditionally render elements based on book format.
2025-09-13 17:01:08 +08:00
troyeguo
4a9b48e014 Enhance user feedback and styling
- Added padding-bottom to the importLocal component's CSS for improved layout.
- Reduced the duration of error toast notifications from 8000ms to 6000ms in thirdparty.ts to provide a more concise user experience.
- Implemented a timeout mechanism in the loginRegister function to notify users about potential connection issues when the server region is not set to China, with a toast notification duration of 6000ms.
2025-09-13 16:04:05 +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
3ca30dbb8a Add Dubox support and localization
- Added Dubox to the drive list with support for desktop and phone.
- Included Dubox in the sync settings to allow for synchronization.
- Updated localization files to include the Chinese translation for Dubox.
2025-09-08 17:44:47 +08:00
troyeguo
54248f7ddb fix: reduce timeout duration for reload after clearing settings v2.1.4 2025-09-07 17:00:24 +08:00
troyeguo
ccc41e63b6 Refactor PopupMenu and SearchBox components; remove console logs, enhance search state handling, and improve book selection logic
- Removed debug console logs from PopupMenu component.
- Updated SearchBox to handle navigation search state more effectively after search results are processed.
- Introduced handleIndexFilter method in SelectBook to streamline book selection based on search results.
- Adjusted state mapping in SelectBook index to include search-related props.
- Enhanced book location handling in CardList to include chapter information for PDF format.
- Added mouse leave event handling in NavigationPanel to manage search state.
- Cleaned up unnecessary console logs in SyncSetting component.
- Improved highlighter rendering logic in Viewer to accommodate PDF format and chapter indexing.
- Simplified conditionals in Reader component related to navigation locking.
2025-09-07 11:11:36 +08:00
troyeguo
66f217497a feat: add timeout error message for connection issues in mainland China
- Added a localized error message for request timeouts, suggesting users switch server regions to China.
- Refactored delete dialog component to directly delete bookmarks and notes without a separate method.
- Improved sync status handling in the header component to ensure toast notifications are managed correctly.
- Updated general settings to reload manager after clearing data.
- Implemented timeout handling in third-party request functions to notify users of potential connection issues based on server region and language.
2025-09-06 16:00:46 +08:00
troyeguo
a0ee1e2c02 feat: add option to export books with original file names
- Added a new translation key for exporting books with original names in Chinese locale.
- Updated DeleteDialog component to handle search state when deleting books.
- Enhanced MoreAction component to use a utility function for generating book names during export.
- Improved error handling in ImportLocal component to include book names in error messages.
- Adjusted PopupMenu component to ensure proper positioning of the popup.
- Introduced a new setting option for exporting books with original names in general settings.
- Updated interfaces to include new props and state for handling search and export options.
- Implemented logic in export utility to conditionally use original file names based on user settings.
- Enhanced error messages in the reader request module to provide more context on dictionary lookups.
2025-09-05 17:42:17 +08:00
troyeguo
118143d7dc Add translations, update popup links, adjust card list height, enhance sync settings UI, modify login page images, remove Vercel config, and add mobile QR code for Chinese language. 2025-09-04 17:35:35 +08:00
troyeguo
81d6a4b1cf feat: update Windows Store build process and modify app icons 2025-09-04 14:18:05 +08:00
troyeguo
c47f543882 Add new application icon in ICO format 2025-09-04 13:11:59 +08:00
troyeguo
340c025e20 fix: update workflow name for clarity in build/release process 2025-09-04 13:06:30 +08:00
troyeguo
c36dd9add8 feat: add GitHub Actions workflow for building and releasing Electron app 2025-09-04 13:05:40 +08:00
troyeguo
a48cff8335 feat: update app icons and remove unused icon files 2025-09-04 13:03:25 +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
f07f6225f5 Implement code changes to enhance functionality and improve performance 2025-09-04 10:30:41 +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
4fdd5850da feat: Clear token and code box on email change in account settings
- Added functionality to clear the token in the state and reset the code input box when the email format is validated.
- Removed unnecessary navigation and sync record generation in general settings after changing storage location.
v2.1.3
2025-09-01 10:22:26 +08:00