mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-23 20:25:56 +00:00
d96d5612fd
The vSphere overview's VM table was a bespoke component that parallel-implemented what Proxmox, Docker, and Kubernetes already get from the shared WorkloadsSurface. The result was an overview page that lacked the Grouped/List, Bars/Trends/Columns, and metric history toggles operators expect on a Pulse platform page. Wire VmwareOverview to useWorkloadsState + WorkloadsFilter + WorkloadsSurface using the same embedded shape Proxmox uses: forcedPlatform='vmware-vsphere', forcedViewMode='vm', shared metricDisplayMode and metricHistoryRange persistent signals, storage-scoped status and column visibility, compactGroupHeaders so VsphereHostsTable keeps its dedicated layout above. The existing power-state vocabulary maps cleanly: normalizeWorkloadStatus already collapses online->running and offline->stopped, and vSphere resource IDs (vm-XXXX hashes) match the workload chart key candidates so sparkline mode resolves without extra plumbing. VsphereVirtualMachinesTable stays in the tree for now; deletion lands once Phase 1 is observed stable.