climbjios-sg / climbjios-app

The community for climbers 🧗
https://www.climbjios.com/
GNU General Public License v3.0
25 stars 4 forks source link

Feat: Tally user research #270

Closed nathantew14 closed 1 year ago

nathantew14 commented 1 year ago

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.