Files
windmill/frontend
Guilhem LemouelandClaude Opus 4.7 17697b0fba fix(flow-editor): preserve the AI chat across intra-flow-editor navigation
FlowEditor unmounts and remounts on two same-flow transitions:
- /flows/add → /flows/edit/{path} when the first save promotes the draft
- /flows/edit/{path} → /flows/edit/{same path}?selected=... on a save-draft
  refresh / selected-step query change

In both cases onDestroy ran saveAndClear() + changeMode(NAVIGATOR), wiping a
FLOW-mode conversation the user is still actively having about the very flow
they're still editing.

A beforeNavigate guard sets preserveChatOnDestroy when the destination is the
same flow (or the add→edit promotion), so onDestroy keeps the chat; the fresh
onMount detects mode is still FLOW and skips the clearing saveAndClear. Cross-
flow / leave-editor navigation is unaffected and still clears as before.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 10:43:12 +02:00
..
2026-01-22 16:20:01 +00:00
2025-12-23 18:19:30 +00:00
2026-02-19 09:33:33 +00:00
2026-03-05 18:11:40 +01:00
2025-08-14 11:30:10 +00:00
2026-01-22 16:20:01 +00:00
2026-03-18 11:38:22 +00:00
2026-02-19 09:33:33 +00: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