* feat: enhance widget functionality with customizable tooltip and programmatic control
- Added new properties for tooltip customization: iconTitle, iconSubtitle, iconImage, and iconClosable.
- Implemented JavaScript functions to open, close, and toggle the widget programmatically.
- Updated widget icon component to display a tooltip with the new properties.
- Enhanced localization files to include new tooltip parameters and usage examples.
* chore: bump version to v0.9.59
* refactor: optimize message feed rendering and state management
- Removed unnecessary initialization state in VirtualMessageFeed.
- Updated message data subscription to only track visible messages, improving performance.
- Simplified props in Layout component for VirtualMessageFeed and Send components.
* refactor: 针对低性能设备进行更多优化,包括消息隔离等
- Added a script to suppress ResizeObserver errors in index.html.
- Introduced memoized selectors for efficient message retrieval in message selectors.
- Optimized message insertion logic in message slices to reduce unnecessary sorting.
- Improved memoization in Message component for better rendering performance.
- Enhanced MessageInput to reset editor state on chat changes.
- Updated VirtualMessageFeed to manage visible messages more efficiently and reduce initial load for better performance on low-end devices.
* chore: bump version to v0.9.50
* fix: 修复灯箱问题
- Modified `getDefaultSize` function to accept optional width and height properties.
- Enhanced `ImagePreview` component to allow custom container element and refined click handling for images in chat and markdown contexts.
- Updated `ImageMessage` properties to include optional fields for better flexibility.
* chore: bump version to v0.9.46
* fix: 修复回复无法定位画面外的消息
- Added a custom event to trigger scrolling to specific messages in the virtual message feed.
- Enhanced the Reply component to dispatch the scroll event when messages are not in the DOM.
- Improved user experience by highlighting messages briefly after scrolling to them.
* fix: 修复删除消息报错
* chore: bump version to v0.9.45
* refactor: 尝试优化消息加载
- Updated webpack configuration to exclude additional sourcemaps.
- Changed local development URL for easier access.
- Implemented batch processing for handling chat messages to prevent main thread blocking.
- Refined message component to selectively subscribe to user and reaction data.
- Enhanced virtual message feed to manage visible message count and improve loading performance.
* chore: bump version to v0.9.44
* Add Web Client Auto Update feature with localization support
- Introduced a new setting for automatic updates of the web client, available in both English and Chinese.
- Added a new component for managing the auto-update feature in the settings overview.
- Updated localization files to include descriptions and titles for the new feature.
* chore: Update to v0.9.38