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