makeopensource / devU

Autograder version 4
11 stars 14 forks source link

Frontend file upload #92

Closed keiferms3 closed 6 months ago

keiferms3 commented 6 months ago

Proposed changes


Created a new form to create container autograders and added a file upload field to the submission creation form. Added postMultipart and putMultipart functions to RequestService to make multipart-form requests.

Types of changes


What types of changes does your code introduce? Put an x in the boxes that apply

Checklist


Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code.

Further comments


As an assignment can only have a single container autograder, a way to update CAGs should be implemented on the frontend.

Notable bug, as the handling of query parameters has changed on this route's backend, the assignment detail page currently displays every submission on every assignment's page.

jessehartloff commented 6 months ago

I merged this before noticing there was a conversation.. These comments should still be addressed in another PR @keiferms3