Files
windmill/frontend
hugocasaandClaude Opus 5.5 a5c7dd4f69 fix: steps inside expanded subflows on the flow detail and run pages (#12591)
* fix: flow detail page steps inside expanded subflows, show approvers

- Resolve a step inside an expanded subflow from the expansion's modules, so
  its detail panel shows the step instead of a bare node id.
- Key expanded subflows' groups and modules by their prefixed node ids, so
  expanding the same subflow at two steps no longer trips cycle detection and
  inner step ids no longer shadow the parent flow's steps.
- Show an approval step's approvers, required approvals and timeout in the
  step panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: drop the approval section from the step panel

Approvers will be shown in a separate change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: show definitions of expanded subflow steps on the run page, link subflow paths

The run page's Node definition tab looked the selected step up in the run's
top-level modules only, so a step inside an expanded subflow showed nothing.
Both viewers now resolve it through expandedSubflowStepOf. A subflow step's
path in the step panel links to that flow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: render script and subflow paths in the step panel as the same accent link

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: step panel path links use the graph's step icon and an external link icon

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: drop the copy path button from the subflow step panel

The path is shown in full as a link, as for workspace script steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: show which subflow an expanded step belongs to

The step panel of a step inside an expanded subflow names the subflows crossed
to reach it, each linking to its flow, on the detail and run pages. The graph
node's hover popover gives the step's full position (g › a › b) instead of the
badge's slow native tooltip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: graph node tooltips use the standard tooltip, step parentage on the id badge

The step label's tooltip moves off the deprecated popover onto the shared
Tooltip, and no longer repeats the path when it is the label. An expanded
step's subflow steps show as badges in a tooltip on its id badge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: link the script or subflow path from a graph node's tooltip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: address review findings on the step links and tooltips

- No link for a script or flow step whose path is still empty.
- An inline script with a path and no summary keeps its label in the tooltip.
- Hub flow paths link to the hub from the step panel.
- subflowPathChain uses $bindable() without a default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:27:40 +01:00
..
…
…
…
…
…
…
…
…
…

Windmill frontend

The Windmill frontend written in Svelte 5 + Tailwind CSS

The frontend is under AGPL, see the LICENSE file at the root of this repo