Commit Graph

1834 Commits

Author SHA1 Message Date
Jean Salomon
fa36bb4ea4 finished french translation 2025-10-21 11:39:11 +02:00
troyeguo
3b56d42734 Merge pull request #1548 from AnhVu12x08/add-language-translation-for-vietnamese
feat(i18n): Add Vietnamese translations for configuration and status …
2025-10-21 10:31:49 +08:00
AnhVu12x08
3fe2afd18a feat(i18n): Add Vietnamese translations for configuration and status messages 2025-10-20 22:25:17 +07:00
troyeguo
6e65291ab2 Refactor header component to handle reading finish event and visibility change
- Added ipcRenderer listener for "reading-finished" event to trigger handleFinishReading method.
- Consolidated logic in visibilitychange event to call handleFinishReading instead of duplicating fetch calls.
- Moved fetch logic into handleFinishReading method for better code organization and reusability.
v2.1.9
2025-10-19 15:36:33 +08:00
troyeguo
ec27a7953f Remove unnecessary console.log statements from PopupMenu, PopupRefer, and OperationPanel components to clean up the code and improve performance. 2025-10-19 08:38:20 +08:00
troyeguo
82da8fbb12 feat: add shelf location display in DetailDialog component 2025-10-18 17:03:02 +08:00
troyeguo
a01fd900e6 Refactor NavList component to streamline click handling and improve user interaction
- Consolidated click event handlers for bookmarks and chapter titles in NavList component.
- Added cursor pointer style to bookmark page list item title for better UX.
- Updated Background component to handle changes in reader mode state.
- Added console log for bookLocation in OperationPanel for debugging purposes.
- Integrated IPC call to clear all data in clearAllData utility function.
2025-10-18 10:45:33 +08:00
troyeguo
cd4a873c2a feat: enhance window management with display scaling and visibility checks 2025-10-17 20:57:31 +08:00
troyeguo
d68420d611 Refactor PopupMenu and PopupRefer components for improved readability and performance
- Simplified position calculations in PopupMenu by caching page size.
- Removed redundant calls to getPageSize() in PopupMenu.
- Streamlined handleShowMenu and handleLinkJump methods in PopupRefer.
- Eliminated unused isElementFootnote function and related logic.
- Cleaned up commented-out code in PopupRefer for better maintainability.
- Enhanced HTML processing in PopupRefer by directly using rendition methods.
2025-10-16 10:56:19 +08:00
troyeguo
9554a029ac Refactor link handling in ImageViewer and PopupRefer components
- Updated ImageViewer to use rendition's getTargetHref method instead of the removed getTargetHref utility function.
- Refactored PopupRefer's handleLinkJump method to utilize rendition's handleLinkJump for improved link handling logic, including external URL opening and node navigation.
- Removed unused getTargetHref function from common utilities.
- Cleaned up SettingSwitch component by removing the unused _handleRest method.
2025-10-15 19:18:54 +08:00
troyeguo
8e84c86b3f feat: implement visibility toggles for various UI elements in reader settings 2025-10-15 14:34:12 +08:00
troyeguo
9c18a8c05f refactor: remove unused code and improve function calls in various components 2025-10-15 10:21:05 +08:00
troyeguo
2c05dc8a47 Refactor background and viewer components to use props for scale and margin
- Updated Background component to receive scale and margin from props instead of state.
- Implemented UNSAFE_componentWillReceiveProps in Background and Viewer components to handle prop changes for scale, margin, and reader mode.
- Modified mapStateToProps in relevant components to include scale and margin from the Redux store.
- Adjusted SliderList component to handle scale and margin changes without reloading books.
- Updated ThemeList and NavigationPanel components to use backgroundColor from props.
- Enhanced reader settings to manage background color, scale, and margin through Redux actions.
- Refactored related interfaces and actions to accommodate new props and state management.
2025-10-14 18:17:43 +08:00
troyeguo
b458ec2430 feat: enhance settings dialog and add Tamil language support
- Updated the SettingDialog component to include a new CSS class for setting tabs, improving styling and layout.
- Modified settingDialog.css to define styles for the new setting-tab class, ensuring proper width and text overflow handling.
- Enhanced importLocal.css to improve item layout with better line height and cursor styles.
- Refactored PopupRefer component to improve content extraction logic and added console logs for debugging.
- Added Tamil language support in settingList.tsx and integrated it into the i18n configuration.
- Updated router logic to handle language changes for Tamil.
- Adjusted navigationPanel.css to ensure proper overflow handling.
- Made minor adjustments to sidebar component and CSS for better tooltip integration and layout.
2025-10-13 18:22:48 +08:00
troyeguo
d64fed5d69 Merge branch 'master' of https://github.com/koodo-reader/koodo-reader v2.1.8 2025-10-05 11:25:43 +08:00
troyeguo
dbf3eb3e2c Refactor: Remove console.log statements and improve code readability
- Removed unnecessary console.log statements from PopupAssist and PopupRefer components to clean up the code.
- Simplified the handleLocalSync method in the Header component by adjusting the lastSyncTime comparison logic.
- Updated the scrollContents function in common.ts to handle cases where chapterHref may be undefined.
- Cleaned up the getLastSyncTimeFromConfigJson function in file/common.ts for better clarity.
- Added a new line for better formatting in the Viewer component after setting state.
2025-10-05 11:24:23 +08:00
troyeguo
0959d62757 Merge pull request #1546 from Rishpraveen/patch-1
changed english to english translations  to "Tamil"
2025-10-05 10:31:09 +08:00
troyeguo
c81ecb07a9 feat: Enhance link handling and footnote detection in image viewer and popup components
- Added support for "mailto" links in the ImageViewer component.
- Refactored handleShowMenu method in PopupRefer to improve footnote handling.
- Introduced isElementFootnote utility function to identify footnote elements based on patterns.
- Updated getTargetHref function to streamline href extraction from nested elements.
- Added console logs for debugging purposes during link processing.
2025-10-04 18:26:09 +08:00
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
troyeguo
8611c5bf2b Merge pull request #1545 from thehijacker/master
Updated Slovenian translation
2025-09-29 16:24:03 +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 v2.1.7 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
5e1d38b09c update template 2025-09-25 07:45:34 +08:00
troyeguo
209ca24470 update issue template 2025-09-25 07:42:28 +08:00
troyeguo
90c5f9afcd update issue template 2025-09-25 07:37:21 +08:00
troyeguo
5d2ee72b63 update issue template 2025-09-25 07:20:10 +08:00
troyeguo
23ac328bb6 update issue template 2025-09-25 07:18:56 +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. v2.1.6 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