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

Uploading code and a grading script #57

Merged
merged 14 commits into from
Mar 4, 2022
Merged

Conversation

cindyrzheng
Copy link
Collaborator

Still under construction since the APIs for uploading a file is still unimplemented. Need help also with the API request! Not sure what to send in the body!

Other than that- added context to be passed from the overall class view landing page to the specific assignment view, will need to probably build on that context later but it works as a start!
then also added modals for uploading student code and slightly changed the modal for uploading a grading script by adding controlled inputs so we can access all the inputs in the form. Also added the scaffold for the API request (it's totally wrong as of now but as long as I can get the body right, and some dummy class IDs and Assignment IDs we're good!).

@krashanoff
Copy link
Collaborator

Cindy, could you rebase this on main?

@cindyrzheng cindyrzheng changed the base branch from main to cindyrzheng/dropclass March 2, 2022 08:30
@cindyrzheng cindyrzheng changed the base branch from cindyrzheng/dropclass to main March 2, 2022 08:30
Copy link
Collaborator

@krashanoff krashanoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Cindy, this is looking good. I left some feedback in the attached thread.

frontend/src/AssignmentView/AddAssignmentModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/AddAssignmentModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/AddAssignmentModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/UploadSubmissionModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/UploadSubmissionModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/UploadSubmissionModal.tsx Outdated Show resolved Hide resolved
@cindyrzheng cindyrzheng requested a review from krashanoff March 2, 2022 17:56
@cindyrzheng
Copy link
Collaborator Author

Hey Cindy, this is looking good. I left some feedback in the attached thread.

tried addressing all the feedback! pls lmk if this is good!

Copy link
Collaborator

@krashanoff krashanoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good following nitpicks.

frontend/src/AssignmentView/AddAssignmentModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/AddAssignmentModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/AddAssignmentModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/UploadSubmissionModal.tsx Outdated Show resolved Hide resolved
frontend/src/AssignmentView/UploadSubmissionModal.tsx Outdated Show resolved Hide resolved
@cindyrzheng cindyrzheng merged commit edb43bc into main Mar 4, 2022
@krashanoff krashanoff deleted the cindyrzheng/upload-code branch March 4, 2022 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants