Commit Graph
1184 Commits
Author SHA1 Message Date
troyeguo 88aa3f2b94 Update settingDialog styles: enhance conic gradient background with additional color stops 2026-09-19 09:05:49 +08:00
troyeguo 8dba9c13c7 Update settingDialog styles: change background color and adjust conic gradient colors 2026-09-18 15:41:31 +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 245663828e fix(localization): improve translations for clarity and detail in Chinese locale 2026-09-15 15:31:25 +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
troyeguo ce854c31e3 feat(account): update pro banner styles for improved dark theme support 2026-09-15 14:35:32 +08:00
troyeguo 6e4ccdc40c feat(account): add dark theme styling for pro banner 2026-09-15 12:22:54 +08:00
troyeguo 3279813ab6 feat(account): enhance pro banner button with trial animation and styling 2026-09-15 11:16:03 +08:00
troyeguo f0721c57e3 fix(account): adjust pro banner button styles for trial option 2026-09-15 11:14:23 +08:00
troyeguo 59e0b90ffc feat(account): add pro version banner with login and trial options 2026-09-15 11:12:41 +08:00
troyeguo a7d1dd2cdf feat(account): implement pro version banner with styling and features 2026-09-15 10:56:39 +08:00
troyeguo e6626130c3 feat(account): integrate pro features into support dialog and account settings 2026-09-15 10:43:50 +08:00
troyeguo 43ef9d11d9 fix(PopupDict): reload audio players when dictText is updated 2026-09-13 15:34:21 +08:00
troyeguo 52ef556f56 fix(ImportLocal): ensure recordPath is used for database records to prevent empty paths 2026-09-13 15:34:11 +08:00
troyeguo 5d1a5ac4cd refactor(PopupOption): improve handleCopy method for better text copying logic 2026-09-13 11:41:48 +08:00
troyeguo e67d9daaf9 refactor(ImportLocal): replace 'any' type with 'File' for improved type safety 2026-09-13 11:16:53 +08:00
troyeguo c54136679f refactor(ImportLocal): remove redundant type annotations for file variable 2026-09-13 11:14:36 +08:00
troyeguo 7e1d98bf3e fix(importLocal): enhance file path handling to ensure valid disk paths are used 2026-09-13 11:00:53 +08:00
troyeguo b117c26895 fix(selectBook): adjust submenu positioning for notes, highlights, and words 2026-09-12 17:47:16 +08:00
troyeguo d8db403e7f feat(export): add JSON format support for export functions and enhance export options 2026-09-12 17:43:54 +08:00
troyeguo 6e9fc1bc0a Fix image resizing issue in ImageViewer component
- Restore default width constraint to prevent image from flashing in original size when switching images.
2026-09-12 17:09:01 +08:00
troyeguo 485014faff feat(export): enhance export functions to return detailed status results 2026-09-12 16:37:14 +08:00
troyeguo 6c605aabbf feat(tts): implement text rules for speech synthesis and apply them before reading 2026-09-12 16:08:44 +08:00
troyeguo 59ad859ec7 refactor: clean up unused CSS styles and improve file size handling in ImportLocal component 2026-09-12 14:55:51 +08:00
troyeguo dcd6329f58 feat: implement getOfficialDictLang utility function and update dict language retrieval 2026-09-12 09:08:28 +08:00
troyeguo c098655265 feat: add experimental option to show total page number in reader settings
- Added a new setting for displaying the total page number in the reader settings interface.
- Updated the localization file to include the new setting label in Chinese.
- Modified the component state and interface to manage the new setting.
- Included the new setting in the reader settings list for configuration.
2026-09-11 15:08:00 +08:00
troyeguo d6f06cb932 feat: add success and error messages for AI title recognition in edit dialog 2026-09-11 14:43:25 +08:00
troyeguo 68c8d324ae refactor: update AI title analysis terminology and improve button styling in edit dialog 2026-09-11 14:38:29 +08:00
troyeguo e5f8dc86df feat: add AI title analysis feature in edit dialog
- Added "Analyze title with AI" functionality to the edit dialog, allowing users to analyze book titles using AI.
- Implemented a new button in the edit dialog for triggering the title analysis.
- Updated English and Chinese localization files to include the new feature.
- Enhanced the edit dialog's CSS for better layout and user experience.
2026-09-11 11:05:23 +08:00
troyeguo ed8fbe4e15 feat: add AI-based book title and author recognition during import
- Introduced a new feature that utilizes AI to recognize book titles and authors when importing books if no title is parsed from the metadata.
- Updated English, Simplified Chinese, Traditional Chinese, and Cantonese localization files to include new strings for the AI recognition feature.
- Implemented the `analyzeBookMetadata` method in the `ImportLocal` component to handle the AI analysis.
- Added a new setting option for enabling/disabling the AI recognition feature in the general settings.
2026-09-11 09:59:53 +08:00
troyeguo deb3164886 Increase opacity of book rating count for better visibility in metadata dialog 2026-09-10 17:11:27 +08:00
troyeguo 57aff212da Adjust font sizes and line heights in metadata dialog for improved readability; increase button height for better accessibility. 2026-09-10 16:33:05 +08:00
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