Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Extend Jetstream Registration to Collect Additional User Data #95

Open
5 tasks
hpmouton opened this issue Oct 15, 2024 · 0 comments
Open
5 tasks
Labels
enhancement New feature or request

Comments

@hpmouton
Copy link
Contributor

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.
    • Existing registration functionality remains unaffected.
    • Tests confirm the functionality works as expected.
@hpmouton hpmouton added the enhancement New feature or request label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant