nasonfish / derp

Development Experience Reporting Platform
0 stars 3 forks source link

User story: The user should be able to create a submission for an assignment #13

Open nasonfish opened 5 years ago

nasonfish commented 5 years ago

This is a user story which is a little bit less hashed-out.

My goal is that the user would be able to go to the assignment page, and there would be a submit button which they can press. This will open a Javascript Modal which will ask them if they want to confirm submission, and ask them if they are submitting from the master branch, and if they'd like to submit from a certain tag. When they confirm this information, the assignment will be considered submitted.

Depending on how tests work, we might close the modal and use AJAX to wait for the tests to be run and leave a result. They may then re-submit the assignment as many times as they want, and get the result back on how it performed.

I also think there should be a "test" button which runs tests without counting it is a formal submission. However, after they have submitted, their code will be pulled to the DERP server using git, and will be stored there (so that it may be manually reviewed despite any changes that may happen to the user's git repository).

This is a tricky story to work on because it not only relies on some advanced web capabilities (AJAX) but also with integration with outside tools (git, test execution).