Files
windmill/frontend/src/lib/components
Diego ImbertandClaude Opus 5 724b48eedd fix(drafts): settle nothing for a create, and make a rename's delete final
A create's form cell is the detached handle `useMany` gives an empty path, so the
settle addressed its requests to `/drafts/update/<kind>/`: three 404s on every
resource, variable and schedule created from a blank form. It has no draft to
settle — short-circuit.

Following that create's path afterwards re-keyed the blank cell onto the item just
made, and the mirror posted it as a draft: every new variable and resource landed
with an empty draft over it, secret flag and all. Only a move is followed now.

The rename retry loop existed because the form stays editable across the delete's
request and each keystroke queued a write behind it. Suspending the old key for
the length of the delete removes the race instead of racing it: one attempt is
final, and a delete that still will not land is a conflict or a failed request,
which no retry changes and which nothing said out loud before.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KcyBRxE8j3ujCYkum9KrC4
2026-09-07 09:53:19 +02:00
..
2026-09-03 09:30:41 +02:00
2026-03-05 18:11:40 +01:00
2026-03-05 18:11:40 +01:00
2026-02-11 06:27:21 +00:00
2025-11-29 01:23:47 +00:00
2026-03-05 18:11:40 +01:00
2026-03-05 18:11:40 +01:00