lml / ost

OpenStax Tutor
Other
7 stars 8 forks source link

Show exercise content on feedback page #340

Open jpslav opened 10 years ago

jpslav commented 10 years ago

Sometime after a student works an exercise on an assignment, feedback (the answer, high-level solution, and detailed solution) may be released to him/her.

The feedback page is a separate page from where the student read and answered the exercise. It unfortunately doesn't show the content of the exercise, so if the student wants to go back and forth between the exercise and the solution they have to go back and forth in the browser (which is not cool).

This task is to display the exercise on the feedback page. This should be fairly easy to do as there are already partials for displaying it on other pages (see app/views/student_exercises/show.html.erb)

There is an open question as to where the exercise should be displayed. If we display it at the top of the page, we might want to display it collapsed so the user can immediately see the blurb that says if they got it right or wrong. UX people will later tell us exactly where to put the content, but for now, just pick a place that seems reasonable. If we need to move it, we should just have to move one line of code give or take.

jpslav commented 10 years ago

cc @kjdav @Dantemss

navilan commented 10 years ago

@jpslav - This can be closed in light of #348.