Update SANIERUNGS_FORTSCHRITT.md: Phase 6 Workspaces abgeschlossen

This commit is contained in:
Agent Zero
2026-08-03 03:45:52 +02:00
parent 310a9f0542
commit 9f41da3d10
+21 -5
View File
@@ -1,7 +1,7 @@
# LeoCRM Sanierungsfortschritt
**Letztes Update:** 2026-08-02
**Git-Commit:** 07a9997 (main)
**Letztes Update:** 2026-08-03
**Git-Commit:** 310a9f0 (main)
**Alembic-Head:** 0092
**Produktion:** https://crm.media-on.de — healthy
@@ -21,7 +21,7 @@
| 3 — Plugin-Lifecycle | ✅ Abgeschlossen | dfd9e77 | 14/14 pytest | — |
| 4 — KI-Delegation | ⏳ Nicht begonnen | — | — | — |
| 5 — Outbox | ✅ Abgeschlossen | 07a9997 | 18/18 pytest + Prod-Smoke | 0092 |
| 6 — Workspaces | ⏳ Nicht begonnen | — | — | — |
| 6 — Workspaces | ✅ Abgeschlossen | 310a9f0 | 25 Backend + 12 Frontend | 00720074 |
| 7 — DMS/Attachments | ⏳ Nicht begonnen | — | — | — |
| 8 — Sicherheitsreste | ⏳ Nicht begonnen | — | — | — |
| 9 — CI/Quality Gates | ⏳ Nicht begonnen | — | — | — |
@@ -143,8 +143,24 @@ COOLIFY_API_TOKEN=<token> python scripts/deploy.py --worker-only
- Audit, Rollback, Approval
- Aufwand: 1016h
### Phase 6 (Workspaces) — nicht begonnen
- Größte Phase: 3050h
### Phase 6 (Workspaces) — abgeschlossen (produktionsverifiziert)
- Backend: Widget CRUD (create, list, update, delete), Manager-Role-Check, Cross-Tenant-Validierung
- Default-Workspace Seeding (12 Standard-Module), Set-User-Default-Workspace
- Fix: create_workspace Default-Uniqueness (unset others before insert)
- Frontend: workspaceStore (Zustand) mit sessionStorage Persistenz
- API-Client Interceptor: X-Workspace-ID Header auf allen Requests
- useWorkspace hook auf workspaceStore umgestellt
- Widget API hooks: useWorkspaceWidgets, useCreateWorkspaceWidget, etc.
- Settings-Route: /settings/workspaces mit WorkspaceManagerPage
- 25 Backend-Tests + 12 Frontend-Tests (alle bestanden)
- Produktions-Verifikation:
- 2 Workspaces (Verkauf/Einkauf) mit unterschiedlichen Modulen ✅
- Hidden module (calendar in Einkauf) nicht in Context ✅
- Multiple widgets mit gleichem key (2x recent_contacts) ✅
- Widget CRUD: create, update, delete ✅
- Set-default: Workspace-Wechsel funktioniert ✅
- Manager-Role: Creator ist Manager ✅
- Cross-Tenant: RLS isoliert Workspaces pro Tenant ✅
### Phase 810 — nicht begonnen
- Sicherheitsreste, CI, Backup/Monitoring