- Updated the AIEnhancedTimelineLayout component to set a minimum width of 300px for better layout consistency.
- Enhanced the flex properties to improve responsiveness and visual structure.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the gradient mask and backdrop filter in ChatInterface for improved visual effects.
- Adjusted maskImage properties for better clarity and consistency in the UI.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add image-only view setting and related UI updates
- Introduced a new setting for image-only view mode.
- Updated components to conditionally render based on the new setting.
- Added translations for the new feature in multiple languages.
* fix: changelog
- Updated ChatInterface to improve the gradient mask and backdrop filter for better visual effects.
- Refined ChatMoreDropdown by removing unnecessary padding from the DropdownMenuSubContent for a cleaner layout.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `onNavigate` prop to `EntryPreviewCard` and `FeedPreviewCard` components to handle navigation on click.
- Updated the header and content sections to wrap clickable elements in anchor tags for improved user interaction.
- Refactored click handling to prevent default behavior and trigger navigation functions, enhancing the overall user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `stopPropagation` to the context menu event on the AIMarkdownStreamingMessage component to prevent the default context menu from appearing, enhancing user experience during message interactions.
Signed-off-by: Innei <tukon479@gmail.com>
- Renamed CSS class from `h-entry-header` to `h-top-header` for clarity and consistency.
- Introduced `h-top-header-with-border-b` for enhanced layout in `EntryListHeader`.
- Updated `RelativeTime` component to accept a `postfix` prop, allowing for more flexible date formatting.
- Adjusted instances of `RelativeTime` to utilize the new `postfix` prop for improved display.
Signed-off-by: Innei <tukon479@gmail.com>
- Enhanced button styles in SwipeMedia component to use bg-material-medium and border for better visual consistency.
- Updated icon classes to use MingCute's left and right line icons for improved clarity.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed the return type of normalizeRemoteMessage to BizUIMessage for consistency with the local chat system.
- Added createdAt property to the normalized message to ensure accurate timestamp handling.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated ChatInterface to set editor state directly for improved message handling.
- Adjusted UserChatMessage to stringify new state for rich text parts.
- Included createdAt in message loading for better message tracking.
- Refined message conversion in AIPersistServiceStatic to ensure proper type handling.
- Modified types to align with updated message structure.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the message creation logic in ZustandChatState to directly modify the existing message object instead of creating a new one, improving performance and reducing unnecessary object creation.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated message sending logic to utilize a static editor instance for improved performance.
- Simplified the onSend function signature in WelcomeScreen and DefaultWelcomeContent components.
- Enhanced message part handling in the chat state and persistence services.
- Removed unused useSaveMessages hook to clean up the codebase.
Signed-off-by: Innei <tukon479@gmail.com>
- Added useElementWidth hook to observe and track the width of a referenced element using ResizeObserver.
- Updated ChatInterface and WelcomeScreen components to utilize the new hook for responsive layout adjustments.
- Enhanced AIDisplayEntriesPart and AIDisplayFeedsPart components with improved styling for better alignment and spacing.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced EntryPreviewCard and FeedPreviewCard components for enhanced hover previews.
- Implemented prefetching of entry details and feed information on hover.
- Updated AnimatedMarkdown to utilize the new hover preview components for better user interaction.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced localization for "New Chat" and timeline summary title in multiple languages.
- Updated AIChatRoot to accept chatId as a prop for better state management.
- Refactored useChatHistory to utilize localized titles for chat sessions.
- Improved ChatHeader and ChatMoreDropdown to leverage translation for tooltips and messages.
- Enhanced WelcomeScreen to set a localized title for the timeline summary.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified ChatMoreDropdown to use group-data attributes for hover effects.
- Adjusted WelcomeScreen's border radius for a more refined appearance.
- Refactored AnimatedMarkdown to streamline inline reference handling and improve tooltip integration.
Signed-off-by: Innei <tukon479@gmail.com>
- Improved keyboard event handling in ChatInterface to prevent focus shift when modifier keys are pressed.
- Added functionality to handle incomplete custom mention tags and `<Use:` wrappers in markdown parsing, ensuring cleaner output during streaming.
- Enhanced the parsing logic to better manage incomplete formatting scenarios, including bold and italic markers in list items.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated AIChatMessage to conditionally render action buttons based on original message metadata.
- Refactored AnimatedMarkdown to integrate tooltips for inline references, improving user interaction and accessibility.
- Added new tooltip components for better display of entry and feed information.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced the icon in the `AIChatContextBar` component from `i-mgc-add-cute-re` to `i-mgc-at-cute-re` for improved visual representation.
This change aims to enhance the accuracy of the icons used in the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Integrated `AnimatePresence` and `m` from `motion/react` into the `AIChainOfThought` component to improve the display of reasoning titles with smooth transitions.
- Updated the `ToolInvocationComponent` to accept a `variant` prop, allowing for tighter spacing when necessary.
- Refined the `ShinyText` component's styles for better visual effects and consistency across components.
These changes aim to enhance the user experience by providing smoother animations and improved layout flexibility in the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>