Pulse/frontend-modern/src/components
rcourtman 7e8611e0ae cleanup: consolidate unified resources adapters into useResourcesAsLegacy hook
This cleanup addresses transition debt from the unified resources migration:

Frontend cleanup:
- Move all Resource→Legacy type conversions to useResourcesAsLegacy() hook
- Add asNodes() and asDockerHosts() adapter functions to the hook
- Simplify DockerRoute, HostsRoute, DashboardView to use the centralized hook
- Remove ~300 lines of duplicated adapter code from App.tsx
- Remove debug console.log statements from Dashboard.tsx
- Fix CPU value conversion (divide by 100) for Dashboard compatibility

Backend fixes (from previous session):
- Fix parentID format in converters (VM, Container, Storage) to match Node.ID
- Format changed from 'instance/node/nodename' to 'instance-nodename'
- Update tests to match new parentID format

This consolidates all legacy type conversion logic in one place,
making future cleanup easier when components are migrated to use
unified resources directly.
2025-12-08 09:16:26 +00:00
..
__tests__ Unify API token reveal workflow 2025-10-15 22:58:31 +00:00
AI AI features checkpoint: Host selection, memory sparklines, UI refinements 2025-12-07 12:25:26 +00:00
Alerts Frontend updates 2025-12-07 00:49:32 +00:00
Backups fix: Add reconnect button to Backups and Replication pages 2025-12-02 20:24:34 +00:00
Dashboard cleanup: consolidate unified resources adapters into useResourcesAsLegacy hook 2025-12-08 09:16:26 +00:00
Docker AI features checkpoint: Host selection, memory sparklines, UI refinements 2025-12-07 12:25:26 +00:00
Hosts AI features checkpoint: Host selection, memory sparklines, UI refinements 2025-12-07 12:25:26 +00:00
icons Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
PMG fix: Update Mail Gateway disconnect state for consistency 2025-12-02 20:34:32 +00:00
Proxmox Add replication monitoring plumbing and UI 2025-10-22 16:10:15 +00:00
Replication fix: Add reconnect button to Backups and Replication pages 2025-12-02 20:24:34 +00:00
Settings AI Problem Solver implementation and various fixes 2025-12-06 23:46:08 +00:00
shared AI features checkpoint: Host selection, memory sparklines, UI refinements 2025-12-07 12:25:26 +00:00
Storage fix: Add connection lost indicator to Storage page 2025-12-02 20:20:39 +00:00
Toast refactor: unify notifications into global toast 2025-10-22 12:39:01 +00:00
DemoBanner.tsx Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
ErrorBoundary.tsx Improve auth timeout handling (related to #705) 2025-11-12 21:50:53 +00:00
FirstRunSetup.tsx Improve temperature proxy control-plane flow 2025-11-15 21:49:51 +00:00
Login.tsx AI Problem Solver implementation and various fixes 2025-12-06 23:46:08 +00:00
SecurityWarning.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
TokenRevealDialog.tsx Add reusable API token reveal dialog 2025-10-15 22:45:14 +00:00
UpdateBanner.tsx Add release dry run workflow and API update integration test 2025-11-12 21:02:52 +00:00
UpdateConfirmationModal.tsx Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
UpdateProgressModal.tsx Improve auth timeout handling (related to #705) 2025-11-12 21:50:53 +00:00