Commit Graph
1150 Commits
Author SHA1 Message Date
troyeguo 1ea8ab962e feat: add ISBN display and copy functionality in metadata dialog
- Added ISBN field to the metadata dialog for book details.
- Implemented copy-to-clipboard feature for ISBN with a toast notification on success.
- Updated styles for the ISBN display and copy button for better user experience.
2026-09-10 16:23:51 +08:00
troyeguo f909f84679 Enhance metadata dialog: sanitize and parse description HTML, format rating display 2026-09-10 16:06:41 +08:00
troyeguo 1d6da45937 feat: add rating and publication details to MetadataDialog and enhance styling 2026-09-10 16:01:57 +08:00
troyeguo 6de9346914 Refactor MetadataDialog to use rating_source and update CloudBookItem interface
- Removed the hardcoded source string and replaced it with rating_source from the item in MetadataDialog component.
- Updated the CloudBookItem interface to include additional properties: isbn, rating_source, rating, rating_count, categories, pub_date, language, and pages.
2026-09-10 15:54:52 +08:00
troyeguo 19d466cab2 feat: implement exclusive mode handling for reader settings
- Added `exclusiveModeNames` array to define modes that should be mutually exclusive.
- Introduced `handleExclusiveOff` method to disable other exclusive modes when one is enabled.
- Updated click handlers for `isReadingRuler`, `isSpeedReading`, and `isParagraphMode` to call `handleExclusiveOff` when enabling their respective modes.
2026-09-07 15:31:30 +08:00
troyeguo c4cadd8ed5 feat: add merge word functionality and state management in reader settings 2026-09-07 10:07:15 +08:00
troyeguo 7317fcd466 feat: update viewer and settings components to manage background visibility based on text orientation and page border settings 2026-09-07 09:39:44 +08:00
troyeguo a8af344ea0 feat: add speed reading functionality and settings 2026-09-07 09:33:14 +08:00
troyeguo 51f618bd92 feat: add reading ruler toggle functionality to SettingSwitch component 2026-09-06 17:37:25 +08:00
troyeguo 1961cc74e5 feat: add reading ruler functionality and state management 2026-09-06 17:24:44 +08:00
troyeguo 9d1dede564 feat: add reading ruler configuration options to SliderList component
- Introduced readingRulerLineHeight and readingRulerBackgroundOpacity state properties
- Removed redundant mode handling logic in constructor
2026-09-06 17:14:50 +08:00
troyeguo 4bd0c6985a feat: add reading ruler settings and functionality
- Added new settings for enabling a reading ruler, including line height and background opacity.
- Updated English and Chinese localization files to include new strings for reading ruler settings.
- Implemented slider components for adjusting reading ruler line height and background opacity.
- Enhanced the settings management to persist reading ruler configurations.
- Updated viewer component to utilize reading ruler settings.
2026-09-06 15:34:56 +08:00
troyeguo e28f0fbc0b feat: add paragraph mode toggle functionality to SettingSwitch component
- Removed isParagraphMode from the state object.
- Implemented handling for isParagraphMode toggle in the component.
- Added a setTimeout to render the book after toggling paragraph mode.
2026-09-06 15:06:52 +08:00
troyeguo 11fc1576c3 feat: add paragraph mode setting and localization
- Added "Enable paragraph mode" option to the reader settings.
- Updated English and Chinese localization files to include the new setting.
- Modified the SettingSwitch component to handle the new paragraph mode state.
- Integrated paragraph mode into the viewer component to conditionally render background.
- Updated Redux actions, reducers, and state to manage paragraph mode.
2026-09-06 15:02:03 +08:00
troyeguo 649f098566 feat: enhance archive entry handling to include size and filename in zip/tar file processing 2026-09-05 18:00:38 +08:00
troyeguo 08777b2b61 feat: implement clearComicTemp function to clean up temporary comic files 2026-09-05 17:38:35 +08:00
troyeguo bb53e3ea56 refactor: streamline error handling in comic import and remove unused stream processing method 2026-09-05 17:09:47 +08:00
troyeguo 11be34f357 feat: add error handling for comic cover extraction and update localization strings 2026-09-05 17:04:03 +08:00
troyeguo d366064ae1 feat: add support for handling CBZ/CBT files and implement IPC methods for zip/tar file operations 2026-09-05 16:32:51 +08:00
troyeguo 6f1207bb33 feat: add stream processing for book content in ImportLocal component
- Implemented `streamProcessBookContent` method to handle streaming imports for CBZ and CBT file types.
- Added error handling for non-Electron environments.
- Updated dependencies in yarn.lock to include new packages and versions for improved functionality.
2026-09-05 10:52:55 +08:00
troyeguo 79212b5e86 refactor: remove console logs from main and auto import dialog 2026-09-01 10:54:09 +08:00
troyeguo 274bf98651 feat: add scan for new books functionality in auto import dialog 2026-09-01 09:33:46 +08:00
troyeguo 11c83e4880 fix: add auto scan and import feature description to UI 2026-09-01 09:19:30 +08:00
troyeguo cfd1f9e0c6 fix: correct spelling of 'getHightlightCoords' to 'getHighlightCoords' in PopupNote and noteUtil 2026-08-30 10:30:44 +08:00
troyeguo 9f1e08aa14 refactor: add unique ID to success and error toast messages for export actions 2026-08-29 15:48:25 +08:00
troyeguo 0750a49334 feat: add isAiWaiting state to manage AI response loading in PopupTrans component 2026-08-29 09:52:40 +08:00
troyeguo b786dd7787 feat: add prompt for book name in search functionality and improve Azure TTS voice display name 2026-08-28 10:18:14 +08:00
troyeguo 32575a4aca feat: update popup styles and add resize functionality 2026-08-24 14:46:43 +08:00
troyeguo bd67e88fb5 feat: implement toggle dock functionality for popup and update styles 2026-08-24 11:55:20 +08:00
troyeguo 813a42a704 feat: add pin/unpin functionality for popup drag handle 2026-08-24 11:28:20 +08:00
troyeguo 9cb1aa31c7 fix: adjust popupBox positioning and refine drag handle styles 2026-08-24 11:24:45 +08:00
troyeguo 0cbc1c900b feat: add sidebar icon and update font files
- Added a new sidebar icon to the icomoon font set.
- Updated font files (EOT, TTF, WOFF, SVG) to include the new icon.
- Modified style.css to reference the updated font files and include the new sidebar icon.
- Integrated the sidebar icon into the PopupBox component for drag handle functionality.
2026-08-24 10:58:40 +08:00
troyeguo c0d80e482a feat: add logging for docked popup drag start and trigger menu mode changes 2026-08-24 10:48:44 +08:00
troyeguo 5b0f25d8f4 fix: set toast position to bottom-center for download notifications across multiple components 2026-08-24 10:33:13 +08:00
troyeguo fa21f23663 refactor: reorganize language selector layout and adjust CSS for improved styling 2026-08-23 14:22:34 +08:00
troyeguo 0b3a7fd05f feat: enhance handleLookUp method to accept text parameter and update state on prop changes 2026-08-23 11:50:15 +08:00
troyeguo 9bb3ec647c feat: update service handling in PopupAssist and PopupTrans for authenticated users 2026-08-23 11:22:03 +08:00
troyeguo 1cedef5380 Refactor PopupDict component to streamline dictionary service handling and reset configurations
- Added logic to set the default dictionary service to "official-ai-dict-plugin" for authenticated users.
- Updated state management to retrieve dictionary service from ConfigService consistently.
- Removed redundant checks and streamlined the flow for determining dictionary text retrieval.
- Cleared dictionary, translation, and AI service configurations upon token clearance in common.ts.
2026-08-23 11:13:10 +08:00
troyeguo 95056c60f8 Remove unnecessary console.log statements and refactor translation plugin functions for improved readability and consistency. 2026-08-22 14:42:20 +08:00
troyeguo f9dd8924c1 feat: set update channel to 'dev' for versions above stable if not configured 2026-08-21 10:35:57 +08:00
troyeguo 39f7e2383a fix: add error handling for simultaneous activation of word definitions and fast reading mode 2026-08-20 11:18:27 +08:00
troyeguo 372362de7d Refactor TextToSpeech component to streamline sentence splitting logic and improve readability
- Removed redundant checks for PDF format when processing nodeTextList and visibleTextList.
- Consolidated sentence splitting logic into a single mapping operation for both nodeTextList and visibleTextList.
- Adjusted the speed parameter in the speech synthesis initialization from 20 to 10 for improved audio performance.
2026-08-19 15:39:36 +08:00
troyeguo 7042bcce2f Refactor TextToSpeech and Reader components for improved readability
- Cleaned up conditional statements in TextToSpeech and Reader components for better readability.
- Added console log for debugging purposes in TextToSpeech.
- Adjusted styling properties in Reader component for consistency.
- Enhanced toast message formatting in TextToSpeech for clarity.
2026-08-19 10:30:57 +08:00
troyeguo a2b8a22b1d Enhance update dialog logic and update channel selection
- Updated the logic in the UpdateInfo component to prevent updates from being applied if the stable version matches the current version and the update channel is not set to "dev".
- Added a default option "Please select" to the update channel selection in the AboutSetting component for better user experience.
2026-08-18 15:48:12 +08:00
troyeguo 1c639d975b fix: use unique toast id for concurrent download progress
- add toastId parameter to showDownloadProgress to support multiple concurrent downloads
- use book.key-based toast id in redirectBook to prevent progress overlap
- use distinct toast id in importDialog to avoid conflicts with book downloads

Closes #0
2026-08-17 15:21:41 +08:00
troyeguo cd9348df0f fix(importLocal): improve error handling in file reading process 2026-08-16 15:40:31 +08:00
troyeguo 10adc08e0e fix(importLocal): optimize file handling and size retrieval in handleFilePath method 2026-08-16 15:10:12 +08:00
troyeguo 67defd29ab feat(crypto): add file MD5 hashing functionality and update related APIs 2026-08-16 14:49:24 +08:00
troyeguo 45515fc47e feat: implement auto-import folder functionality with lightweight deduplication and refactor related components 2026-08-15 09:39:36 +08:00
troyeguo 31822a6f2d fix: improve formatting and structure in auto-import folder functionality 2026-08-15 08:55:23 +08:00