VAPP-10: Mesh management: create, edit, delete #19
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mesh-management-vapp-10"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves VAPP-10. Wires the Meshes page for the full mesh lifecycle (create, edit, delete), building on the device mutation patterns already in the app.
Server functions (
src/server_fns/mod.rs)Three ack-checked control-channel writes, mirroring meshctrl's add/edit/remove-device-group verbs and using the existing
request_ackhelper so a non-"ok" result (duplicate name, missing rights) surfaces as the fn error:create_mesh(name, description)->createmesh(meshtype2, agent-managed).edit_mesh(mesh_id, name, description)->editmesh.delete_mesh(mesh_id)->deletemesh.Meshes page (
src/components/pages/meshes.rs)use_server_future, so rows and device counts refresh; any error renders inline in the open dialog.Acceptance criteria
Verification
cargo check --features serverandcargo check(client) both compile clean. The control-channel integration ("visible to meshctrl", live refresh) is left for human verification against a running vervain-server.🤖 Generated with Claude Code