Files
windmill/frontend
Guilhem LemouelandClaude Opus 5 4eb0979961 Merge origin/main into fix-runnable-test-draft-app
Four conflicts, all where main reshaped code this branch had added to.

`open_preview` grew an access-gated `schemaFor` and a view/edit `mode`, and
`openSessionPreview` gained `workspace` + `access` parameters: kept both, with this
branch's `draftTarget` and `ctx.target` threaded through the new signature. Main
also added an early return for pipelines, which makes this branch's
`kind === 'pipeline'` guard on the path unreachable — dropped it, along with the
pipeline comment the restructure stranded above non-pipeline code.

`draftWriteFailure` took main's `DRAFT_CONFLICT_RESULT` / `DRAFT_SAVE_FAILED_RESULT`
constants with this branch's `displayPath`, and `init_app` took main's rewritten
template message with this branch's resolved target.

`setDeployedInSessionHandler`: main replaced `syncPreviewWithDeployed` with
`itemDeployed`, which also stops sync, discards, bumps the deploy revision and
invalidates both workspace caches, and added those invalidations to the
not-mounted path. Kept all of it, with this branch's forget-and-retarget when the
deploy moved the item, and `itemDeployed` now called at the path the tab was
retargeted to — identical to the addressed path when nothing moved.

Outside the conflicts, main renamed `isEditorTabFor(url, target)` to
`isItemTabFor(url, target, side)` for its editor/viewer tab split. The merge kept
this branch's two calls to the old name without flagging it, so `retargetEditorItem`
threw at runtime while compiling clean; both now pass `'edit'`, the side whose cell
can be raced.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-01 09:13:14 -07: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