Skip to content

feat(agentflow): optional cavasActions to allow additional buttons next to validate#6224

Merged
jocelynlin-wd merged 3 commits intomainfrom
feat/agentflow-optional-canvas-actions
Apr 15, 2026
Merged

feat(agentflow): optional cavasActions to allow additional buttons next to validate#6224
jocelynlin-wd merged 3 commits intomainfrom
feat/agentflow-optional-canvas-actions

Conversation

@jocelynlin-wd
Copy link
Copy Markdown
Contributor

@jocelynlin-wd jocelynlin-wd commented Apr 15, 2026

  • Updated Agentflow component to support canvasActions prop for rendering additional action buttons in the canvas overlay.
  • Enhanced type definitions to include canvasActions in AgentflowProps.
  • Added tests to verify the rendering of canvasActions in the Agentflow component.
  • Added a new example demonstrating custom FABs alongside the validation button.

FLOWISE-548

image

…xt to validate

- Updated Agentflow component to support canvasActions prop for rendering additional action buttons in the canvas overlay.
- Enhanced type definitions to include canvasActions in AgentflowProps.
- Added tests to verify the rendering of canvasActions in the Agentflow component.
- Added a new example  demonstrating custom FABs alongside the validation button.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a canvasActions prop to the Agentflow component, allowing custom action buttons to be rendered alongside the validation button in the top-right canvas overlay. The changes include layout adjustments to support multiple actions, a new example demonstration, and unit tests. A review comment identifies a layout inconsistency where the custom actions are rendered to the right of the validation button, contradicting the documentation which states they should appear to the left.

Comment thread packages/agentflow/src/Agentflow.tsx
Copy link
Copy Markdown
Contributor

@mmattu-wd mmattu-wd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!!

@jocelynlin-wd jocelynlin-wd merged commit a77194c into main Apr 15, 2026
7 checks passed
@jocelynlin-wd jocelynlin-wd deleted the feat/agentflow-optional-canvas-actions branch April 15, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants