rsschool-app
rsschool-app copied to clipboard
Button to submit student's new job
Add a button, that student can use, when he finds a job. It's voluntary to use it, but the statistics collected should be helpful. Technical: Fields
- (required) I've got a job
- (not required) Company that hired you
- (not required) Country where the office located
Answers should be saved in database linked to user's ID. No additional confirmation required. Form data could be Boolean and Strings.
Add a "Job Found" Button for Students Who Found Employment
Description:
As a useful enhancement to the app, we need to add a button that students can use when they find a job. This feature is voluntary, but the collected data will help us analyze and improve the effectiveness of our courses.
Technical requirements:
- Implement a button with the caption "I've got a job"
- On clicking the button, display a form with the following fields: a. (required) Checkbox to indicate that the student has found a job b. (optional) Text input for the company that hired the student c. (optional) Text input for the country where the office is located
- Save the submitted data in the database, linked to the user's ID. No additional confirmation is required.
Acceptance Criteria:
- The new button should be easily accessible to students within the app
- The form should collect the required information upon submission
- The data needs to be saved and linked to the corresponding user's ID in the database.
Note: In the database schema, create new columns for the job status (Boolean),company name (String), and office location (String). These columns should have appropriate constraints, such as allowing null values for optional fields.
@valerydluski
- Does this button should be added to User Profile?
- Should a new table be added or new columns be added to the
user
table?
- yes
- I don't think we need a new table for this
- yes
- I don't think we need a new table for this
Should that button be available only if the job status field for this user is not set yet? Or it should be visible all the time and could be resubmitted?