Figma Design for ideal account creation screen Pending.- Basic screen with UserName / FullName and hardcoded profile picture
We currently don't have any option for users to input unique usernames so their account/ profile may be identified. Implementing this in MVP future-proofs profile features and avoids downstream complexities, whilst keeping consistency across users.
Why
As a new user signing in with Google or Apple
I want to be asked to choose a unique username
And be easily identified by our full name
So that I have a consistent identity in the app and can be identified across features
Acceptance Criteria
Given I sign in using Google or Apple for the first time
When my Firebase user record is created
Then I should be shown a screen prompting me to choose a username
Given I enter a username and tap confirm
When the username is valid and available
Then it should be saved to Firestore and associated with my UID
Given I try to enter a taken or invalid username
When I submit the form
Then I should see a validation message and not be allowed to proceed
Given I return to the app on a later login
When I sign in again via Google/Apple
Then I should bypass the username screen if my username has already been saved
Proposed Implementation
username field exists for the user in Firestore
/users/{uid}/usernameBackend
/users/{uid}/username/usernames/{username} collection for atomic writes and lookups