nasonfish / derp

Development Experience Reporting Platform
0 stars 3 forks source link

User story: Professor should be able to create an assignment #12

Open nasonfish opened 5 years ago

nasonfish commented 5 years ago

I'm going to try to find a compromise between my workflow of working through issues, and all of yours of having user stories.

In this story, the professor will be able to create an assignment. The assignment will have a course, title, description, available date, and due date. When created, it will show up under the course view for any person looking at the course, and another story will describe the submission process.

https://github.com/nasonfish/derp/compare/master...nasonfish:assignments

This is a link which compares all the work done on assignments already (seen in the assignments branch).

The current hold-up is that it is difficult to obtain a date from the browser. It is sloppy to ask someone to type in a specified date format, and using a calendar might overcomplicate things a little bit (since the professor's range of dates should only be within the three-and-a-half-week block (though this is not ALWAYS the case-- consider an adjunct class, or perhaps another college picking up DERP for their own use).

My ideal goal would be to make our own javascript date selector which allows you to swiftly select these numbers without a great deal of complication with selecting years, dealing with dates that aren't valid, etc. OR find a JS plugin that we would be satisfied with which will make this process easy.

Once a plugin has been selected, it must allow the professor to specify these two dates; available date, and due date.

Let me know if you have any questions, and if you're interested in taking this story on.

nasonfish commented 5 years ago

I would be okay with utilizing this library in order to make it so we don't have to write a bunch of custom JavaScript (unless someone wants to make something really nice which they can release as a separate library. JavaScript plugins can be cool and popular if you make something particularly clean or novel, but it can also be a pain in the butt to consider every use case).

nasonfish commented 5 years ago

A rudimentary solution is going to be merged in shortly. I will leave this issue open because I've only implemented the functionality server-side, and work still needs to be done to make the interface look nice.