Implement a sign up context that holds values of the wizard and abstract away the logic for submitting values.
🚧 Todo
[x] Finish the `SignUpProvider´ - internal logic for handling step submission
[x] Modify how app handles restoring session - all data should be available in local storage - only fetch from db if signing in again
[x] Finish the bottomSheet component for cancelling the sign up wizard - clear values and delete user.
[x] Upload avatar image to storage bucket
[x] Ensure annual and monthly subscription is available - monthly with a 14 (ay trial
[x] Deploy edge function to delete an account if the user cancels the wizard
[x] Modify global auth state. There should never be a partial user object stored in global state. Since the sign up wizard should only complete when all data is acquired
[x] Sync local database with remote
[x] Delete linked storage files when deleting user
[x] Check Error handling in sign up steps. Are all errors handled gracefully? - Good Enough for MVP
🐛 Development Bugs
[x] Final signUp step (subscription) sometimes fails - only beacuse apple sandbox subscription is already active?
[x] Profile username input field is hidden, needs to avoid keyboard
➕ Additional Changes
Improve InputField component
Added a bottomSheet to handle confirmation actions, instead of tamagui dialog component
Organize feature folders into a user feature and a auth feature, as the logi held within each feature should be pretty different.
📒 Description
Implement a sign up context that holds values of the wizard and abstract away the logic for submitting values.
🚧 Todo
bottomSheet
component for cancelling the sign up wizard - clear values and delete user.🐛 Development Bugs
➕ Additional Changes
InputField
componentbottomSheet
to handle confirmation actions, instead oftamagui
dialog componentuser
feature and aauth
feature, as the logi held within each feature should be pretty different.withHapticFeedback
HOF