From 9f41da3d101804475704fb13118b112e8e0088fa Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Mon, 3 Aug 2026 03:45:52 +0200 Subject: [PATCH] Update SANIERUNGS_FORTSCHRITT.md: Phase 6 Workspaces abgeschlossen --- SANIERUNGS_FORTSCHRITT.md | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/SANIERUNGS_FORTSCHRITT.md b/SANIERUNGS_FORTSCHRITT.md index 9823f16..66353bf 100644 --- a/SANIERUNGS_FORTSCHRITT.md +++ b/SANIERUNGS_FORTSCHRITT.md @@ -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 | 0072–0074 | | 7 — DMS/Attachments | ⏳ Nicht begonnen | — | — | — | | 8 — Sicherheitsreste | ⏳ Nicht begonnen | — | — | — | | 9 — CI/Quality Gates | ⏳ Nicht begonnen | — | — | — | @@ -143,8 +143,24 @@ COOLIFY_API_TOKEN= python scripts/deploy.py --worker-only - Audit, Rollback, Approval - Aufwand: 10–16h -### Phase 6 (Workspaces) — nicht begonnen -- Größte Phase: 30–50h +### 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 8–10 — nicht begonnen - Sicherheitsreste, CI, Backup/Monitoring