Skip to content

Draft: Add ability to duplicate an agent and a flow

What does this MR do and why?

Adds Fork button to agent and flow drawers.

This MR shows 2 options of implementing this feature: Option 1: (commits 1 and 2 of this MR) Allows for forking/duplicating of a agent or flow using URL params (no backend changes needed) as described in #561515 (comment 2713283080)

Option 2: (the current state of this MR) Creates a new route for duplication and passes the :id using this.$route.params.id then uses apollo to fetch the details of the agent/flow

This is a mock up with no tests added yet.

References

Screenshots or screen recordings

Using URL params Using duplicate route
Screen_Recording_2025-08-27_at_17.22.48 Screen_Recording_2025-08-28_at_15.32.28

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #561515 (closed)

Edited by James Rushford

Merge request reports

Loading