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

@@ -101,28 +101,6 @@ services:
- "com.docker.compose.project=igny8-app"
- "com.docker.compose.service=igny8_marketing_dev"
igny8_sites:
# Sites container: Public site renderer + Site Builder (merged)
# Build separately: docker build -t igny8-sites-dev:latest -f Dockerfile.dev .
image: igny8-sites-dev:latest
container_name: igny8_sites
restart: always
ports:
- "0.0.0.0:8024:5176" # Sites renderer + Builder dev server port
environment:
VITE_API_URL: "https://api.igny8.com/api"
SITES_DATA_PATH: "/sites"
volumes:
- /data/app/igny8/sites:/app:rw
- /data/app/sites-data:/sites:ro
- /data/app/igny8/frontend:/frontend:ro
depends_on:
igny8_backend:
condition: service_healthy
networks: [igny8_net]
labels:
- "com.docker.compose.project=igny8-app"
- "com.docker.compose.service=igny8_sites"
igny8_celery_worker:
image: igny8-backend:latest