fix(webui): drop the config schema's editability advert

No process writes configuration through the dashboard: the write
handlers, their UpdateConfig/ResetConfig/UpdateRepoField seams and
ConfigView.Editable were deleted with the runtime config overlay
(31622ec5), and database-backed settings are written through the control
plane. That left producer-side residue behind:

- ConfigField.Editable and the descriptor literals setting it, which
  emitted editable=true for fields no process can change, and which
  ui/src/settings/types.ts's ConfigField deliberately omits from the
  reader side of the wire shape
- ErrConfigUpdateUnavailable/ErrConfigUpdateInvalid, with neither a
  producer nor a consumer since handleConfigUpdate was deleted
- comments pointing at handleConfigUpdate/UpdateConfig,
  ConfigView.Editable, the overlay's overridden markers and a deleted
  test name

The two Editable-only descriptor tests go with the field; the deleted
write path is what they pinned.
This commit is contained in:
sam committed 2026-09-30 11:38:44 +10:00
1 parent 9f6eaccd71
commit 58c4e17451
5 files changed
+78 -111

No files matched your search

+1 -2
View File
@@ -32,8 +32,7 @@ func (s *Server) handleCapabilities(w http.ResponseWriter, _ *http.Request) {
// and its definition list from the local registry, so it is
// worth showing with only the former.
"workflows": true,
// Configuration renders from whichever source is wired; the
// page reports its own editability (see ConfigView.Editable).
// Configuration renders from whichever source is wired.
"settings": true,
},
})