devhub-tud / devhub

DevHub is a software system designed to give students a simple practical introduction into modern software development.
15 stars 8 forks source link

Migrate rubrics from previous course edition #420

Closed LiamClark closed 7 years ago

LiamClark commented 7 years ago

When creating a new course edition it would be nice to have the rubrics of the previous course present

LiamClark commented 7 years ago

@JWGmeligMeyling We could simply add a check box so we can specifiy if we want to copy over the rubrics, however currently in create new course form it is not known if a previous edition exists. We could add this with an ajax call checking for the name the user entered, or we could maybe add a new edition for course button somewhere?

What do you prefer?

jwgmeligmeyling commented 7 years ago

No I wouldn't do it with course edition creation altogether, I would do it at assignment creation. There we can do: current course edition > getCourse > getCourseEditions > flatMap assignments to generate a select menu of assignments (and their assignment id's) to copy the rubrics from. That also allows to copy rubrics from a previous assignment which is a sensible thing to support as I had a hard time copying rubrics over that were the same for all assignments.