Added a snackbar that shows up when checkNotOnboarded is triggered. The snackbar is only triggered if the user had just logged in, which is determined with a boolean stored in local storage, and set upon useAutoLogin. The snackbar prompts the user to tap a button that triggers the tally user research popup.
(there is also a minor change removing an unused import in an unrelated file)
Issue ticket number and link
Screenshots (if appropriate):
Checklist before requesting a review
[x] I have performed a self-review of my code
From what I could test, the snackbar only shows up for returning users (i.e. not the first time logging in) that have only just logged in.
Describe your changes
Added a snackbar that shows up when checkNotOnboarded is triggered. The snackbar is only triggered if the user had just logged in, which is determined with a boolean stored in local storage, and set upon useAutoLogin. The snackbar prompts the user to tap a button that triggers the tally user research popup.
(there is also a minor change removing an unused import in an unrelated file)
Issue ticket number and link
Screenshots (if appropriate):
Checklist before requesting a review
From what I could test, the snackbar only shows up for returning users (i.e. not the first time logging in) that have only just logged in.