planet
planet copied to clipboard
Modularize Home dashboard dependencies – impact 85, feasibility 55
Refactor Home feature imports into lazy-loaded modules so the initial bundle no longer eagerly includes News/Chat/Surveys/Teams/etc.
Summary
- split HomeModule so dashboard, community, notifications, upgrade, and health screens live in dedicated lazy modules instead of the root shell
- updated Home routing to lazy-load features and added a shared community bundle to avoid duplicate declarations while keeping guard data intact
- wired Teams services view and achievements routes through feature shells and registered missing MyPlanet logs component with the manager dashboard module
Testing
- npm run build -- --configuration production --stats-json (fails: missing @angular/cli because npm install repeatedly errors with ENOTEMPTY while deleting material-design-icons)
https://chatgpt.com/codex/tasks/task_e_68d5d2b56c10832b8cc257fa13532ff4