ChangeLog Navigation Via DeepLink#10987
Conversation
|
✅ Validation Passed: All report and feature-flag labels are correctly set. |
ebfeb7e to
f576d0c
Compare
…tureLauncherActivity using FeatureLauncherTarget
…tch ChangelogScreen changes
f576d0c to
6d28e89
Compare
6d28e89 to
c60e049
Compare
wmontwe
left a comment
There was a problem hiding this comment.
Thank you!
Just some small findings and I think the namespace should be feature:changelog instead of feature:navigation:changelog.
Optional tasks:
- The library used for the changelog handling is deprecated and needs to be replaced. Maybe something for you?
- The UI could be moved to
feature:changelog:internal
| https://developer.android.com/build/jdks#jdk-config-in-studio | ||
| """.trimIndent() | ||
| } | ||
| include(":feature:navigation:changelog:api") |
| } | ||
| } | ||
| private suspend fun loadState() { | ||
| Log.i("EMON1234 MODE:${mode.name}") |
| modifier: Modifier = Modifier, | ||
| onShowRecentChangesCheck: (Boolean) -> Unit, | ||
| modifier: Modifier = Modifier, | ||
| onBack: () -> Unit, |
There was a problem hiding this comment.
onBack should be placed before modifier
| .navigate(R.id.action_aboutScreen_to_changelogScreen) | ||
| is Effect.OpenChangeLog -> { | ||
| FeatureLauncherActivity.launch( | ||
| context = context, |
There was a problem hiding this comment.
Please use requireContext() here.
| FeatureLauncherActivity.launch( | ||
| context = context, | ||
| target = FeatureLauncherTarget.Changelog(changeLogMode = ChangeLogMode.CHANGE_LOG), | ||
|
|
There was a problem hiding this comment.
While this is indeed about navigation, the changelog library is deprecated and we need to replace it by our own implementation. With the already migrated UI, it make sense to move this to feature:changelog.
| } | ||
| sourceSets { | ||
| commonMain.dependencies { | ||
| implementation(libs.kotlinx.serialization.json) |
There was a problem hiding this comment.
kotlinx-serialization-json is not needed as it's part of our kmp library already.
What this PR does
Key changes
New module
Launcher updates
Clean-up