- 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>
- Added the `NativeTabBarHolder` component to manage the height of the bottom tab bar based on safe area insets, ensuring proper layout on iOS devices.
- Updated the `ReactNativeTab` component to render `NativeTabBarHolder` when conditions are met, enhancing the user interface for iPad and iPhone users.
- Utilized `useLayoutEffect` to adjust the tab bar height dynamically, improving the overall user experience in the mobile app.
These changes aim to provide a more responsive and visually appealing tab bar layout in the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the `extractSearchTerms` function to accept an optional language parameter, improving localization handling for date mentions.
- Ensured that English terms are always included in search results for better user experience.
- Refactored the mention handling to streamline the addition of search terms, enhancing code clarity and maintainability.
These changes aim to provide a more robust and localized experience when users interact with date mentions in the AI chat.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed damping and stiffness parameters from the entering animations in both the dialog and play/pause button components, streamlining the animation setup.
- This change aims to enhance code readability and maintainability while preserving the intended animation effects.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced new date mention capabilities, allowing for relative date mentions such as "today," "yesterday," and various ranges (e.g., "last 3 days").
- Updated localization files to include translations for new date mention keys in English, Japanese, and Simplified Chinese.
- Refactored mention handling to improve the display of date mentions, ensuring they are formatted correctly based on user language settings.
- Added support for dynamic display names based on date ranges, enhancing user experience in the AI chat interface.
These changes aim to provide a more intuitive and localized experience when users interact with date mentions in the AI chat.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the version number from 0.2.8 to 0.2.9 in both package.json and Info.plist to reflect the latest changes and improvements.
This version bump ensures that the mobile app is correctly identified with the latest updates.
Signed-off-by: Innei <tukon479@gmail.com>
- Moved the `ImageThumbnail` component to a new location, consolidating its functionality with hover preview and error handling.
- Updated `UserMessageParts` to utilize `UserRichTextMessage` instead of the deprecated `AIRichTextMessage`, improving clarity in message rendering.
- Enhanced `FileAttachmentNode` to utilize the new `useMessageByIdSelector` for better file attachment management.
- Refactored `useFileUpload` to omit the nonce from options, streamlining the file upload process.
These changes aim to improve the modularity and maintainability of the AI chat components, enhancing the overall user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the `getFileDisplayContent` function to default to "completed" status for file attachments, enhancing clarity in the display of upload statuses.
- Added a condition in `AIDataBlockItem` to return the attachment name directly when no upload status is present, improving user feedback for file attachments.
- Refactored the handling of reasoning parts in `AIMessageParts` to use a more descriptive variable name, enhancing code readability.
These changes aim to provide a clearer and more informative user experience when interacting with file attachments in the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>