Repository navigation
Migrate Jetchat from Fragment Navigation to Navigation 3 - #1732
Merged
Merged
Conversation
raystatic
marked this pull request as draft
October 14, 2026 08:53
riggaroo
reviewed
Oct 14, 2026
Comment on lines
+84
to
+87
| predictivePopTransitionSpec = { | ||
| slideInHorizontally(initialOffsetX = { -it }) togetherWith | ||
| slideOutHorizontally(targetOffsetX = { it }) | ||
| }, |
Collaborator
There was a problem hiding this comment.
Lets keep these as the defaults - or try to emulate our specs for predictive back - ie scale the content down instead of slide
Contributor
Author
There was a problem hiding this comment.
Screen_recording_20261016_190441.mp4
with defaults, I felt the motions between screens were not consistent, that's why I added custom specs there.
But if keeping defaults is what we recommend in these cases, I will remove them
riggaroo
approved these changes
Oct 14, 2026
Contributor
⚡ Jetpack Compose Performance ReviewNo Jetpack Compose performance issues were found in the changed code. Summary of Diff Analysis
|
raystatic
marked this pull request as ready for review
October 16, 2026 13:49
Contributor
⚡ Jetpack Compose Performance ReviewNo Jetpack Compose performance issues were found in the changed code. Summary of AuditThe newly introduced and modified code in
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates Jetchat's navigation from Fragments and XML
NavHostFragmenttoNav3.Before
NavActivity(AppCompatActivity) hosted an XMLNavHostFragment(content_main.xml+mobile_navigation.xml) viaAndroidViewBinding.ConversationFragmentandProfileFragmentwrapped Compose screens insideComposeViews and communicated drawer events throughMainViewModel.After
NavActivity(ComponentActivity) hostsConversationContentandProfileScreendirectly in a Navigation 3NavDisplaybacked byrememberNavBackStack(Conversation).@SerializableNavKeys (ConversationandProfile(userId)), withViewModels scoped per entry viarememberViewModelStoreNavEntryDecorator().ConversationFragment,ProfileFragment,MainViewModel, XML navigation/layout resources, and legacy Fragment/viewBindingdependencies.