New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a "Show Correct Answers" button to the problem and test pages. #2406
base: WeBWorK-2.19
Are you sure you want to change the base?
Add a "Show Correct Answers" button to the problem and test pages. #2406
Conversation
Cutting the padding barely helps. Generally speaking there is a problem authoring issue here. Even without the feedback shown you can see in your screen shots that the inputs are smashed together from one line to the next. That does not look good, and a problem author should do a better job of insuring spacing between lines. Bad problem authoring practices that make problems not look good in general is a large part of the issue with the feedback popovers overlapping to begin with. |
ac0b7da
to
d77064e
Compare
I reduced the padding on the popover in the special case that correct answers are the only thing shown. It helps a little with problems that smash things together. But doesn't help the generally poor appearance of those problems to begin with, and doesn't help if the answers themselves have more height or the case of tightly grouped answers on the same line. |
d77064e
to
5fa4a8c
Compare
Those conflicts you predicted are here now. |
5fa4a8c
to
9078c81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
9078c81
to
6d93bb8
Compare
When this button is used correct answers will be shown with no other content in the feedback popover, scaffolds will all be open, and the feedback popovers will open immediately on page load. This is an instructor only option for now. I don't think this will be a good idea to enable for students. Furthermore, the "Show Correct Answers" buttons on other instructor pages (pg problem editor, problem library, set detail page, statistics, and manual problem grader) now use this for showing correct answers. This works well for most problems, but there are some cases where answers are tightly grouped particularly when there are on the same line that the popovers can overlap in not the best way. This is one potential resolution of openwebwork/pg#1047.
6d93bb8
to
38a5055
Compare
When this button is used correct answers will be shown with no other content in the feedback popover, scaffolds will all be open, and the feedback popovers will open immediately on page load. This is an instructor only option for now. I don't think this will be a good idea to enable for students.
Furthermore, the "Show Correct Answers" buttons on other instructor pages (pg problem editor, problem library, set detail page, statistics, and manual problem grader) now use this for showing correct answers.
This works well for most problems, but there are some cases where answers are tightly grouped particularly when there are on the same line that the popovers can overlap in not the best way.
This is one potential resolution of openwebwork/pg#1047.
Note that this requires openwebwork/pg#1065 to work.
Also, this is built on top of #2395, and will have conflicts with #2405 that will need to be resolved.