Commit Graph

14 Commits

Author SHA1 Message Date
Agent Zero ddfeadac58 task(A2b): CADDocument facade with transactions and undo 2026-08-26 21:23:22 +02:00
Agent Zero 4a7a8f912f task(A2): tool dispatcher behind flag 2026-08-26 21:14:46 +02:00
Agent Zero 5d7fa23825 task(A1): plugin api v2 types and registry (additive) 2026-08-26 21:11:01 +02:00
Agent Zero cba9358235 task(A0): logger and test helpers 2026-08-26 21:04:17 +02:00
Agent Zero 7f4768c205 task(B5): seat counting by row and block 2026-08-26 20:53:42 +02:00
Agent Zero d93ee5308c task(B4): cache background image (fixes BUG-4) 2026-08-26 20:51:43 +02:00
Agent Zero d8f29e42e3 task(B3): offset respects click side (fixes BUG-3) 2026-08-26 13:51:02 +02:00
Agent Zero 95b14cf86b task(B2): line/circle/arc intersections (fixes BUG-2) 2026-08-26 13:47:25 +02:00
Agent Zero b9eb69fc81 task(B0): regression tests for known bugs (red) 2026-08-26 12:53:07 +02:00
Leopoldadmin 8f4ca1581c feat: offline support, performance benchmark, y-indexeddb integration
- Add y-indexeddb for offline CRDT persistence (IndexedDB)
  - useYjsBinding now creates IndexeddbPersistence per document
  - State syncs from IndexedDB on reconnect
  - Graceful fallback if IndexedDB unavailable
- Add Performance Benchmark test (50k elements)
  - Bulk insert: 50k elements in <2s
  - Viewport search: <10ms for ~1000 visible elements
  - Full viewport search: <100ms for all 50k elements
  - 100 sequential searches: <500ms
  - Remove 1000 elements: <200ms
  - Clear all: <50ms
- Bearbeitungs-Tools already fully implemented (move, copy, rotate, scale, mirror, trim, extend, fillet, offset)
- Bestuhlungs-Tools already fully implemented (seating-row, seating-block, table, stage, templates)

All 634 tests passing (254 backend + 380 frontend)
2026-07-27 00:37:28 +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 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