3266 Commits
Author SHA1 Message Date
troyeguo c8f3146e49 Merge pull request #1646 from koodo-reader/dev
chore: update Node.js version to 22.14.0 in Docker workflow
2026-09-26 16:04:28 +08:00
troyeguo 00355b1799 chore: update Node.js version to 22.14.0 in Docker workflow 2026-09-26 16:01:31 +08:00
troyeguo b1106ecb79 Merge pull request #1645 from koodo-reader/dev
update to 2.4.5
2026-09-26 09:43:20 +08:00
troyeguo 2fb57ded62 fix bug v2.4.5 2026-09-26 09:34:40 +08:00
troyeguo b40353531d Update localization files for Ukrainian, Vietnamese, Chinese (Simplified, Traditional, and Macau) with new translations and corrections for reading features, plugin warnings, and user interface elements. 2026-09-26 07:51:04 +08:00
troyeguo 7092eaeb24 Add new localization strings for various features in multiple languages
- Updated Swedish, Tamil, Thai, Tagalog, Turkish, Ukrainian, Vietnamese, Chinese (Simplified and Traditional) localization files.
- Added translations for features such as reading ruler, speed reading, ISBN, ratings, member login, and more.
- Included security warnings for custom plugins and instructions for importing notes and highlights.
- Enhanced user experience with additional prompts and settings related to book management and app functionality.
2026-09-26 07:33:02 +08:00
troyeguo 647c639bb5 feat: implement exit-reader functionality and remove console logs for cleaner code 2026-09-25 15:53:15 +08:00
troyeguo 8c9dd2bad7 feat: add console logs for reader window close events and improve exit handling in OperationPanel 2026-09-25 15:16:37 +08:00
troyeguo 0a980a0eab Enhance Text-to-Speech and Header Components
- Increased the delay in the TextToSpeech component from 10 to 20 milliseconds for improved performance.
- Added console logging in the Header component to track the 'reading-finished' event and the execution of the handleFinishReading method, aiding in debugging and monitoring sync behavior after reading completion.
2026-09-25 15:00:22 +08:00
troyeguo 5f0cf7332b fix bug 2026-09-25 10:21:20 +08:00
troyeguo b817b936e1 feat: enhance reading aid mode logic and improve event handling for scroll prevention 2026-09-23 16:17:08 +08:00
troyeguo 19403b96f0 feat: implement isReadingRawPDF utility and refactor related components for improved PDF handling 2026-09-23 10:31:31 +08:00
troyeguo 156bb19f54 fix: improve error handling for TTS voice retrieval and plugin voice list validation 2026-09-23 10:19:13 +08:00
troyeguo d1d44e475a Refactor zhipuTTSVoice.js for improved readability and consistency in formatting 2026-09-23 09:49:03 +08:00
troyeguo 4e8f65ad30 fix: improve error handling by rejecting with error messages in TTS voice plugins 2026-09-23 09:45:47 +08:00
troyeguo d2bbb482dc Refactor mouse event handling to use isReadingAidMode for scroll prevention
- Replaced isPreventScroll function with isReadingAidMode check in arrowKeys and bindHtmlEvent functions.
- This change simplifies the logic for determining when to prevent scrolling in reading modes.
2026-09-23 09:15:33 +08:00
troyeguo 07514ca438 Enhance UI elements in ContentList and BackgroundSetting components
- Increased margin-right in ContentList component for better spacing.
- Adjusted width in contentList.css for improved layout consistency.
- Modified margin-top in contentList.css for better alignment.
- Updated class names in BackgroundSetting component to include 'background-apple-button' for styling consistency across buttons.
2026-09-22 17:39:39 +08:00
troyeguo 73617808ad feat: update localization and settings for reading ruler height
- Added new localization string for "Reading ruler height" in zh-CN.json.
- Updated the title in the reading ruler slider configuration from "Line height" to "Reading ruler height" for better clarity.
2026-09-22 17:13:56 +08:00
troyeguo 86d04dfba3 Update render logic to conditionally display PopupMenu based on paragraph mode and speed reading state 2026-09-22 15:58:33 +08:00
troyeguo f4575b1aed Update reading ruler background opacity to 0.6 across components
- Changed default value of reading ruler background opacity from 0.5 to 0.6 in settingSwitch component.
- Updated initial state for reading ruler background opacity to 0.6 in sliderList component.
- Modified viewer component to parse reading ruler background opacity as 0.6.
2026-09-22 15:46:51 +08:00
troyeguo ca332f13f6 Update TTS output format to improve audio quality 2026-09-22 14:59:59 +08:00
troyeguo 65db06dc7d Refactor code structure for improved readability and maintainability 2026-09-20 17:48:51 +08:00
troyeguo 42a8071121 Bump version to 2.4.5 in package.json 2026-09-20 16:09:58 +08:00
troyeguo 8acc499315 Refactor applyTextRules method to improve readability and maintainability 2026-09-20 15:12:38 +08:00
troyeguo 053653951e Refactor plugin handling in SettingDialog and improve null safety in book and dict utilities 2026-09-20 14:55:35 +08:00
troyeguo bbbf9a76c0 Fix rating display in MetadataDialog and update supported image formats in importLocal component
- Ensure filled stars are not negative in MetadataDialog by using Math.max.
- Update the list of supported comic image formats in importLocal to include .tif, .tiff, and .heic while removing .avif, .apng, .ico, and .cur.
2026-09-20 11:03:00 +08:00
troyeguo ca65ef5eac fix bug 2026-09-20 09:52:01 +08:00
troyeguo 73362b2514 Refactor SettingDialog component: Simplify JSX structure and conditionally render new plugin section based on window.electronAPI 2026-09-20 08:53:50 +08:00
troyeguo c1e7f0b500 Add "Please reselect voices for all roles" translation in multiple languages and update voice selection logic in TextToSpeech component 2026-09-19 14:34:27 +08:00
troyeguo 1075f59457 fix: update TTS output format to improve audio quality 2026-09-19 10:51:36 +08:00
troyeguo bbcdaeaf6c refactor(restore): enhance validation for book formats and config values; improve error handling for cover formats 2026-09-19 10:22:03 +08:00
troyeguo 3712e256b2 feat(plugin): add security warning for custom plugins and refactor add new plugin handling 2026-09-19 10:02:41 +08:00
troyeguo 136548291e Refactor voice plugin handling and localization updates
- Removed localization strings for unsupported custom voice plugins in multiple languages.
- Updated the plugin settings component to handle custom voice plugins with new verification methods.
- Introduced new types and utility functions for custom voice plugins.
- Enhanced error handling and user feedback for TTS plugin operations.
- Cleaned up unused variables and conditions related to custom voice plugins in the plugin manager.
2026-09-19 09:43:13 +08:00
troyeguo 38f8634797 refactor: update voice and translation imports for consistency and clarity 2026-09-19 09:10:04 +08:00
troyeguo 88aa3f2b94 Update settingDialog styles: enhance conic gradient background with additional color stops 2026-09-19 09:05:49 +08:00
troyeguo f97d05c8ce fix(localization): update CJK font family translations in zh-CN and zh-TW locales; refactor dropdownList to reposition CJK font family option 2026-09-18 17:36:15 +08:00
troyeguo 7c45adb391 fix bug 2026-09-18 16:07:25 +08:00
troyeguo 8dba9c13c7 Update settingDialog styles: change background color and adjust conic gradient colors 2026-09-18 15:41:31 +08:00
troyeguo 3253a07d41 Add OCR cache management functions and integrate into Viewer component
- Implemented `getOcrCache` and `saveOcrCache` functions in `common.ts` for managing OCR cache files.
- Added `getOcrCachePath` utility to construct the file path for OCR cache based on book key and chapter index.
- Integrated OCR cache retrieval and saving in the `Viewer` component to enhance performance and user experience.
2026-09-17 11:54:13 +08:00
troyeguo e4c8e26138 Update cloud drive references in localization files and constants
- Changed "Baidu Netdisk" to "OneDrive" in multiple localization files (id.json, ie.json, it.json, ja.json, ko.json, nl.json, pl.json, pt-BR.json, pt.json, ro.json, ru.json, sl.json, sr.json, sv.json, ta.json, th.json, tl.json, tr.json, uk.json, vi.json, zh-CN.json, zh-MO.json, zh-TW.json).
- Updated the proFeatures constant in loginList.tsx to reflect the change in cloud drive options.
2026-09-17 09:38:09 +08:00
troyeguo 85fe95f59a fix(proFeatures): remove email & live-chat priority support from pro features list 2026-09-17 09:34:09 +08:00
troyeguo 1f1030eaaa Implement code changes to enhance functionality and improve performance 2026-09-17 08:27:17 +08:00
troyeguo 645b896e21 feat: update icon styles and enhance popupRefer functionality
- Removed color properties from various icon classes in style.css for a cleaner design.
- Added logic in PopupRefer component to handle chapter redirection and jump to previous position.
- Updated mapStateToProps in popupRefer index to include handleJumpPosition action.
- Extended PopupReferProps interface to include handleJumpPosition for better type safety.
2026-09-15 16:39:22 +08:00
troyeguo 323a1e376f refactor(transCache): replace transCache with transCacheMap and transCacheDirPath for improved cache management 2026-09-15 15:58:28 +08:00
troyeguo 245663828e fix(localization): improve translations for clarity and detail in Chinese locale 2026-09-15 15:31:25 +08:00
troyeguo d6148d57e2 feat(account): add showLoginOptions state to manage login method visibility 2026-09-15 15:15:16 +08:00
troyeguo 012cab762c feat(account): update login text to 'Register / Login' for clarity 2026-09-15 14:59:11 +08:00
troyeguo 2b737c2166 feat(account): enhance pro banner trial button with new gradient animation and styling 2026-09-15 14:57:18 +08:00
troyeguo d9a1071ca6 fix(settingDialog): adjust margin-bottom for setting dialog container 2026-09-15 14:51:53 +08:00
troyeguo c9b3ac57cb feat(account): add glowing animation to pro banner trial button in light theme 2026-09-15 14:43:16 +08:00