Coverage Summary for Class: GoalNavGraphKt (com.georgeci.moneysurfer.feature.goal)

Class Method, % Branch, % Line, % Instruction, %
GoalNavGraphKt 0% (0/13) 0% (0/35) 0% (0/351)
GoalNavGraphKt$goalNavGraph$1$1$3$1 0% (0/1) 0% (0/1) 0% (0/8)
GoalNavGraphKt$goalNavGraph$1$2$2$1 0% (0/1) 0% (0/1) 0% (0/8)
GoalNavGraphKt$goalNavGraph$1$2$3$1 0% (0/1) 0% (0/1) 0% (0/10)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$1 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$10 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$2 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$3 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$4 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$5 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$6 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$7 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$8 0% (0/1)
GoalNavGraphKt$goalNavGraph$lambda$0$$inlined$entry$default$9 0% (0/1)
Total 0% (0/26) 0% (0/38) 0% (0/377)


 package com.georgeci.moneysurfer.feature.goal
 
 import androidx.compose.material3.adaptive.ExperimentalMaterial3AdaptiveApi
 import com.georgeci.moneysurfer.domain.primitives.GoalId
 import com.georgeci.moneysurfer.feature.goal.contribution.GoalContributionScreen
 import com.georgeci.moneysurfer.feature.goal.details.GoalDetailsScreen
 import com.georgeci.moneysurfer.feature.goal.edit.GoalEditScreen
 import com.georgeci.moneysurfer.feature.goal.list.GoalsScreen
 import com.georgeci.moneysurfer.navigation.FeatureNavGraph
 import com.georgeci.moneysurfer.navigation.GoalContributionMode
 import com.georgeci.moneysurfer.navigation.NavDetailPlaceholder
 import com.georgeci.moneysurfer.navigation.Route
 import com.georgeci.moneysurfer.navigation.SurferPaneSceneStrategy
 
 @OptIn(ExperimentalMaterial3AdaptiveApi::class)
 val goalNavGraph: FeatureNavGraph = { navigator ->
     entry<Route.Goals>(
         metadata = SurferPaneSceneStrategy.listPane(detailPlaceholder = { NavDetailPlaceholder() }),
     ) {
         GoalsScreen(
             onNavigateBack = { navigator.pop() },
             onNavigateToGoalCreation = { navigator.push(Route.GoalCreation) },
             onNavigateToGoalDetails = { goalId -> navigator.push(Route.GoalDetails(goalId.value)) },
         )
     }
 
     entry<Route.GoalDetails>(
         metadata = SurferPaneSceneStrategy.detailPane(),
     ) { key ->
         GoalDetailsScreen(
             goalId = GoalId(key.goalId),
             onNavigateBack = { navigator.pop() },
             onNavigateToEdit = { goalId -> navigator.push(Route.GoalEdit(goalId.value)) },
             onNavigateToContribution = { goalId, mode ->
                 navigator.push(Route.GoalContribution(goalId = goalId.value, mode = mode.name))
             },
         )
     }
 
     entry<Route.GoalCreation>(
         metadata = SurferPaneSceneStrategy.detailPane(),
     ) {
         GoalEditScreen(
             goalId = null,
             onNavigateBack = { navigator.pop() },
         )
     }
 
     entry<Route.GoalEdit>(
         metadata = SurferPaneSceneStrategy.detailPane(),
     ) { key ->
         GoalEditScreen(
             goalId = GoalId(key.goalId),
             onNavigateBack = { navigator.pop() },
         )
     }
 
     entry<Route.GoalContribution>(
         metadata = SurferPaneSceneStrategy.detailPane(),
     ) { key ->
         GoalContributionScreen(
             goalId = GoalId(key.goalId),
             mode = GoalContributionMode.fromName(key.mode),
             onNavigateBack = { navigator.pop() },
         )
     }
 }