- Renamed SettingSectionHighlightContext to SettingSectionHighlightIdContext for clarity.
- Simplified highlight registration logic and improved scrolling behavior in SettingModalContent.
- Enhanced visual feedback for highlighted sections with a new animation effect.
- Cleaned up unused code and optimized imports for better maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced SettingTabProvider for better context management of setting tabs.
- Updated SettingModalLayout to remove initialTab prop and manage tab state internally.
- Refactored SettingModalContent to utilize SettingTabProvider and streamline initial tab resolution.
- Removed unnecessary console logs and cleaned up code for improved readability.
Signed-off-by: Innei <tukon479@gmail.com>
* fix(ai-chat): update session handling to mark chats as seen and improve unread message detection
* fix(ai-chat): handle deletion of remote chat sessions when clearing cache
* fix(ai-task): update task session retrieval and handle test run results
- Adjusted session retrieval to match task ID format.
- Enhanced error handling for test run mutations and added message fetching after successful test runs.
* fix(ai-task): update types
- Updated the `ToolInvocationComponent` to format tool names using title case and replace underscores with spaces for better readability.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified the `ToolInvocationComponent` to adjust the styling of the error indicator.
- Updated the `AIMessageParts` component to change the bypass condition for tool names and added logging for chain thought parts.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a new effect to manage the rendering of the details column based on the timeline's state.
- Updated dependencies in the width adjustment effect to ensure proper layout updates.
- Cleaned up unnecessary state updates to enhance performance.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated `ChatHeader` to display title when messages are present.
- Modified `ChatHistoryDropdown` to remove cleanup of empty sessions.
- Adjusted `ChatInterface` to show loading overlay during message sync.
- Refactored `useLoadMessages` to include remote syncing state.
- Simplified session handling in `AIChatSessionService` and removed unused message count logic.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `hydrateSessionsFromLocalDb` to initialize app for session management.
- Updated `ChatHistoryDropdown` to conditionally render loading state based on session length.
- Refactored `useChatHistory` to utilize the AI chat session store for state management.
- Enhanced `AIChatSessionService` to include session synchronization and error handling.
- Exported store actions from `ai-chat-session` module for better state management.
Signed-off-by: Innei <tukon479@gmail.com>