Skip to content

navigation3 and material3-expressive#102

Merged
rugged-bl merged 10 commits intomainfrom
navigation3-material3
Nov 13, 2025
Merged

navigation3 and material3-expressive#102
rugged-bl merged 10 commits intomainfrom
navigation3-material3

Conversation

@rugged-bl
Copy link
Contributor

No description provided.

@rugged-bl rugged-bl requested a review from Copilot November 9, 2025 17:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the navigation system from navigation-compose to navigation3 and updates Material3 to use the expressive API. The migration includes refactoring navigation setup, renaming UI components from "Screen" to "Pane" throughout the codebase, and adopting new Material3 expressive components.

  • Migration from androidx.navigation.compose to androidx.navigation3
  • Adoption of Material3 expressive API with new button and toggle components
  • Systematic renaming of UI components from "Screen" to "Pane" nomenclature

Reviewed Changes

Copilot reviewed 72 out of 72 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
MainViewController.kt Simplified UI hierarchy by removing Surface wrapper
MainNavHost.kt Complete navigation setup rewrite using navigation3 APIs with NavBackStack and NavDisplay
build.gradle.kts files Updated dependencies to navigation3 and Material3 expressive versions
UI component files Renamed from Screen to Pane and updated to use Material3 expressive components
Navigation controller Refactored to work with NavBackStack instead of NavHostController
Button components Replaced old button implementations with Material3 expressive variants

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rugged-bl rugged-bl requested a review from Copilot November 11, 2025 22:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 85 out of 86 changed files in this pull request and generated 5 comments.

Comments suppressed due to low confidence (1)

android/shared/feature/events/src/commonMain/kotlin/com/inwords/expenses/feature/events/ui/choose_person/ChoosePersonViewModel.kt:1

  • The function onPersonSelected now performs both selection and confirmation (including navigation). This conflates two responsibilities that were previously separate. Consider renaming to onPersonConfirmed or restoring the separate onConfirmClicked method.
package com.inwords.expenses.feature.events.ui.choose_person

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rugged-bl rugged-bl force-pushed the navigation3-material3 branch from ce8f859 to 7029bad Compare November 13, 2025 18:44
@rugged-bl rugged-bl requested a review from Copilot November 13, 2025 18:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 85 out of 86 changed files in this pull request and generated 7 comments.

Comments suppressed due to low confidence (1)

android/shared/feature/events/src/commonMain/kotlin/com/inwords/expenses/feature/events/ui/choose_person/ChoosePersonViewModel.kt:1

  • The function onPersonSelected now automatically saves the selection and navigates away, removing the need for onConfirmClicked. This changes the UX from explicit confirmation to immediate action. This appears intentional based on the removal of the confirm button, but ensure this behavior change is desired and won't surprise users expecting a confirmation step.
package com.inwords.expenses.feature.events.ui.choose_person

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rugged-bl rugged-bl merged commit 36952b7 into main Nov 13, 2025
5 checks passed
@rugged-bl rugged-bl deleted the navigation3-material3 branch November 13, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants