Leopoldadmin
6d15a692af
fix: WebSocket wss:// same-origin URL + try/catch to prevent crash on HTTPS
...
- Change DEFAULT_WS_URL from ws://hostname:3001 to wss://window.location.host
- Wrap WebSocket constructor in try/catch to prevent React crash on connection error
- Fixes white page when opening a project (CADEditor crashed on insecure ws:// from HTTPS page)
2026-06-26 17:58:06 +02:00
Leopoldadmin
1bcfaffdd4
fix: replace hardcoded localhost:3001 with relative API URL + add canvas mock and integration test
...
- Fix frontend Network error: API_BASE now defaults to empty string (same-origin)
- Fix 3 files: api.ts, AuthContext.tsx, Dashboard.tsx
- Add Canvas 2D context mock in tests/setup.ts for jsdom
- Fix -0 vs +0 in ZoomPanController.getViewport()
- Add IntegrationWorkflow.test.ts (35 tests, full CAD workflow)
2026-06-26 17:48:24 +02:00
Leopoldadmin
89b91a1050
test: T29-T31 component tests (20) + frontend stresstest (7) + backend DB stresstest (6) with 50k elements
2026-06-26 16:20:09 +02:00
Leopoldadmin
f853372c90
test: add Vitest setup with 115 tests (backend + frontend)
2026-06-26 14:19:50 +02:00
Leopoldadmin
19884b7b5d
fix: use Docker resolver for backend DNS in nginx.conf
2026-06-26 11:01:03 +02:00
Leopoldadmin
4ec76fe406
feat: initial commit web-cad-neu with docker-compose, frontend and backend
2026-06-26 10:50:24 +02:00