- 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>
- Added memoization to the `AIChainOfThought` component for improved performance.
- Updated the message display format to include brackets around tool types for better clarity.
- Modified the placeholder text in the `ChatInput` component to provide clearer instructions for users.
- Implemented a transition for setting message container width in `ChatInterface` to enhance responsiveness.
These changes aim to improve the user experience and performance of the AI chat interface components.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced the icon for the reference date in the `ContextMenuContent` component from `i-mgc-calendar-time-add-cute-re` to `i-mgc-calendar-time-add-cute-fi`, ensuring the correct visual representation.
- Added a new SVG icon file for `i-mgc-calendar-time-add-cute-fi` to the icons directory.
These changes aim to improve the accuracy of the context menu's visual elements in the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the `ShinyText` component to support children and customizable shimmer width, improving flexibility in usage.
- Refactored styles for the `ShinyText` component to enhance the shine animation effect.
- Integrated the `ShinyText` component into the `AIChainOfThought` and `WelcomeScreen` components, ensuring consistent visual styling across the AI chat interface.
These changes aim to improve the visual appeal and maintainability of the components within the AI chat module.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a new utility function `filterEmptyMessagePart` to filter out empty message parts in the `AIChatMessage` component, ensuring only relevant parts are displayed.
- Updated the `AIChatMessage` component to utilize the new filtering logic when processing messages that start with a "step-start" type.
- Enhanced the `AnimatedMarkdown` component to apply a background style to the rendered markdown, improving visual consistency.
These changes aim to enhance the clarity and maintainability of the AI chat message rendering logic.
Signed-off-by: Innei <tukon479@gmail.com>
- Added functionality to the `BootstrapManager` to remove cache directories (`Cache` and `Code Cache`) when the app is in development mode during the quit process.
- Updated `NetworkStatusIndicator` to conditionally apply styles based on the `ELECTRON` environment.
- Enhanced font rendering in `ContentFontSelector` and `UIFontSelector` components to apply custom font styles dynamically.
These changes aim to improve the development experience and UI consistency across the desktop application.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new `CustomRangePicker` component within the `ContextMenuContent` to allow users to select custom date ranges.
- Enhanced the `DateTimePicker` to support range selection mode, enabling users to pick start and end dates.
- Integrated relative date options into the context menu, improving the flexibility of date mentions in the AI chat interface.
- Updated localization to ensure new date range options are translatable.
These changes aim to enhance user experience by providing more options for date selection in the AI chat context menu.
Signed-off-by: Innei <tukon479@gmail.com>
- Added support for relative date mentions for the last 15 days and specific weekdays (Monday to Sunday) in the AI chat.
- Updated localization files to include translations for the new date mention keys in English, Japanese, and Simplified Chinese.
- Refactored the date mention configuration to improve clarity and maintainability.
These changes aim to provide users with more flexible date mention options, enhancing the overall user experience in the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the `AIChainOfThought` component to support a new `ChainReasoningPart` type, allowing for better integration of tool and reasoning parts.
- Refactored the logic for determining when the current chain reasoning is finished, ensuring accurate state management.
- Enhanced the `AIMessageParts` component to utilize the new `ChainReasoningPart` type, improving the handling of message parts.
- Modified the `ToolInvocationComponent` to streamline the rendering of tool invocation details, improving UI consistency and clarity.
These changes aim to enhance the functionality and maintainability of the AI chat components, providing a more robust user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored the `getDefaultHeaderHeight` function calls across multiple components to accept an object with properties for landscape orientation, modal presentation, and top inset. This change enhances the clarity and maintainability of the header height calculations.
- Updated components including `NavigationHeader`, `SafeNavigationScrollView`, `ProfileScreen`, and `Settings` to utilize the new function signature, ensuring consistent header height behavior across the mobile application.
These changes aim to improve the layout responsiveness and maintainability of the mobile app's header components.
Signed-off-by: Innei <tukon479@gmail.com>
- Added the `expo-glass-effect` package to `package.json` to enable glass effect features.
- Updated `BlurEffect` and `ThemedBlurView` components to conditionally render a glass effect on iOS 26 devices.
- Introduced `GlassPlayerTabBar` component for improved tab bar aesthetics and functionality.
- Enhanced `PlayerAction` component to utilize the new glass effect in its UI.
These changes aim to improve the visual experience of the mobile application by incorporating modern UI effects.
Signed-off-by: Innei <tukon479@gmail.com>
- Imported the `PlayerTabBar` component into `ReactNativeTab.ios.tsx`, enhancing the tab bar functionality for the mobile application.
- This integration aims to improve the user experience by providing additional navigation options within the tab bar.
Signed-off-by: Innei <tukon479@gmail.com>