tftsr-devops_investigation/src/pages/Proxmox
Shaun Arman a9a063f786
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m37s
Test / frontend-typecheck (pull_request) Successful in 1m49s
PR Review Automation / review (pull_request) Successful in 10m13s
Test / rust-fmt-check (pull_request) Failing after 12m20s
Test / rust-clippy (pull_request) Successful in 13m53s
Test / rust-tests (pull_request) Has been cancelled
fix(proxmox): fix VM actions, remove Disk column, add Create VM
Issue 1 — VM actions silently doing nothing:
The root cause was a missing <Toaster> mount in App.tsx. All
toast.success/error calls were no-ops because the sonner Toaster
component was never rendered. Added it at the App root.

Also added dialog:allow-confirm capability (was missing, caused VM
delete confirmation to throw silently).

Issue 2 — Remove Disk column:
PVE cluster/resources returns only static disk allocation, not actual
usage, making the column misleading. Removed from VMList header, row,
and the diskPercent calculation.

Issue 3 — Add VM creation:
- New list_proxmox_nodes Tauri command (GET /nodes) for real node list
- New create_proxmox_vm Tauri command with server-side input validation:
  vmid range, numeric bounds, node/storage/bridge path-safety check,
  ISO volume-ID format check to prevent comma-property injection
- CreateVmDialog component with node/storage discovery on open
- "Add VM" button wired into VMsPage

MigrationDialog now fetches real cluster nodes via list_proxmox_nodes
instead of inferring them from the VMs already in the list.

Added suspendProxmoxVm, resumeProxmoxVm, listProxmoxNodes,
createProxmoxVm client wrappers to proxmoxClient.ts.

Tests: 446 Rust + 405 frontend, all pass. 19 new VMList tests (TDD),
7 new Rust tests for security validation logic.
2026-06-21 18:01:37 -05:00
..
ACLPage.tsx fix(proxmox): remove dummy data, fix add-remote, fix updater 2026-06-13 17:33:23 -05:00
AdminPage.tsx feat(proxmox): implement notes system, resource search, and administration panel (phases 12-13) 2026-06-12 21:55:01 -05:00
BackupPage.tsx fix(proxmox): address PR review findings 2026-06-21 15:48:09 -05:00
CephPage.tsx fix(proxmox): restore broken client retrieval across all commands 2026-06-19 22:13:48 -05:00
CertificatesPage.tsx feat(proxmox): implement certificate manager and subscription registry (phases 10-11) 2026-06-12 21:57:38 -05:00
ContainersPage.tsx fix(proxmox): remove dummy data, fix add-remote, fix updater 2026-06-13 17:33:23 -05:00
FirewallPage.tsx fix(proxmox): resolve 7 dashboard and AI chat issues 2026-06-21 15:08:56 -05:00
HAPage.tsx feat(proxmox): implement HA groups manager and user management UI (phases 8-9) 2026-06-12 21:55:35 -05:00
NetworkPage.tsx fix(proxmox): address PR review findings 2026-06-21 15:48:09 -05:00
NotesPage.tsx feat(proxmox): implement notes system, resource search, and administration panel (phases 12-13) 2026-06-12 21:55:01 -05:00
RemotesPage.tsx docs: remove hardcoded 172.0.0.18 references 2026-06-20 21:51:51 -05:00
SDNPage.tsx feat: implement 100% Proxmox PDM feature parity - UI components 2026-06-11 13:47:09 -05:00
SearchPage.tsx feat(proxmox): implement notes system, resource search, and administration panel (phases 12-13) 2026-06-12 21:55:01 -05:00
StoragePage.tsx fix(proxmox): remove dummy data, fix add-remote, fix updater 2026-06-13 17:33:23 -05:00
SubscriptionPage.tsx feat(proxmox): implement certificate manager and subscription registry (phases 10-11) 2026-06-12 21:57:38 -05:00
TasksPage.tsx feat(proxmox): implement network management, tasks, custom views, and connection health (phases 14-15) 2026-06-12 21:58:31 -05:00
ViewsPage.tsx fix(proxmox): comprehensive VM management and UI improvements 2026-06-21 11:17:31 -05:00
VMsPage.tsx fix(proxmox): fix VM actions, remove Disk column, add Create VM 2026-06-21 18:01:37 -05:00