You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to modify the current Jetstream user registration process to collect additional information regarding user qualifications and job descriptions. This will involve creating new relationships in the database and adjusting the registration form to accommodate these additional data points.
New Fields to Add:
Job Description (JCP) – Each user will have a corresponding job description.
Qualifications – These will be stored in a separate table and linked to users via a pivot table.
Tasks
Modify Registration Form:
Extend the Jetstream registration form to include:
A text area for entering the Job Description.
A multi-select dropdown or checkboxes for selecting Qualifications from existing qualifications.
Update Validation Logic:
Ensure that job descriptions and qualifications are validated correctly during registration.
Modify Registration Logic:
Update the create method in the RegisteredUserController to:
Save the job description for the new user.
Associate selected qualifications with the user via the pivot table.
Update Tests:
Write tests to ensure that the new fields are correctly saved and that the associations in the pivot table work as intended.
User Stories
As a new user, I want to provide my job description during registration, so that the system can tailor features based on my role.
As a new user, I want to select my qualifications, so that my skills can be associated with my account.
Additional Context
The job_descriptions table will link directly to the user, allowing for easy retrieval of a user's job context.
The qualifications table will allow multiple qualifications to be associated with a user through a pivot table, facilitating many-to-many relationships.
Acceptance Criteria
The registration form includes fields for entering a job description and selecting qualifications.
The job description is stored in the job_descriptions table linked to the user.
Selected qualifications are stored in the qualification_user pivot table.
Tasks
Modify Registration Form:
Update Validation Logic:
Modify Registration Logic:
Update the create method in the RegisteredUserController to:
Update Tests:
User Stories
Additional Context
Acceptance Criteria
The text was updated successfully, but these errors were encountered: