feat(chat): add 'add inputs' button to chat window#2057
Merged
waleedlatif1 merged 3 commits intostagingfrom Nov 20, 2025
Merged
feat(chat): add 'add inputs' button to chat window#2057waleedlatif1 merged 3 commits intostagingfrom
waleedlatif1 merged 3 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
@waleedlatif1 for the add inputs, can you add the sockets events to chat.tsx? All throwaway code is commented in that file, but the UI conditional render portion is correct. |
Contributor
Greptile Summary
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Chat
participant ChatResize
participant ChatStore
participant WorkflowExecution
User->>Chat: Open chat modal
Chat->>ChatStore: Get chat position and dimensions
ChatStore-->>Chat: Return position (x, y, width=330, height=286)
Chat->>Chat: Render chat at position
User->>Chat: Drag resize handle
Chat->>ChatResize: handleMouseMove(event)
ChatResize->>ChatResize: Calculate deltaX and deltaY
ChatResize->>ChatResize: Clamp deltas to viewport boundaries
ChatResize->>ChatStore: Update position and dimensions
ChatStore-->>Chat: Updated position applied
User->>Chat: Select workflow output
Chat->>ChatStore: setSelectedWorkflowOutput(workflowId, outputs)
User->>Chat: Send message
Chat->>WorkflowExecution: Execute workflow with input
WorkflowExecution-->>Chat: Return execution results
Chat->>Chat: Display messages
|
Contributor
There was a problem hiding this comment.
7 files reviewed, 1 comment
Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format
063b7f0 to
bbd9111
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes chat dragging UX and workflow block UI improvement.
Chat has button to add inputs to start block.
Type of Change
Testing
Checklist