mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 03:04:03 +00:00
cdaeb3b84d
Introduce a shared platform-page primitive and four new top-level family pages that mirror the v5-style Proxmox surface: chrome only, embedding the canonical WorkloadsSurface, StorageSurface, RecoverySurface, and UnifiedResourceTable in tableOnly/embedded mode with forced platform or source filters. No dashboard cards, no fake data, no bespoke per-family tables. Pages added: - /docker Hosts / Containers / Swarm services - /kubernetes Clusters / Nodes / Pods / Deployments / Services - /truenas Hosts / Storage / Apps - /vmware Hosts / VMs / Storage (vSphere, first-lab-ready) Top-level navigation entries are gated on platform presence in state.resources, so empty platforms stay hidden by default; Proxmox remains alwaysShow. Infrastructure, Workloads, Storage, and Recovery remain available unchanged. Routing, navigation tab IDs, and the document-title map are extended to match. Route preload and mobile-nav priority changes are deliberately deferred to a follow-up commit to avoid wider entanglement with parallel-agent edits to those shared shell files. Contracts extended for the new platform-page boundary: - cloud-paid.md - unified-resources.md - storage-recovery.md - ai-runtime.md - frontend-primitives.md Tests: - dockerPageModel, kubernetesPageModel, truenasPageModel, vmwarePageModel vitest suites (12 new tests). - resourceLinks.test.ts extended for the new platform path builders. - App.architecture.test.ts extended for the new lazy imports and routes. - 68-platform-pages-shell.spec.ts Playwright smoke covering all four pages and every sub-tab link against the live Pulse dev runtime. - App.architecture, proxmox model, and Workloads suites continue to pass. Skipped (canonical model not ready): - Unraid as a top-level page: an agentHostProfile, no platform projections; already surfaces through the Pulse-managed Hosts / Storage views. - Synology DSM, Microsoft Hyper-V, AWS, Azure, GCP: governanceState=presentation-only, no canonical projections.