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

@@ -4,10 +4,10 @@
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { render, screen, fireEvent, waitFor } from '@testing-library/react';
import { builderApi } from '../../../site-builder/src/api/builder.api';
import { builderApi } from '../../../services/siteBuilder.api';
// Mock API
vi.mock('../../../site-builder/src/api/builder.api');
vi.mock('../../../services/siteBuilder.api');
describe('Bulk Generation', () => {
beforeEach(() => {