Skip to content

MVP 3: Direction-aware navigation#1

Merged
saadkhalidkhan merged 13 commits into
mainfrom
feature/mvp3-direction-aware
Jun 16, 2026
Merged

MVP 3: Direction-aware navigation#1
saadkhalidkhan merged 13 commits into
mainfrom
feature/mvp3-direction-aware

Conversation

@saadkhalidkhan

Copy link
Copy Markdown
Owner

Summary

  • Add NavAnimation.directionAware(forward, backward) to map forward push transitions and backward pop transitions without stack-depth tracking.
  • Extend sample app with Home → Details → Checkout flow using slideLeft forward and slideRight backward.
  • Add unit tests for transition mapping with presets and custom animations.

Test plan

  • ./gradlew :nav-animation:testDebugUnitTest
  • ./gradlew :app:assembleDebug
  • Manual: open Direction-aware checkout in sample app, navigate forward to Checkout, pop back twice and confirm reverse slide

Made with Cursor

Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
…re flows.

Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
…ions.

Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
@saadkhalidkhan saadkhalidkhan merged commit 57c5f55 into main Jun 16, 2026
1 check passed
@saadkhalidkhan saadkhalidkhan deleted the feature/mvp3-direction-aware branch June 16, 2026 11:48
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
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.

1 participant