From c93ba9d94ed9b07576f95e569d61497b54850d76 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Sat, 22 Aug 2026 23:27:53 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20517=20Architektur-Fehler=20=E2=80=94=20?= =?UTF-8?q?alle=20Frontend=20API-Clients=20gelesen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/test-bugs.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/docs/test-bugs.md b/docs/test-bugs.md index 743d4cf..f45170f 100644 --- a/docs/test-bugs.md +++ b/docs/test-bugs.md @@ -3872,3 +3872,39 @@ Playwright E2E: 10 passed, 24 failed (BUG-011/012/013 — Mock-Daten und data-te - **Problem:** `'Willkommen bei LeoCRM'`, `'LeoCRM ist ein selbst-gehostetes CRM-System...'` — hardcoded deutsch ohne t(). - **Schweregrad:** Low - **Status:** ⏳ Nicht gefixt + +### ARCH-512: contacts.ts — TODO P2-F9 Dual API Clients +- **Datei:** frontend/src/api/contacts.ts:2 +- **Problem:** `// TODO: P2-F9 — Consolidate dual API clients` — contacts.ts und unifiedContacts.ts existieren parallel. +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### ARCH-513: unifiedContacts.ts — TODO P2-F9 Dual API Clients +- **Datei:** frontend/src/api/unifiedContacts.ts:2 +- **Problem:** `// TODO: P2-F9 — Consolidate dual API clients` — gleiche Dual-Architektur wie contacts.ts. +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### ARCH-514: search.ts — TODO P2-F3 hardcoded ENTITY_URL_MAP +- **Datei:** frontend/src/api/search.ts:2 +- **Problem:** `// TODO: P2-F3 — Replace hardcoded ENTITY_URL_MAP with dynamic backend config` — hardcoded Entity-URL-Mapping. +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### ARCH-515: types.ts — TODO P2-F19 Contact interface nicht mit Backend aligned +- **Datei:** frontend/src/api/types.ts:2 +- **Problem:** `// TODO: P2-F19 — Align Contact interface with backend field names (firstname/surname)` — Contact Interface Feldnamen nicht mit Backend synchronisiert. +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### ARCH-516: mail.ts — 688 Zeilen (God Object) +- **Datei:** frontend/src/api/mail.ts +- **Problem:** 688 Zeilen — God Object. Sollte aufgeteilt werden. +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### ARCH-517: customFields.ts — hardcoded Contact/Company Entity +- **Datei:** frontend/src/api/customFields.ts:15 +- **Problem:** Custom Fields API ist auf Contacts beschränkt (`variables.contactId`). Sollte generisch für alle Entities funktionieren. +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt