From 508cf8d41ba09b7013376104230fbc47811d3d59 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Mon, 18 May 2026 23:35:16 -0400 Subject: [PATCH] feat(recorders): add Edit Recorder panel with PATCH support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Edit (pencil) button appears on idle recorder cards; hidden while recording - openEditPanel() pre-populates all form fields from existing recorder state - openPanel() resets editingId and restores "New recorder" defaults - closePanel() clears editingId and removes any stale probe result - handleSaveRecorder() dispatches PATCH /recorders/:id in edit mode, POST otherwise - Fix field name bugs in create path: codec→recording_codec, resolution→recording_resolution, proxy_config object→proxy_enabled/proxy_codec/proxy_resolution flat fields - Badge in card now reads rec.recording_codec (correct DB field) instead of rec.codec - Bump api.js cache-buster to v=6 --- services/web-ui/public/recorders.html | 148 +++++++++++++++++++++----- 1 file changed, 122 insertions(+), 26 deletions(-) diff --git a/services/web-ui/public/recorders.html b/services/web-ui/public/recorders.html index aecea21..70322da 100644 --- a/services/web-ui/public/recorders.html +++ b/services/web-ui/public/recorders.html @@ -218,7 +218,7 @@
- New recorder + New recorder @@ -325,10 +325,10 @@
- +