Commit Graph

1030 Commits

Author SHA1 Message Date
Rishpraveen
42bbdbe625 changed english to english translations to "Tamil"
- as a native speaker and reader I have made the changes to official Tamil to make it accessible to everyone, thank you
2025-10-03 22:56:55 +05:30
troyeguo
b65b2259b5 Merge branch 'master' of https://github.com/koodo-reader/koodo-reader 2025-10-03 21:38:32 +08:00
troyeguo
caef7d3b5c feat: implement download cancellation feature and add new settings for book title usage 2025-10-03 21:38:26 +08:00
troyeguo
c6621e52c1 feat: update translations and improve UI components
- Added new translation for cloud storage integration in zh-CN locale.
- Changed toast notification position to bottom-center in Header, Login, Manager, Reader, and Redirect components.
- Refactored NoteList component to improve structure and readability.
- Updated navigation panel CSS to enhance scrollbar appearance.
- Enhanced Sidebar component layout for better alignment and spacing.
2025-10-03 20:52:46 +08:00
troyeguo
5d4f6e3233 Refactor Toaster component positioning across multiple pages to ensure consistent display at the bottom center. 2025-10-03 17:23:12 +08:00
Andrej Kralj
b9c391fc3f Updated Slovenian translation
Added missing strings for latest commit.
2025-09-29 08:44:06 +02:00
troyeguo
882ba25647 Fix padding declaration in tag-list-item for consistency 2025-09-29 08:19:21 +08:00
troyeguo
77efa60bad Fix padding declaration in tag-list-item for consistency 2025-09-29 08:17:49 +08:00
troyeguo
191252c9a6 Refactor book and card list components for improved sorting and filtering
- Updated bookList component to enhance book sorting logic based on user preferences.
- Modified cardList component to sort notes before displaying, ensuring the correct order based on the selected sort code.
- Adjusted cardList CSS to increase item height for better layout.
- Fixed noteList component styling by changing margin properties for better alignment.
- Commented out align-items property in note-list-header for potential layout adjustments.
- Removed unnecessary opacity setting in noteTag CSS for cleaner design.
2025-09-28 17:00:20 +08:00
troyeguo
ba44612d37 Refactor PopupRefer component to remove unnecessary console logs and streamline text content validation; enhance Login component to display a warning message for Microsoft login in China. 2025-09-28 09:59:18 +08:00
troyeguo
81fab659c7 Enhance PopupRefer component to handle content length restrictions
- Updated logic to check if the parent element's text content length is less than or equal to 3000 characters before traversing up the DOM.
- Added functionality to concatenate text content between anchor tags, ensuring the combined length does not exceed 3000 characters.
- Adjusted validation to ensure that text content length is checked against 3000 characters instead of 300.
2025-09-27 20:52:34 +08:00
troyeguo
bdecfc3578 Enhance UI and functionality across components
- Updated noteTag CSS to include opacity for better visibility.
- Adjusted cardList CSS scrollbar width and opacity for a cleaner look; added cursor pointer for better user interaction.
- Modified generalSetting component logic to improve error handling when confirming actions.
2025-09-27 15:29:05 +08:00
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
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. 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
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 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 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
6973acbdea Refactor code structure for improved readability and maintainability 2025-09-04 12:19:16 +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.
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