Open stevebrownlee opened 3 months ago
Update the project creation logic to check if is_advanced_project
is not None
. If not, validate that description
and template_url
were provided in the request body. Respond with 400 if not.
If it all validates, create project and then create related project info.
Today we added the data to the model and updated the admin form to select advanced type, and provide description and template_url in that case.
Still to do:
send additional slack message on approve assessment -- add buttons to message (each will link to LMS placeholder page)
placeholder page to update student status, create repo, then redirect to that repo
TODO: Update radio buttons as Radix controls
https://radix-website-a4l61k3zl-workos.vercel.app/themes/docs/components/radio-group
Models
Add a ProjectInfo table with foreign key to Project
In Project model add
is_advanced_project
boolean which defaults to FalseView logic
assess
method for the student_view, find the codeif latest_assessment.status.status == 'Reviewed and Complete':
if
block, query all ProjectInfo whereproject__book={current book}
andis_advanced_project=True
https://learning.nss.team/pickproject/{project id}
<Redirect/>
from RRD to send directly to Github repo