mirror of
https://github.com/haproxy/haproxy.git
synced 2026-11-06 23:52:51 +00:00
This is the write side of the review syncing: a "Save changes" button next to "Get updates" collects the local edits and pushes them to update.cgi. An edit is a radio button change differing from the reference state (so clicking around and coming back to the reference sends nothing), or a note typed in the per-line input revealed by the new "[add note]" link under the AI explanation (500 chars max, matching the server-side cap). No directive carries a base value: states are last-write-wins and notes are append-only server-side, so two reviewers saving concurrently cannot conflict. On success the reference advances to the pushed values and the note inputs are cleared, so the page is clean without needing a refetch; on error (server busy or unreachable) everything stays local and a later click simply retries.