Make the "Show Problem Grader" checkbox a button instead. #2395
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The button is below the other usual problem/test submit buttons. When clicked problem graders are shown, and the button becomes the "Hide Problem Grader" button. Obviously when that is clicked the problem graders are hidden.
For now nothing is done with the check boxes for showing the various PG debugging information elements. In thinking about this further, there really isn't a better way of handling those with the current structure. Those are only shown for admin users (by default) so I don't think this is something that will be changed for this release. I think that these should be removed from the problem page entirely, and instead only shown (for those with the permission to see them) on the PG editor page. The PG code for handling these things should be completely revised and cleaned up. It really is a hack for them to work with these check boxes to begin with. On the PG editor page a modal dialog could be made available to view this data.
As to showing correct answers in a list after the problem (or at the bottom inside the probem?), I am not sure that is the best idea either. We can talk about this more in a meeting, but I think it will end up being a rather ugly addition to the page. We might as well go back to the results table. This needs more thought.