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:
5 files changed
+78
-111
No files matched your search
@@ -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,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user