Skip to content

feat: Add swipe snackbar for new users#83

Merged
JesseScott merged 3 commits intomainfrom
feat/swipe-snackbar-12106260559984412563
Dec 20, 2025
Merged

feat: Add swipe snackbar for new users#83
JesseScott merged 3 commits intomainfrom
feat/swipe-snackbar-12106260559984412563

Conversation

@google-labs-jules
Copy link
Contributor

This change introduces a "Swipe to see more" snackbar that appears for new users on their first launch. It uses DataStore to track whether a user has swiped past the initial screen, so the message is only shown once. The implementation is integrated into the existing UserPreferencesRepository and MoonlightViewModel and uses a Scaffold in MainActivity to display the snackbar.

Fixes #63


PR created automatically by Jules for task 12106260559984412563 started by @JesseScott

- Adds a snackbar to the main screen to encourage new users to swipe.
- Uses DataStore to persist whether the user has swiped before, ensuring the snackbar is only shown once.
- Integrates the preference into the `UserPreferencesRepository` and `MoonlightViewModel`.
- Updates `MainActivity` to display the snackbar and update the preference on navigation.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@google-labs-jules google-labs-jules bot mentioned this pull request Dec 17, 2025
@JesseScott JesseScott self-assigned this Dec 20, 2025
- Moves the Snackbar message to a string resource.
- Adds a 5-second delay before the Snackbar is shown.
@JesseScott JesseScott marked this pull request as ready for review December 20, 2025 08:33
@JesseScott JesseScott merged commit 1067794 into main Dec 20, 2025
1 check passed
@JesseScott JesseScott deleted the feat/swipe-snackbar-12106260559984412563 branch December 20, 2025 08:46
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.

Snackbar to swipe

1 participant