Implement resolved/unresolved thread functionality for Q&A topics#27
Merged
DanAlejandroRodriguez merged 4 commits intoadd-q&A-featuresfrom Feb 11, 2026
Merged
Conversation
|
Looks good overall! Topics in Q&A correctly default to Unresolved on creation, and using Topic Tools → Mark Resolved / Mark Unresolved updates the status immediately. The resolved badge shows up correctly on the topic page, and filtering by Resolved / Unresolved in the topic list works as expected. I also like that the state stays consistent across views and updates without a refresh. This fits nicely into the existing Topic Tools UI and feels intuitive to use. |
451f219 to
50c3865
Compare
DanAlejandroRodriguez
approved these changes
Feb 11, 2026
DanAlejandroRodriguez
left a comment
There was a problem hiding this comment.
Verified the logic in src/topics/tools.js; everything aligns with my branch and builds off of it well. Approving based on Jing's successful UI testing
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds Resolved & Unresolved threads for Q&A topics end-to-end. Q&A topics default to Unresolved on creation, moderators/admins can toggle the status from the Topic Tools dropdown, and the UI updates immediately (including real-time updates via events). This also adds Resolved / Unresolved filtering in the Unread/Recent views to make it easy to find questions by status.
Overall, this touches both backend and frontend: backend logic to store/guard the resolved state, plus UI + templates so users can toggle it and see it update live.
Main Changes:
test/qanda.jsTopics in Q&A are automatically set to Unresolved when created:

In the "Topic Tools" dropdown, you can click the 'Mark Resolved' or 'Mark Unresolved' to set the topic as Resolved or Unresolved:

After clicking “Mark Resolved,” the UI updates immediately (status label flips to “Resolved”):

Resolved/Unresolved status is displayed on the topic page as a status badge under the title:
You can now filter the Unread/Recent lists by “Resolved” or “Unresolved” topics.:
Next Steps / Follow Ups: