You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Migrate to new specialized universe services
Refactor to use the new specialized services instead of monolithic universe:
- Use menuService for menu registration
- Use widgetService for widget registration
- Use registryService for registry operations
- Use extensionManager for extension lifecycle
Files updated:
- addon/extension.js - Use menuService.registerHeaderMenuItem()
- addon/engine.js - Use menuService, widgetService, registryService
- addon/utils/setup-customer-portal.js - Use extensionManager.afterBoot(), menuService, registryService
- addon/components/order-config-manager.js - Use registryService.getRegistry()
- addon/routes/virtual.js - Use registryService.getRegistry() with manual lookup
- addon/components/map/leaflet-live-map.js - Use registryService.getRegistry(), universe.trigger()
- addon/components/layout/fleet-ops-sidebar.js - Use registryService.getRegistry()
- addon/components/map/drawer.js - Use registryService.getRegistry()
This migration:
- Improves performance with O(1) lookups
- Phases out backward compatibility facade methods
- Aligns with ember-core's new architecture
- Maintains all functionality while using proper new API
Requires: ember-core feature/universe-refactor branch
0 commit comments