mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-14 00:02:55 +00:00
The toggle sets `enabled` before its request and puts it back if that fails, so the form's value is a claim until it lands — and a save adopting it wrote an uncommitted toggle into its baseline, where cancelling the request left it: a false dirty state, and a Discard offering a value the server never took. The committed value is tracked and both the baseline and what counts as written take it, so the settle compares like for like and drops its draft instead of leaving a row behind. The reload queue keys by workspace as well as page: a draft landing in one says nothing about the same page in another, and reloading it there costs that frame its scroll. A restore reports the path it restored rather than leaving the caller to read a live one its own await has outlived. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KcyBRxE8j3ujCYkum9KrC4
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