Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavigationSuiteScaffold #942

Merged
merged 2 commits into from
Nov 16, 2023
Merged

Conversation

mmoczkowski
Copy link
Contributor

@mmoczkowski mmoczkowski commented Sep 11, 2023

  1. Replace logic switching between BottomBar and NavRail navigation components with NavigationSuiteScaffold API
  2. Use NavigationSuiteScaffold API to display PermanentDrawer on screen widths larger than 1240.dp
  3. Add new screenshot tests validating that PermanentDrawer is properly displayed: largeScreenWidth_compactHeight_showsPermanentDrawer, largeScreenWidth_mediumHeight_showsPermanentDrawer, largeScreenWidth_expandedHeight_showsPermanentDrawer
  4. Remove niaAppState_showBottomBar_compact, niaAppState_showNavRail_medium and niaAppState_showNavRail_large integration tests. They are redundant and already covered by screenshot tests.
  5. Update Compose BOM to 2023.09.00 - required for NavigationSuiteScaffold to work in integration tests.
  6. Remove custom notificationDot modifier and replace is with BadgedBox
Permanent Drawer Navigation Rail Bottom Bar

@mmoczkowski mmoczkowski force-pushed the feature/navigation-suite-scaffold branch from b1b92ac to 227bfd3 Compare September 13, 2023 11:03
@mmoczkowski mmoczkowski marked this pull request as ready for review September 13, 2023 12:08
Copy link
Contributor

@alexvanyo alexvanyo left a comment

Choose a reason for hiding this comment

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

Current limitations make sense with the current APIs, looks great @mmoczkowski !

@mmoczkowski mmoczkowski force-pushed the feature/navigation-suite-scaffold branch 4 times, most recently from fc88abf to 878bf64 Compare November 16, 2023 14:09
…eScaffold

Change-Id: I54b402e28b6e1bd400c9f44644bd4dd35c98e723
@mmoczkowski mmoczkowski force-pushed the feature/navigation-suite-scaffold branch from 544e4db to 816a7b6 Compare November 16, 2023 16:14
@mmoczkowski mmoczkowski merged commit 335a7ec into main Nov 16, 2023
1 check passed
@mmoczkowski mmoczkowski deleted the feature/navigation-suite-scaffold branch November 16, 2023 16:54
mmoczkowski added a commit that referenced this pull request Nov 21, 2023
…-scaffold"

This reverts commit 335a7ec, reversing
changes made to aa8ce0e.
mmoczkowski added a commit that referenced this pull request Nov 21, 2023
Revert "Merge pull request #942 from android/feature/navigation-suite…
@lihenggui
Copy link
Contributor

lihenggui commented Dec 15, 2023

Hello @mmoczkowski Would you be willing to reopen this pull request?

@IanGClifton
Copy link

NavigationSuiteScaffold will get added back in later but the APIs need to stabilize and depend on a stable version of Compose.

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.

None yet

4 participants