From 66fde7044ec6e7c942a191aad4276096b90c1f55 Mon Sep 17 00:00:00 2001 From: StefanMoCoAt Date: Sun, 1 Feb 2026 13:51:07 +0100 Subject: [PATCH] chore(backend, frontend): clean up comments and improve formatting - Removed unused import in `BackendArchitectureTest.kt` and improved clarity of comments on service module dependencies. - Added a TODO placeholder in `DeepLinkHandler.kt` for upcoming deep link processing implementation. --- .../at/mocode/frontend/core/navigation/DeepLinkHandler.kt | 1 + .../kotlin/at/mocode/archtests/BackendArchitectureTest.kt | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/core/navigation/src/commonMain/kotlin/at/mocode/frontend/core/navigation/DeepLinkHandler.kt b/frontend/core/navigation/src/commonMain/kotlin/at/mocode/frontend/core/navigation/DeepLinkHandler.kt index efab37fa..c287fd75 100644 --- a/frontend/core/navigation/src/commonMain/kotlin/at/mocode/frontend/core/navigation/DeepLinkHandler.kt +++ b/frontend/core/navigation/src/commonMain/kotlin/at/mocode/frontend/core/navigation/DeepLinkHandler.kt @@ -25,6 +25,7 @@ class DeepLinkHandler( return processDeepLink(parsed) } + // TODO: Implement deep link processing logic private fun processDeepLink(deepLink: DeepLink): Boolean { val route = cleanRoute(deepLink.route) diff --git a/platform/architecture-tests/src/test/kotlin/at/mocode/archtests/BackendArchitectureTest.kt b/platform/architecture-tests/src/test/kotlin/at/mocode/archtests/BackendArchitectureTest.kt index 03cbf551..3bb1ae7b 100644 --- a/platform/architecture-tests/src/test/kotlin/at/mocode/archtests/BackendArchitectureTest.kt +++ b/platform/architecture-tests/src/test/kotlin/at/mocode/archtests/BackendArchitectureTest.kt @@ -3,7 +3,6 @@ package at.mocode.archtests import com.tngtech.archunit.core.domain.JavaClasses import com.tngtech.archunit.junit.AnalyzeClasses import com.tngtech.archunit.junit.ArchTest -import com.tngtech.archunit.lang.syntax.ArchRuleDefinition.noClasses // Scan ALL project classes from the root package @AnalyzeClasses(packages = ["at.mocode"]) @@ -11,7 +10,7 @@ class BackendArchitectureTest { @ArchTest fun `service modules should not depend on each other`(importedClasses: JavaClasses) { - // We currently have very few services and they might share common code or be in transition. + // We currently have very few services, and they might share common code or be in transition. // For now, we disable this strict check or make it more lenient until the backend structure is fully settled. // The failure indicates that 'ping' and 'entries' might be accessing each other or common code that is misclassified. @@ -21,7 +20,7 @@ class BackendArchitectureTest { "at.mocode.ping..", "at.mocode.entries.." // Add other service packages here as they are created - ) + ) for (servicePackage in servicePackages) { val otherServicePackages = servicePackages.filter { it != servicePackage }.toTypedArray()