This repository was archived by the owner on Mar 18, 2026. It is now read-only.
Conversation
…lity and improve UI interactions
…interactions in Monitor and Executor components
- Added ChatHistory component to display previous chat sessions. - Introduced CurrentChatInterface to manage ongoing chats. - Updated ChatInterface to handle existing chat data and fetch logs accordingly. - Enhanced WorkflowSelection to guide users in starting new conversations. - Modified Sidebar to include options for accessing current chats and chat history. - Integrated interaction API for managing chat sessions and workflows. - Improved UI/UX with loading states and error handling in chat components.
Collaborator
Author
|
need to fix 'build error' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several new features and enhancements to the interaction and workflow APIs, as well as updates to the chat interface and its styling. Key changes include the addition of new API methods for managing workflows and interactions, updates to support both new and existing chat sessions, and improved styling for the chat components.
API Enhancements
src/app/api/interactionAPI.js: Added new methods for listing interactions (listInteractions), executing workflows (executeWorkflowNew), retrieving interaction details (getWorkflowInteractions,getInteractionById), generating unique interaction IDs (generateInteractionId), and normalizing workflow names (normalizeWorkflowName). These methods improve interaction management and workflow execution capabilities.src/app/api/workflowAPI.js: Enhanced existing methods to include interaction-specific parameters (e.g.,interaction_id) and added new methods for deleting workflow execution logs (deleteWorkflowIOLogs) and performance data (deleteWorkflowPerformance). These changes improve API functionality for managing workflow data. [1] [2] [3] [4]Chat Interface Updates
src/app/chat/components/ChatContent.tsx: Introduced support for both new and existing chat sessions by adding logic to handle URL parameters and dynamically switch betweenNewChatInterfaceandChatInterface. This enables users to resume existing chats or start new ones seamlessly.Styling Improvements
src/app/chat/assets/ChatHistory.module.scss: Added comprehensive styles for chat history components, including responsive design, improved button states, and visual feedback for loading, errors, and empty states. This enhances the user experience for chat-related features.src/app/chat/assets/ChatInterface.module.scss: Introduced a new.welcomeActionssection andsuggestionChipsstyles to improve the design of the chat interface's welcome screen.