teammates icon indicating copy to clipboard operation
teammates copied to clipboard

[#13174] Student viewing responses: allow hiding self responses

Open Zijian-Yang opened this issue 1 year ago • 1 comments

Fixes #13174 This pull request implements the feature to allow students to hide their own responses when viewing feedback session results. The changes include:

  1. Added a toggle switch in the session results page for students to hide/show their own responses.
  2. Implemented the logic to filter out self-responses when the toggle is activated.
  3. Updated the UI to reflect the hidden/shown state of self-responses.
  4. 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.

Zijian-Yang avatar Oct 19 '24 04:10 Zijian-Yang

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> (or Part of #<issue-number> if the PR does not address the issue fully)

Please address the above before we proceed to review your PR.

github-actions[bot] avatar Oct 19 '24 04:10 github-actions[bot]

Hi @Zijian-Yang Could you please fix the failing tests before we review your PR? Thanks!

jasonqiu212 avatar May 27 '25 02:05 jasonqiu212

Closing due to inactivity. Please feel free to re-open a new PR if you wish to work on this again @Zijian-Yang 🙏

jasonqiu212 avatar May 30 '25 00:05 jasonqiu212