Commit Graph
2 Commits
Author SHA1 Message Date
Innei b07e2de01e fix: entry meta no title in breadcrumb and catch not found error
- 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>
2025-09-09 19:22:51 +08:00
Innei cf47ef442f feat(ai): listen for user text selection add to ai block
- 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>
2025-08-01 21:30:30 +08:00