diff --git a/docs/99_Journal/2026-04-19_ProfileFeature_Blueprint_Migration.md b/docs/99_Journal/2026-04-19_ProfileFeature_Blueprint_Migration.md new file mode 100644 index 00000000..84605d54 --- /dev/null +++ b/docs/99_Journal/2026-04-19_ProfileFeature_Blueprint_Migration.md @@ -0,0 +1,26 @@ +# Journal-Eintrag: Migration profile-feature (Blueprint-Konformität) + +**Datum:** 19. April 2026 +**Agent:** 🏗️ [Lead Architect] | 🧹 [Curator] + +## 🎯 Ziel +Migration des Moduls `frontend/features/profile-feature` auf den neuen **Module Structure Blueprint** (Klasse B: `UI_COMPONENT`). + +## 🛠️ Durchgeführte Änderungen + +### 1. Gradle-Konfiguration (`build.gradle.kts`) +- **Group-ID:** Geändert von `at.mocode.clients` auf `at.mocode.frontend.features` zur Vereinheitlichung des Namensraums. +- **WasmJS-Support:** Das `wasmJsMain` Source-Set wurde um die `kotlin.stdlib.wasm.js` Dependency ergänzt. + +### 2. Strukturelle Anpassungen +- **Topologie:** Physische Verzeichnisse für die Plattform-Source-Sets angelegt, um die "Consistency Rule" zu erfüllen: + - `src/jvmMain/kotlin/at/mocode/frontend/features/profile/` + - `src/wasmJsMain/kotlin/at/mocode/frontend/features/profile/` +- **Paket-Struktur:** Die bestehende Struktur in `commonMain` (`at.mocode.frontend.features.profile`) wurde als korrekt verifiziert. + +## ✅ Validierung +- `./gradlew :frontend:features:profile-feature:assemble` erfolgreich ausgeführt. +- KMP-Kompilierung für JVM und WasmJS sichergestellt. + +## 🏁 Status +Das Modul ist nun vollständig konform mit den Architektur-Vorgaben für Feature-Module (Klasse B). diff --git a/frontend/features/profile-feature/build.gradle.kts b/frontend/features/profile-feature/build.gradle.kts index 6295f690..039beb59 100644 --- a/frontend/features/profile-feature/build.gradle.kts +++ b/frontend/features/profile-feature/build.gradle.kts @@ -12,7 +12,7 @@ plugins { alias(libs.plugins.kotlinSerialization) } -group = "at.mocode.clients" +group = "at.mocode.frontend.features" version = "1.0.0" kotlin { @@ -61,5 +61,9 @@ kotlin { implementation(libs.ktor.client.cio) implementation(compose.uiTooling) } + + wasmJsMain.dependencies { + implementation(libs.kotlin.stdlib.wasm.js) + } } }