- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.