codu-code / codu

Codú's open-source codebase. A space for coders. Visit our community!
https://codu.co/
Apache License 2.0
121 stars 93 forks source link

Add "Years of experience" field to onboarding form #1009

Open John-Paul-Larkin opened 1 week ago

John-Paul-Larkin commented 1 week ago

Context

On slide three of the additional-details (onboarding form) the user is presented with a dropdown, from which they select whether they are a "Working professional", "Current student" or "None of the above".

If they select "Working professional" they are presented with two further questions. "Where are you working?" and "What is your job title?". Additionally to this we would like to ask for "Years of experience". A dropdown would work, but you could alternatively add a text input. Either way please include Zod schema for the validation of a reasonable number. Please use the catalyst components and remain consistent with the form styling. A new field will be required on the user table.

Current Behaviour

Current Slide three

Additional info

Note: The catalyst components can be found at :

components> ui-components

The 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

NiallJoeMaher commented 1 week ago

We should probably select a range of years so it's not just a random number. Let me see if I can find some sensible ranges.

John-Paul-Larkin commented 6 days ago

We should probably select a range of years so it's not just a random number. Let me see if I can find some sensible ranges.

How about this for ranges??? 0-2 3-5 5-10 10+ 20+