Skip to content

Alter settings page, to include first and last name. #1004

@John-Paul-Larkin

Description

@John-Paul-Larkin

Note : This issue will only be assigned to beginners.
If you have previously contributed to open source, or have experience, please filter out the issues tagged with "good first issue" and "beginner friendly".

Context

Connected to issue #1003
Create a migration script to split the name field into firstname and lastname.

We plan to introduce an onboarding form to collect user metrics. This form will have separate fields for firstName and surName.

Expected Behavior

The profile settings page should be edited to remove the 'Full Name' input and replace it with two new inputs, 'First name' and 'Surname'.
These inputs correspond to firstname and lastname in the database.
The zod validations should align with those found on the additional-details form. (AKA the onboarding form)

Current Behavior

The current settings page has a 'Full name' input, which corresponds to the 'name' field in the database.

Screenshot of the error message

Additional info

The settings page is found at :

app>(app)>settings>_client.tsx>Settings

The new onboarding form is found at

app>(app)>alpha>additional-details

Any questions feel free to ask.

Connected issues
#1003
#1004
#1005
#1006
#1008
#1009
#1011

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions