- Added new localization entries for "Number parser" and its description in zh-CN.json.
- Refactored dropdown list component to utilize KookitConfig for content regex configurations instead of the removed contentRegxConfig.
- Updated ChapterSetting component to use KookitConfig.ContentRegxConfig for built-in parsers.
- Adjusted common utility functions to integrate KookitConfig.ContentRegxConfig for text parsing.
- Updated the PopupOption component to apply inline styles for the setting icon, changing its color to #8a8f9f and font size to 24px.
- Removed the corresponding CSS class definition for .setting-icon from popupOption.css to streamline styles.
- Added a textareaRef to manage the textarea element.
- Implemented autoResizeTextarea method to adjust the height of the textarea based on content.
- Updated the rendering logic to include the new textarea with auto-resizing functionality.
- Adjusted styles for better layout and user experience in the PopupAssist component.
- Introduced new popup options: "Read from here" and "Ask AI" in both English and Chinese localization files.
- Enhanced PopupOption component to handle new options and their interactions.
- Implemented PopupOptionDialog for customizing the popup menu, allowing users to enable/disable options with a limit of 8.
- Added functionality to start text-to-speech from selected text and to open an AI assistant with the selected text.
- Updated Redux actions and reducers to manage the state of the new popup options and speech settings.
- Improved styling for the new popup options and dialog components.
- Added a message for unsupported languages in word definitions, currently supporting only Chinese, Japanese, and English.
- Updated the settings component to include a subtitle for adding definitions next to English, Chinese, and Japanese words.
- Implemented a toast notification for unsupported language detection in the word definition feature.
- Enhanced the page widget component to utilize translation for the new features.
- Added new pin icon to icomoon font set.
- Updated style.css to include the new pin icon and adjusted font-face URLs.
- Enhanced bookCardItem and bookCoverItem components to display pin icon for top books.
- Introduced new CSS classes for status actions in bookCardItem and bookCoverItem.
- Updated useBookItem hook to include logic for identifying top books.
- Modified bookListItem component to show status icons for favorite and top books.
- Added a new field for selecting and displaying the book path in the edit dialog.
- Integrated Electron's IPC to allow users to select a book path from the file system.
- Updated the state management to include the book path and ensure it is saved with the book details.
- Enhanced the UI to provide options for locating and selecting the book path.
- Added corresponding styles for the new book path UI elements.
- Updated localization files for multiple languages to reflect that reading progress, notes, highlights, bookmarks, and other related data will be encrypted before being stored and synced via the cloud service.
- Modified descriptions in settings and header components to emphasize data encryption and security.
- Introduced a new state variable `isTesting` to manage the testing state of the catalog connection.
- Implemented `handleTestCatalog` method to validate the catalog URL and provide feedback on connection success or failure.
- Updated the dialog UI to reflect the testing state, disabling the test button during the process and changing its label to "Testing...".
- Refactored the button layout for better alignment and user experience.
- Removed redundant code from the SupportDialog component related to the redemption code query.
- Adjusted margin styles for the sidebar menu icon when expanded.
- Changed the icon class from 'icon-digest' to 'icon-chart'.
- Updated font size for the icon to maintain uniformity in collapsed and expanded states.
- Merged ReadingTimeUtil import into ConfigService import in reader and stats components.
- Deleted the ReadingTimeUtil file as its functionality is now integrated into ConfigService.
- Added new translation for "Reading stats" in zh-CN.json.
- Updated icon font files (eot, svg, ttf, woff) with new versions.
- Modified icon-chart glyph in icomoon.svg for improved rendering.
- Adjusted font-face URLs in style.css for new icon font versions.
- Added color styling for .icon-chart in style.css.
- Cleaned up tooltip formatting in Stats component for better display.
- Updated icomoon font files (eot, ttf, woff, svg) with new icons.
- Added new icons for clock and chart in the icomoon.svg file.
- Updated style.css to reference new font files and added content for new icons.
- Modified Stats component to use new icons and adjusted icon sizes.
- Changed stats card value font size for better readability.
- Implemented Stats component to display reading statistics including total books read, total reading time, longest streak, and daily averages.
- Added heatmap visualization for reading activity over the last 52 weeks.
- Included bar and line chart options for displaying reading data over the last 30 days.
- Created responsive layout with styled cards for displaying key statistics.
- Integrated i18n for translation support.
- Added CSS for styling the stats page, cards, heatmap, and charts.
- Changed terminology for language levels in zh-CN locale from "Current [Language] level" to "[Language] words level".
- Updated dropdown list to reflect new terminology for language levels.
- Enhanced SettingSwitch component to manage word definitions based on the current book.
- Added logging for debugging purposes in SettingSwitch and Background components.
- Implemented a toggle for enabling word definitions in the SettingSwitch component.
- Integrated language detection for word definitions based on the text content.
- Updated state management to handle word definition settings and user levels for Chinese, Japanese, and English.
- Enhanced the Background component to fetch word definitions based on the current book and user authentication status.
- Refactored common utility functions to export language detection functionality.
- Introduced a new `wordFrequencyList` constant with dropdown options for current Chinese, Japanese, and English levels.
- Updated the `handleWordDefinition` method to show a toast notification while fetching word definitions.
- Modified the `getWordDefinitions` function to accept an array of texts instead of a single string for improved flexibility.
- Imported getWordDefinitions from request/reader utility.
- Implemented handleWordDefinition method in Background component to fetch and handle word definitions when the page is rendered.
- Updated the rendered event listener to call handleWordDefinition.
- Added getWordDefinitions function in request/reader to analyze text and return word definitions.