Skip to content

US2 Final: Unresolve/resolve button#36

Merged
17 commits merged into
mainfrom
coverage-testing
Feb 11, 2026
Merged

US2 Final: Unresolve/resolve button#36
17 commits merged into
mainfrom
coverage-testing

Conversation

@PDFour4
Copy link
Copy Markdown

@PDFour4 PDFour4 commented Feb 10, 2026

This PR updates the TA Question Resolution user story to maintain question resolution status for students and automatic unresolved question filtering for Admins/TA.

Frontend:

  • Unresolved button turns into a green resolved button when clicked
  • Green resolved button turns into a gray unresolved button when clicked
  • Only admins/TAs are able to toggle this button
  • Members (not admin/TAs) can view it but are not able to toggle it
  • Only available in the comments & feedback section
  • Posts are ordered with unresolved questions at the top
  • When posts are resolved, they move to the bottom for Admin/TAs view

Backend:

  • Edited appendResolveStatus to include filtering for Admins/TAs
  • Updated function call to posts.isResolved in post.tpl so students get accurate unresolved/resolved status.

How To Test:

  • Log in as a TA/Admin.
  • View Comments & Feedback section.
  • Go to a question.
  • Click "Unresolved" (it should turn green) and change to "Resolved".
  • Log in as a Student/Regular User.
  • Verify the button is visible and keeps the status of what the Admin changed it to.
  • Students do not have the unresolved/resolved filtering for the questions.

@PDFour4 PDFour4 closed this pull request by merging all changes into main in 76bf730 Feb 11, 2026
@brendayyu brendayyu added the good first issue Good for newcomers label Feb 28, 2026
@brendayyu brendayyu added this to the Sprint 1 milestone Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment