Commit Graph

1763 Commits

Author SHA1 Message Date
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
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
ae744b55ab Merge branch 'master' of https://github.com/koodo-reader/koodo-reader 2025-08-31 11:35:25 +08:00
troyeguo
3722e8542f feat: update translations, enhance color option styling, and improve setting switch functionality
- Added a new translation for menu button visibility in Chinese.
- Adjusted the margin-top of color option elements for better spacing.
- Modified the setting switch component to handle reset logic and added confirmation dialog for hiding the menu button.
2025-08-31 11:35:05 +08:00
troyeguo
2ea4f175c2 feat: add logging for mouse leave events and enhance navigation panel logic 2025-08-31 11:34:47 +08:00
troyeguo
6280cbf627 Add email format validation to account and login components
- Introduced an email format validation on blur event for the email input field in both the AccountSetting and Login components.
- Display an error toast message when the entered email format is invalid.
- Added a new translation key for "Invalid email format" in the Chinese locale file.
2025-08-30 18:32:38 +08:00
troyeguo
d945948903 fix: update download links in README and README_cn for desktop, Android, and iOS versions 2025-08-29 17:30:47 +08:00
troyeguo
4dd82cec8e feat: add delay to chatwoot SDK initialization; improve popup menu positioning logic; append referer parameter to FAQ URL 2025-08-28 18:21:46 +08:00
troyeguo
0cfb646e52 feat: replace upgradePro with generateSyncRecord in multiple components; enhance error handling in database service 2025-08-28 17:59:26 +08:00
troyeguo
e8a0cf7440 feat: add CORS handling and improve UI elements
- Added translations for CORS-related error messages in Chinese.
- Enhanced ImageViewer to display alt text in alerts for footnotes.
- Adjusted PopupAssist component styles for better layout and added emoji to questions.
- Updated PopupRefer to handle additional text formatting cases.
- Improved popupTrans styles with increased border-radius for buttons.
- Added emoji to sample questions in settings for better user experience.
- Implemented CORS testing in sync settings to ensure data source accessibility.
- Updated viewer component to include indentation setting from config.
- Changed login button text from "Log in" to "Continue" for consistency.
- Introduced testCORS function to validate CORS support for data sources.
2025-08-28 15:46:18 +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.
v2.1.2
2025-08-24 14:36:33 +08:00
troyeguo
d698222cb4 Fix popup menu positioning logic for scroll and non-scroll reader modes
- Updated the positioning logic in the PopupMenu component to handle cases where the reader mode is set to "scroll".
- Added a condition to adjust the vertical position (posY) of the popup menu based on the reader mode and page size.
- Ensured that the popup menu displays correctly when the available height is less than 188 pixels.
2025-08-22 17:45:04 +08:00
troyeguo
32b4828a16 Refactor color option styles and adjust height; update dialog positioning; enhance delete dialog logic; streamline import local component; modify popup option dimensions; adjust content list padding; clean up plugin settings state; improve mouse event handling; refine dictionary error messaging. 2025-08-22 11:07:52 +08:00
troyeguo
d3f4dca801 Refactor: Remove feedback dialog and related functionality
- Deleted FeedbackDialog component and its associated styles and interfaces.
- Removed feedback handling from various components and Redux actions.
- Updated AboutDialog to include a "Support" option instead of feedback.
- Adjusted translations to reflect the removal of feedback-related texts.
- Cleaned up unused imports and state management related to feedback.
2025-08-21 20:02:05 +08:00
troyeguo
9e92a76eaa refactor: update IPC event name for Google Picker and enhance handling of picker actions
refactor: improve success message for added books in ImportLocal component
v2.1.1
2025-08-17 16:56:28 +08:00
troyeguo
9cde3ec1f6 feat: integrate Google Picker functionality with IPC communication and update picker handling 2025-08-17 16:10:23 +08:00
troyeguo
24929eebd6 fix: secure Electron app by disabling insecure content and removing experimental features 2025-08-17 11:40:04 +08:00
troyeguo
84e6967b96 feat(i18n): update OneDrive label and add clear success message in Chinese translation
fix(driveList): change OneDrive label from "Experimental" to "full access"

fix(header): ensure chat box is added on authentication for both Electron and web

refactor(reader): simplify mouse enter logic for panels to improve readability and maintainability
2025-08-17 10:54:44 +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
e89b8ac1f0 Remove console.log statements from various components to clean up the code and reduce unnecessary logging. This includes the ImportDialog, NoteTag, PopupNote, PopupRefer, SyncSetting, and common utility functions. 2025-08-17 07:59:07 +08:00
troyeguo
d1d90feef3 Enhance UI components: Adjust dropdown widths and import options positioning
- Set width of language setting dropdowns in ConvertDialog to 70px for better alignment.
- Modify the positioning of the more options dropdown in ImportLocal based on component width.
- Increase the width of the more options dropdown in ImportLocal from 180px to 200px for improved usability.
2025-08-16 16:35:07 +08:00
troyeguo
f815613e72 Refactor icon font files and update styles
- Updated icon font files (eot, svg, ttf, woff) with new versions.
- Changed the icon class from `.icon-all` to `.icon-ai-assist` in style.css.
- Removed unnecessary border styles from background components.
- Added onMouseLeave event to the more options dropdown in ImportLocal component.
- Cleaned up CSS for more option items in importLocal.css.
- Added console log for debugging link jumps in PopupRefer component.
- Set background color to transparent for book list items.
- Adjusted padding for chapter and book names in pageWidget background styles.
- Updated plugin setting component to include new icon type for AI assist.
- Improved getTargetHref function for better href extraction from events.
2025-08-16 15:47:07 +08:00
troyeguo
5c70e8a592 feat: add auto download option for cloud books and update related settings
- Added translation for "Auto download cloud books" and its description in Chinese.
- Updated ColorOption component to adjust positioning.
- Refactored NoteTag component to handle new isShowPopupNote prop and adjust rendering logic.
- Enhanced PopupNote component to include tag handling and improved styling for note tags.
- Updated PopupRefer and PopupTrans components to handle additional logic and translations.
- Modified sync settings to include autoOffline option for better storage management.
- Adjusted CSS styles across various components for improved layout and visibility.
- Implemented mouse movement detection in Reader component to enhance user interaction.
- Cleaned up unused code and improved overall component structure for maintainability.
2025-08-15 16:57:08 +08:00
troyeguo
8b5949ba07 feat: Add clear all data functionality and confirmation prompt
- Implemented a new feature to clear all user data, including local and session storage, indexed DB, and file system data.
- Added a confirmation dialog that prompts the user to type 'CLEAR' to confirm the action.
- Updated the translation files to include new strings for the clear data feature.
- Enhanced the PopupRefer component to process HTML content and convert blob images to base64 format.
2025-08-14 21:42:06 +08:00
troyeguo
958afb3303 feat: enhance Google Picker integration for improved file selection and folder navigation 2025-08-14 14:59:21 +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
b908d4aeba feat: enhance content list and settings dialogs
- Added new icons for collapse and all functionalities in the icon font.
- Introduced a header in the content list to display total chapters and toggle expand/collapse functionality.
- Removed the expand content option from settings dialogs and state management.
- Updated styles for the new content header and expand/collapse buttons.
- Added translations for new UI elements in the Chinese locale.
2025-08-13 16:32:10 +08:00
troyeguo
75e9cdfa61 fix: streamline package.json modification for Linux arm64 build using jq 2025-08-12 09:34:27 +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
d8b7abe5f9 fix: update release workflow for Ubuntu 24.04-arm by refining OS conditions and installing necessary packages 2025-08-12 09:01:09 +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
5a71317002 fix: remove GCC installation step for Ubuntu in release workflow 2025-08-12 07:44:12 +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
f398ec8b33 fix: adjust condition for building Electron app on Windows platforms 2025-08-11 22:21:45 +08:00
troyeguo
7ef6de8b6d fix: update build matrix to include additional Windows platforms 2025-08-11 22:18:55 +08:00
troyeguo
5c1d874107 fix: update clean step to remove build folder in Windows workflow 2025-08-11 21:55:05 +08:00
troyeguo
751613ec21 fix: remove redundant clean step for build folder in Windows workflow 2025-08-11 21:54:01 +08:00
troyeguo
478555fabf fix: add clean step for build and dist folders in Windows workflow 2025-08-11 21:52:54 +08:00