Leopoldadmin
126277ab94
fix(settings, yjs, ux, ci): default settings, y-leveldb restart resilience, dashboard one-click open, delete error handling, Playwright CI
2026-07-27 03:15:30 +02:00
Leopoldadmin
67c678121f
fix: CanvasPreview crash - transform DBElement properties_json to CADElement properties
...
Backend returns DBElement with properties_json (string), not properties (object).
CanvasPreview accessed el.properties.stroke directly → undefined → React crash → white screen.
Fix: transform raw API response to CADElement format with JSON.parse(properties_json).
2026-07-04 19:33:22 +02:00
Leopoldadmin
6c04ca6793
fix: replace synthetic canvas preview with real drawing data
...
- Load drawings + elements via API
- Render actual SVG elements (rect, circle, line, text, polygon, arc)
- Auto-scale viewBox to element bounding box
- Show "Leere Zeichnung" placeholder when no elements
2026-07-04 18:26:14 +02:00
Leopoldadmin
3af9640ace
feat: dashboard UI improvements - 8 changes
...
1. Web CAD title larger (24px, font-weight 800)
2. Gear icon opens SettingsModal
3. Folder drag-and-drop with nested folders (backend parent_id support)
4. Icon-only card buttons with CSS tooltips
5. Canvas preview (deterministic SVG per project)
6. Info panel: smaller title, double-height description
7. User/group permission selector
8. oe → ö correction
2026-07-04 18:11:11 +02:00
Leopoldadmin
be62470b53
merge: combine all features from both codebases - mobile dashboard + layer panel + notifications + shares + all fixes
2026-07-04 16:43:55 +02:00
Leopoldadmin
0606dbb501
fix: SQLite boolean binding, CSS brace, race condition, 0 npm vulns, code-splitting
2026-07-04 16:08:51 +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
4ec76fe406
feat: initial commit web-cad-neu with docker-compose, frontend and backend
2026-06-26 10:50:24 +02:00