- Introduced a new higher-order component, withAppErrorBoundary, to wrap components with error boundary functionality.
- Created EntryNotFoundErrorFallback component to display a user-friendly message when an entry is not found.
- Updated error handling in EntryContent to utilize the new EntryNotFound error type.
- Added EntryContentFallback component to manage entry prefetching and loading states, enhancing user experience during data retrieval.
These changes improve error management and user feedback for entry-related issues.
Signed-off-by: Innei <tukon479@gmail.com>
- Added text selection capabilities to ShadowDOM, allowing for text selection events to be captured and handled.
- Introduced a new utility for managing text selection within ShadowDOM.
- Updated ArticleLayout to support text selection events and integrate with AI chat block actions.
- Refactored EntryContent components to improve error handling and streamline entry updates.
- Implemented a new AIEntryLayout for better integration of AI chat features within entry content.
Signed-off-by: Innei <tukon479@gmail.com>