Nav3 migration follow-up: Handle navigate back to ForYou

Open
#1,937 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile

Research direction

Start by tracing the Nav3 back-stack handling for explicit navigation to ForYou and compare it with the current behavior that clears sub-stacks. The issue names no files or tests and does not define the expected navigation outcome, so completion criteria need to be established before implementation.

Written by the indexing model from the issue text.

Description

enhancement
Is there an existing issue for this?
  • I have searched the existing issues
Describe the problem

Figure out how the backStack should handle explicit navigations back to ForYou.

The current implementation would clear all sub stacks. So basically the backStack would be cleared with only a backStack[ForYou] left.

However this feels odd from a user's standpoint. But we also want users to be able to always exit out from ForYou.

Describe the solution

.

Additional context

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
Kotlin
Stars
22.1k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/nowinandroid

All issues in android/nowinandroid

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.