- Updated the positioning of the scroll-to-bottom button in the ChatInterface component to improve visibility and accessibility.
- Changed the bottom offset from 44 to 48 and adjusted the vertical translation for better alignment.
Signed-off-by: Innei <tukon479@gmail.com>
- Eliminated the check for whether the last group type starts with "tool-" to simplify the logic in the AIChainOfThought component.
- This change enhances readability and maintains the intended functionality without the redundant condition.
Signed-off-by: Innei <tukon479@gmail.com>
- Integrated title generation feature in the ChatMoreDropdown component, allowing users to generate a title based on the last two messages.
- Added new translations for title generation prompts in English, Japanese, and Chinese.
- Implemented loading state to indicate when the title is being generated.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced the random ID generation for collapseId with React's useId for improved stability and performance.
- Updated the effect logic to conditionally close the collapse based on the currentChainReasoningIsFinished state.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed background styling in UserChatMessage to use `bg-fill` for consistency.
- Updated button variant in AIChatPane from `ghost` to `outline` for better visibility.
- Simplified the bottom panel layout in AIChatInterface by removing unnecessary class names.
- Enhanced the FeedSelectionFirstScreen with a new gradient background and improved content structure.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the import path for the AIShortcutButton component to the new location.
- Introduced a more flexible gradient handling function that adapts based on the dark/light mode.
- Removed the old AIShortcutButton component file as it is no longer needed.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a `disabled` state for context blocks, allowing users to toggle blocks on and off without removing them.
- Updated `ContextBlock` and `CombinedContextBlock` components to handle the new `disabled` prop and associated click behavior.
- Filtered out disabled blocks in the `ChatInterface` to improve user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed the border radius of the AIModelIndicator component from `rounded-full` to `rounded-xl` for a more modern appearance.
- Adjusted the layout of the ChatInput component by modifying the `self-start` class to improve alignment and visual consistency.
- Removed unnecessary `self-start` class from the AIModelIndicator instance within ChatInput for cleaner styling.
Signed-off-by: Innei <tukon479@gmail.com>
- Integrated new hooks for creating and editing AI shortcuts, improving the user experience for managing shortcuts.
- Adjusted layout styles in various components for better visual consistency, including padding and margin updates.
- Removed deprecated modal handling for shortcuts, streamlining the codebase.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the prompt input field with additional padding for better usability.
- Added size prop to the Switch component, allowing for small and medium sizes.
- Adjusted styles for the Switch component to accommodate the new size options, ensuring consistent appearance across different sizes.
Signed-off-by: Innei <tukon479@gmail.com>
- Added functionality to generate and update chat titles based on user messages and AI responses.
- Introduced a button in the EditableTitle component to trigger title generation, enhancing user experience.
- Updated localization files to include new strings for title generation actions in English, Japanese, and Chinese.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced the text for timeline summary options in the ChatInput component to enhance clarity.
- Updated localization files for English, Japanese, and Chinese to reflect the new text for timeline summary options.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a static editor instance in the AIChatPane to streamline message handling and improve performance.
- Updated the handleSendMessage function to utilize the static editor for processing rich text messages.
- Added a new utility function to convert editor state to JSON string format for better data management.
- Added a check for feeds selection in the AIChatInterface to conditionally render the "Next Step" button based on the presence of trending feeds in the messages.
- This improves user guidance by ensuring the button is only displayed when relevant information is available.
- Changed background color class from a hex value to a Tailwind utility class for better maintainability.
- Simplified class names in the Welcome component for clarity and consistency.