chore: remove unused meldestelle-portal module
- Deleted obsolete `meldestelle-portal` module, including all associated screens, configurations, tests, and assets. - Includes removal of Compose multiplatform dependencies in `build.gradle.kts`. - Cleaned up redundant files such as `AppPreview`, `AuthStatusScreen`, `DashboardScreen`, and associated core implementations. - Streamlined module references in `settings.gradle.kts`. Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
---
|
||||
date: 2026-03-25
|
||||
type: Session Log
|
||||
agents: [ Lead Architect, Frontend Expert, Curator ]
|
||||
status: ABGESCHLOSSEN
|
||||
---
|
||||
|
||||
# Session Log: Frontend-Architektur-Bereinigung & ZNS-Import Phase 3
|
||||
|
||||
## Zusammenfassung
|
||||
|
||||
Diese Session umfasste zwei Hauptthemen:
|
||||
|
||||
1. Vollständige Implementierung von **Phase 3 (ZNS-Import Frontend)**
|
||||
2. Analyse und Bereinigung von **5 Frontend-Architektur-Problemen**
|
||||
|
||||
---
|
||||
|
||||
## Phase 3: ZNS-Import Frontend (✅ Abgeschlossen)
|
||||
|
||||
### Implementierte Komponenten
|
||||
|
||||
| Datei | Beschreibung |
|
||||
|-----------------------------|-----------------------------------------------------------------|
|
||||
| `AppScreen.kt` | `StammdatenImport`-Route + `fromRoute`-Mapping |
|
||||
| `ZnsImportViewModel.kt` | Ktor Multipart-Upload, Polling (2s), Auth-Token-Injection |
|
||||
| `StammdatenImportScreen.kt` | File-Picker (JFileChooser, nur .zip), ProgressBar, Fehler-Liste |
|
||||
| `DesktopMainLayout.kt` | Nav-Rail-Eintrag "Stammdaten-Import" |
|
||||
| `DesktopModule.kt` | ZnsImportViewModel via Koin registriert |
|
||||
|
||||
---
|
||||
|
||||
## Architektur-Bereinigung (✅ Abgeschlossen)
|
||||
|
||||
### Problem 1 – NetworkModule.kt (🔴 Hoch)
|
||||
|
||||
- **Was:** Doppelter `HttpSend`-Interceptor + ~90 Zeilen auskommentierter Debug-Code
|
||||
- **Fix:** Bereinigt auf 83 Zeilen, ein sauberer Interceptor
|
||||
|
||||
### Problem 2 – meldestelle-portal (🟡 Mittel)
|
||||
|
||||
- **Was:** Toter Prototyp (JVM+JS+WASM) ohne Package, ohne DI, mit falschem Fenstertitel
|
||||
- **Fix:** Verzeichnis gelöscht, `settings.gradle.kts` bereinigt
|
||||
- **Hinweis:** Web-Portal ist in MASTER_ROADMAP als zukünftige Phase vorgesehen – wird neu & sauber aufgebaut
|
||||
|
||||
### Problem 3 – AppScreen.fromRoute (🟡 Mittel)
|
||||
|
||||
- **Was:** Fehlende Mappings für parametrisierte Routen (VeranstaltungDetail, TurnierDetail, TurnierNeu)
|
||||
- **Fix:** Regex-Parsing ergänzt
|
||||
|
||||
### Problem 4 – NavigationPort Interface (🟢 Niedrig)
|
||||
|
||||
- **Was:** `navigateToScreen` und `currentScreen` fehlten im Interface
|
||||
- **Fix:** Interface erweitert, `DesktopNavigationPort` implementiert beide Methoden
|
||||
|
||||
### Problem 5 – ZnsImportViewModel Auslagerung (🟢 Niedrig)
|
||||
|
||||
- **Was:** ViewModel mit Business-Logik in der Shell statt im Feature-Modul
|
||||
- **Fix:** Neues Feature-Modul `frontend/features/zns-import-feature` erstellt
|
||||
|
||||
---
|
||||
|
||||
## Build-Fehler behoben
|
||||
|
||||
| Fehler | Fix |
|
||||
|---------------------------------------------------|----------------------------------------------------|
|
||||
| `:frontend:shells:meldestelle-portal` not found | `architecture-tests/build.gradle.kts` aktualisiert |
|
||||
| `libs.ktor.client.content.negotiation` unresolved | → `libs.ktor.client.contentNegotiation` |
|
||||
| `libs.ktor.serialization.kotlinx.json` unresolved | → `libs.ktor.client.serialization.kotlinx.json` |
|
||||
| `libs.androidx.lifecycle.viewmodel` unresolved | → `libs.androidx.lifecycle.viewmodelCompose` |
|
||||
|
||||
---
|
||||
|
||||
## Offene Punkte (nächste Session)
|
||||
|
||||
- [ ] Phase 4: QA & Testing des ZNS-Imports (🧐 QA Specialist)
|
||||
- [ ] `competition-context` Backend (👷 Backend Developer)
|
||||
- [ ] `event-management-context` Backend (👷 Backend Developer)
|
||||
Reference in New Issue
Block a user