web: OCM Servers policy dropdown + apply bar + live Status column (#117) #453

Merged
Cordy merged 2 commits from fix-117-policy into main 2026-09-08 01:37:41 +00:00
Owner

Per the approved ocm-servers-policy-mockup.html (dogfood finding on #117, v0.6.141 table):

  • Policy is now a real per-row <select> — a misclick opens options instead of mutating state. Changing it applies nothing: highlights the row + select, shows "currently: X" underneath, and raises a pane-local Apply/Discard bar that names the consequence in words (relax vs tighten copy) before anything is saved. Multiple changed rows queue into one bar and apply together; Discard/reload reverts.
  • New Status column — opening the tab probes each allowed server via the existing POST /api/v1/admin/ocm/servers/check in parallel (checking… → reachable/unreachable + "checked just now"). Nothing stored, nothing audited, no logs; continuous gauge + alert stay deferred to the metrics pass.
  • Cleanup: .ocmchip/.ocmchip.strict CSS and the click-to-toggle handler removed entirely. 12 new i18n keys ×4 locales. CHANGELOG v0.6.142.

No backend changes.

Per the approved `ocm-servers-policy-mockup.html` (dogfood finding on #117, v0.6.141 table): - **Policy is now a real per-row `<select>`** — a misclick opens options instead of mutating state. Changing it applies nothing: highlights the row + select, shows "currently: X" underneath, and raises a pane-local Apply/Discard bar that names the consequence in words (relax vs tighten copy) before anything is saved. Multiple changed rows queue into one bar and apply together; Discard/reload reverts. - **New Status column** — opening the tab probes each allowed server via the existing `POST /api/v1/admin/ocm/servers/check` in parallel (`checking… → reachable/unreachable` + "checked just now"). Nothing stored, nothing audited, no logs; continuous gauge + alert stay deferred to the metrics pass. - Cleanup: `.ocmchip`/`.ocmchip.strict` CSS and the click-to-toggle handler removed entirely. 12 new i18n keys ×4 locales. CHANGELOG v0.6.142. No backend changes.
Cordy merged commit 4735cb5e8e into main 2026-09-08 01:37:41 +00:00
Cordy deleted branch fix-117-policy 2026-09-08 01:37:44 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#453
No description provided.