Files
windmill/backend/windmill-api-auth/src
Guilhem LemouelandClaude Opus 5 dd55b1720a feat: pick a color for a label
Labels were bare strings with nowhere to hang metadata, so a color had no
home. Add a sparse `label_settings` registry keyed by (workspace, name): a
label only gets a row once someone picks a color, and one without a row stays
an ordinary label rendered in the blue it has always had.

`labels/list` now returns `{name, color?}` and unions the registry into the
vocabulary, so a label whose last item was deleted keeps its color, and labels
that live only on jobs or triggers become colorable without widening the
seven-table union. `labels/update` upserts, and a null color drops the row.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QNUCuRqmzNukjR7FDewN7W
2026-08-26 17:33:44 +02:00
..
2026-08-26 17:33:44 +02:00