[#13174] Student viewing responses: allow hiding self responses
Fixes #13174 This pull request implements the feature to allow students to hide their own responses when viewing feedback session results. The changes include:
- Added a toggle switch in the session results page for students to hide/show their own responses.
- Implemented the logic to filter out self-responses when the toggle is activated.
- Updated the UI to reflect the hidden/shown state of self-responses.
- Added unit tests to ensure the new feature works as expected.
These changes address the user request to de-clutter the view by providing an option to remove their own responses from the display. The implementation follows the suggestion outlined in the original issue.
This PR builds upon #13175, which initially proposed this feature.
The changes have been tested locally and all existing tests pass. New tests have been added to cover the new functionality. Please review the changes and let me know if any modifications or additional information is needed.
Hi @Zijian-Yang, 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.
Hi @Zijian-Yang Could you please fix the failing tests before we review your PR? Thanks!
Closing due to inactivity. Please feel free to re-open a new PR if you wish to work on this again @Zijian-Yang 🙏