[#13202] Add a show all/collapse all button for students on their submission page
Fixes #13202 Closes #13203
Outline of Solution
- Added the UI for the button just above the drop down questions
- Implemented the Show All and Collapse All logic with two functions
- Wrote test scripts to test the buttons and the controller logic
- Fixed snapshots to allow test cases to pass
An added future work would be grouping the Submit and Reset buttons with the question drop downs when grouped by Recipient. As seen from the screenshots, when the drop downs are collapsed, they are separate and causes the drop down to look different from grouping by Question.
See screenshots below for the utilisation of the buttons, for both group by Question and Recipient.
Group by Question screenshots
Hi @kvernnn, thank you for your interest in contributing to TEAMMATES! However, your PR does not appear to follow our contribution guidelines:
- Description must reference the issue number the PR is fixing, e.g.
Fixes #<issue-number>(orPart of #<issue-number>if the PR does not address the issue fully)
Please address the above before we proceed to review your PR.
Show All or Expand All?