Refactor Site Builder Integration and Update Component Structure

- Removed the separate `igny8_sites` service from Docker Compose, integrating its functionality into the main app.
- Updated the Site Builder components to enhance user experience, including improved loading states and error handling.
- Refactored routing and navigation in the Site Builder Wizard and Preview components for better clarity and usability.
- Adjusted test files to reflect changes in import paths and ensure compatibility with the new structure.
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-18 10:52:24 +00:00
parent 3ea519483d
commit 5d97ab6e49
8 changed files with 325 additions and 133 deletions

View File

@@ -125,21 +125,21 @@ Integrate the Site Builder wizard directly into the main frontend app (`frontend
1. Copy `siteDefinitionStore.ts` from `sites/src/builder/state/`
2. Use for preview functionality (if needed)
### Phase 7: Update Routing & Navigation
### Phase 7: Update Routing & Navigation
**Location**: `frontend/src/App.tsx`
**Tasks**:
1. Ensure `/sites/builder` route points to new `Wizard.tsx`
2. Update navigation to show wizard in Sites section
### Phase 8: Fix Test File
### Phase 8: Fix Test File
**Location**: `frontend/src/__tests__/sites/BulkGeneration.test.tsx`
**Tasks**:
1. Update import path from `site-builder/src/api/builder.api` to `services/siteBuilder.api`
2. Update mock path accordingly
### Phase 9: Testing ⏳
### Phase 9: Testing ⏳ *(blocked by vitest not installed in dev env)*
**Tasks**:
1. Test wizard flow:
- Site selection