Skip to content
This repository was archived by the owner on May 10, 2022. It is now read-only.
This repository was archived by the owner on May 10, 2022. It is now read-only.

Show exercise content on feedback page #340

@jpslav

Description

@jpslav

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions