Skip to content

4870 - Add Edit button to open Subflow from Execution Island#5107

Open
petrapaz wants to merge 7 commits into
masterfrom
4870
Open

4870 - Add Edit button to open Subflow from Execution Island#5107
petrapaz wants to merge 7 commits into
masterfrom
4870

Conversation

@petrapaz
Copy link
Copy Markdown
Collaborator

fixes #4870

Description:

  • Adds an Edit button to the subflow task detail panel in the Execution Island.
  • Clicking it navigates to the subflow's workflow editor, closes the execution panel, and shows a "Currently inside a subflow" banner with a "Return to parent flow" button.
  • On return, the parent's execution panel is restored if it was open.
  • Nested subflow navigation is supported via a parentChain URL param stack.
  • Opening subflow executions is out of scope and tracked separately.
image image

Video example:

Screencast.from.2026-05-28.16-11-11.webm

Possible enhancements for nested subflow executions:

Multi-level execution snapshot - currently only the top-level parent's execution is snapshotted. A map keyed by projectWorkflowId (mirroring the parentChain URL stack) would restore execution panels at every level of nesting, not just the root.
Intermediate panel restore - returning from subflow2 → subflow1 currently doesn't restore subflow1's execution panel (only root restore is implemented). Would require the multi-level snapshot above.
Execution panel per workflow - instead of a single global workflowTestExecution slot in Zustand, key executions by projectWorkflowId so each workflow remembers its own last execution independently of navigation.

@petrapaz petrapaz requested a review from kresimir-coko May 28, 2026 14:12
Comment thread client/src/pages/automation/project/hooks/useProject.ts Outdated
Comment thread client/src/pages/automation/project/hooks/useProject.ts Outdated
Comment thread client/src/pages/automation/project/hooks/useProject.ts
Comment thread client/src/pages/platform/workflow-editor/components/SubflowBanner.tsx Outdated
Comment thread client/src/pages/platform/workflow-editor/components/SubflowBanner.tsx Outdated
Comment thread client/src/shared/components/workflow-executions/WorkflowExecutionsTabsPanel.tsx Outdated
Comment thread client/src/shared/components/workflow-executions/WorkflowExecutionsTabsPanel.tsx Outdated
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'client'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@petrapaz petrapaz requested a review from kresimir-coko May 29, 2026 13:54
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.

Add "Edit" button to open Subflow from Execution Island

2 participants