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

ANDROID-15323 Open tweaks as single top #46

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

yamal-alm
Copy link
Contributor

🥅 What's the goal?

We are exposiing the "open tweaks when shaking" with a navigateToTweaksOnShake method. However if more than one shake is detected multiple tweaks screens are opened and added to the navigation stack, forcing the user to press back several times to exit tweaks .

We should open just one instance of tweaks even if multiple shakes are detected.

🚧 How do we do it?

Set launchSingleTop to true when navigating to TWEAKS_NAVIGATION_ENTRYPOINT.

📘 Documentation changes?

  • No docs to update nor create

🧪 How can I test this?

  • Before and after video

Before

Grabacion.de.pantalla.2024-11-08.a.las.9.47.35.mov

After

Grabacion.de.pantalla.2024-11-08.a.las.9.47.06.mov

@yamal-alm yamal-alm marked this pull request as ready for review November 8, 2024 08:49
@yamal-alm yamal-alm requested review from a team, jeslat and juangardi21 and removed request for a team November 8, 2024 08:49
Copy link
Contributor

@jeslat jeslat left a comment

Choose a reason for hiding this comment

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

👍

@yamal-alm yamal-alm merged commit b8e57af into main Nov 8, 2024
3 checks passed
@yamal-alm yamal-alm deleted the open-tweaks-as-single-top branch November 8, 2024 10:51
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.

3 participants