Allows the user of the form to submit a co-op review and save it to the database.
Displays a toast if the submission is successful
URL Format: [baseUrl]/review?id=[roleId] (a review can only be submitted if there is an associated role already present for the given company AND if the user has been onboarded and had a profile)
Things to be reviewed
For testing, go to the latest Vercel preview and try to submit a review for a role with the following roleId: cltak20q30003xpdjkmhykp0f. The Mock User credential provider has an associated Profile in the database. If a user has not created a Profile, then the review form is not visible.
Also check if there is any Cross Site Scripting potential <3
Closes #39
Description
[baseUrl]/review?id=[roleId]
(a review can only be submitted if there is an associated role already present for the given company AND if the user has been onboarded and had a profile)Things to be reviewed
For testing, go to the latest Vercel preview and try to submit a review for a role with the following
roleId
:cltak20q30003xpdjkmhykp0f
. TheMock User
credential provider has an associatedProfile
in the database. If a user has not created aProfile
, then the review form is not visible.Also check if there is any Cross Site Scripting potential <3
Link: Preview
Mock User
before you are able to access this page.Checklist