- 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.