dodona icon indicating copy to clipboard operation
dodona copied to clipboard

Easy fetch last submission in hand in area

Open BTWS2 opened this issue 3 years ago • 4 comments

Marleen Denert wonders if it would be a useful feature to add a "fetch latest submission"- button when starting an exercise in the hand in area. This would allow for students to continue where they left off without much hassle.

In the current situation you have to start from the series:

Go to series: image Modify submission: image

Suggested situation: notify the user in the hand in area that there is a previous submission available and they can continue where they left off.

image

BTWS2 avatar Jun 25 '21 08:06 BTWS2

@BTWS2: next to the "hand in" tab of the exercise is the "submission" tab where students can see their previous submission and continue from any of those submissions (the last submission is on top of that list). So the functionality you are looking for already seems to be available.

Students also have a list of recent submissions on their home page, showing the submissions for the last 5 exercises they have been working on across all courses. On the home page they can also go to the complete history of all their submissions (either in the right menu or by clicking on the submission count in their profile) and pick any of these submissions as a starting point to continue their work.

pdawyndt avatar Jun 25 '21 11:06 pdawyndt

Another possibility is to indicate if or how many previous submission are available, but it doesn't look as clean as before. The number of submission doesn't matter that much, but the user should see somehow that there are previous submission available. image image

Currently, there is no distinction between new and already made exercises until "Submissions" is clicked. image

Fetching the last submission could be an optional feature of the plugin/extension.

BTWS2 avatar Jun 25 '21 12:06 BTWS2

Not showing the Submissions tab if there aren't any seems like an easy way to fix that.

chvp avatar Jun 25 '21 15:06 chvp

@chvp that's also ok for me.

BTWS2 avatar Jun 25 '21 16:06 BTWS2

We will automatically load a previous submission in the hand in area if there is one available. We should display a message that the previous submission was loaded automatically and add an option to clear/restore the boilerplate code.

bmesuere avatar Jan 27 '23 10:01 bmesuere