fix(webui): bind the container runtime document's keys, drop the blank Advanced page
ContainerRuntimePage still bound the Go field names the document carried before archie-core-qna6 gave container-runtime-policies its own snake_case shape. Every control read a key the document does not hold, so the fields rendered empty and DurationInput warned on each mount; the page's Profiles section wrote to a key the decoder drops. Bind image, max_concurrency, max_uptime, volume_ttl, pull_policy and network, drop the dead Profiles section (named profiles live in the agent-profiles resource, filed as archie-core-x0wk), and pin the key list in a test the migration lacked. Settings -> Advanced rendered nothing in any deployment: its only card needs the sandbox dangerous-command authority, which has no implementation (archie-core-sod1). Drop it from the sidebar, the router and the gateway's dashboard page index; the page and its components stay in the tree for sod1. Register CardAction in SetupPanel and EmptyDescription in TaskLogs, which Vue was resolving to nothing, so the setup percentage and the log empty-state descriptions render again.
This commit is contained in:
1 parent
a2a6ab3dfb
commit
e45d69ef58
9 files changed
+148
-158
No files matched your search
@@ -47,7 +47,6 @@ var dashboardPages = []DashboardPage{
|
||||
{Path: "/settings/plugins", Label: "Plugins", Description: "Directories Archie loads extensions from at startup."},
|
||||
{Path: "/settings/container-runtime", Label: "Container runtime", Description: "The containers agents run in."},
|
||||
{Path: "/settings/harness", Label: "Harness", Description: "OAuth credential bindings and the Kit setup terminal."},
|
||||
{Path: "/settings/advanced", Label: "Advanced", Description: "Actions that stop or roll back archied."},
|
||||
}
|
||||
|
||||
// DashboardPages returns a copy of the dashboard page registry.
|
||||
|
||||
Reference in new issue
Block a user