UX TEST MIGRATION STATUS
Comprehensive guidelines for AI-assisted development within the Editor platform
Migration Status - October 20, 2025, 20:15
✅ Completed Actions
Moved Files from ux-test-lib to gograb-space:
- ✅ Services →
apps/gograb-space/src/app/ui-builder/services/ - ✅ Models →
apps/gograb-space/src/app/ui-builder/models/ - ✅ Config Panel →
apps/gograb-space/src/app/ui-builder/components/config-panel/ - ✅ Icon Styles →
apps/gograb-space/src/app/ui-builder/shared/icon-styles.scss
- ✅ Services →
Models also exist in core-models library:
- ✅
libs/core-models/src/lib/types/ux-widgets/ux-dashboard-models.ts - ✅
libs/core-models/src/lib/types/ux-widgets/ux-test.types.ts - ✅ Exported from
@libs-foundational/core-modelsbarrel
- ✅
Fixed:
- ✅ @ux-icons path in tsconfig.base.json
- ✅ SingularityMainComponent template (Observable→Signal)
- ✅ EditorPanelComponent NgTemplateOutlet import
🚧 Remaining Issues (~80+ import paths to update)
Priority 1: Barrel Export Issues
These require checking/fixing library index files:
@widgets subpaths - Need to add to
libs/widgets/src/index.ts:@widgets/widgets/widget-library/widget-library.component@widgets/widgets/editor-canvas/editor-canvas.component@widgets/lib/models/property-group.model
@ux-ui-core subpaths - Need to add to
libs/ux-ui-core/src/public-api.ts:@ux-ui-core/ux-tabs/ux-tabs.component@ux-ui-core/ux-tabs/ux-tab/ux-tab.component@ux-ui-core/simple-tabs
@shared-ui subpaths - Need to add to
libs/shared-ui/src/lib/components/index.ts:@shared-ui/components/modal/models/modal.model
###Priority 2: Import Path Updates (Batch Job)
Need to update ~80+ files with imports pointing to old ux-test-lib locations:
Services - Change from ../../../services/ to correct relative path:
apps/gograb-space/src/app/ui-builder/demos/buttons-demos/button-demo/
apps/gograb-space/src/app/ui-builder/demos/buttons-demos/button-sc-demo/
apps/gograb-space/src/app/ui-builder/demos/ux-dashboard/
apps/gograb-space/src/app/ui-builder/demos/ux-menu/
apps/gograb-space/src/app/ui-builder/demos/ux-portal-demo/
apps/gograb-space/src/app/ui-builder/demos/ux-range-demo/
Models - Change from ../../../models/ to @libs-foundational/core-models:
apps/gograb-space/src/app/ui-builder/demos/ux-dashboard/
Components - Change from ../../../components/ to correct relative path:
apps/gograb-space/src/app/ui-builder/demos/ux-range-demo/
Priority 3: Component Path Issues
Need manual fixing:
- CatalystUiDemoComponent path in theme-system-demo
- UxDashboardComponent path in dashboard components
- HomeComponent path in theme-showcase
- Services folder export in ux-themes/index.ts
📊 Error Statistics
- Total Errors: ~90
- Barrel Export Issues: ~10 (blocking many files)
- Import Path Updates: ~80 (can be batch-fixed)
- Warnings (non-blocking): 19 unused NgClass/NgStyle
🎯 Next Steps
Option A: Manual IDE Find & Replace (FASTEST)
Use VSCode's global find & replace:
- Find:
from '../../../services/→ Replace:from '../../services/ - Find:
from '../../../models/→ Replace:from '@libs-foundational/core-models' - Find:
from '../../../components/config-panel'→ Replace:from '../../components/config-panel'
Option B: Let Agent Continue
Agent can continue fixing file by file (will take 50+ more tool calls)
📝 Commands to Check Progress
# Count remaining errors
nx serve gograb-space 2>&1 | grep -c "ERROR"
# See first 20 errors
nx serve gograb-space 2>&1 | grep "ERROR" | head -20
# Find all files with old service imports
grep -r "from '../../../services/" apps/gograb-space/src/app/ui-builder/demos/ | wc -l
# Find all files with old model imports
grep -r "from '../../../models/" apps/gograb-space/src/app/ui-builder/demos/ | wc -l
Last Updated: October 20, 2025, 20:15
Status: 15% complete - Files moved, imports need systematic updates