haproxy/dev/patchbot/scripts
Willy Tarreau f583269db9 DEV: patchbot: gray the save button when there is nothing to save
The "Save changes" button used to remain active all the time, giving no
hint about whether anything was pending. It is now disabled whenever
nothing differs from the reference: no verdict change, no non-empty
note addition, no note edition differing from its base. It gets
re-evaluated after every action which may change that (verdict clicks,
typing in a note input, opening/cancelling a box, updates and saves),
bailing out at the first pending change so the common case stays cheap.

As a side effect, the button lighting up right after a reload confirms
at a glance that the browser restored unsaved local edits.
2026-07-07 14:45:32 +02:00
..
post-ai.sh DEV: patchbot: gray the save button when there is nothing to save 2026-07-07 14:45:32 +02:00
process-patch-v15.sh DEV: patchbot: produce a verdict for too long commit messages 2024-01-09 14:46:04 +01:00
submit-ai.sh DEV: patchbot: add the AI-based bot to pre-select candidate patches to backport 2023-12-18 20:50:51 +01:00
update-3.0.sh DEV: patchbot: pass the branch version to the generated page 2026-07-07 10:58:38 +02:00