Skip to content

Feature/endorse backend#40

Merged
Q2L2 merged 10 commits intomainfrom
feature/endorse-backend
Feb 27, 2026
Merged

Feature/endorse backend#40
Q2L2 merged 10 commits intomainfrom
feature/endorse-backend

Conversation

@Q2L2
Copy link
Copy Markdown

@Q2L2 Q2L2 commented Feb 27, 2026

  • Implemented the backend for the endorse feature for issues Add a visual indicator showing the endorsement status. #26 and Restrict the endorse feature to the course instructors only. #27. This includes implementing a green badge visual indicator on the main page, the toggle logic, the set state function, routing the frontend and the backend via API end points.
  • The feature Endorse Post feature is valuable for instructors to highlight certain posts as valuable for the class to look on the Q&A forum page.
  • The changes added include implementing functions such as ThreadTools.setEndorsedState(), toggleEndorse(), topicsAPI.endorse() and topicsAPI.unendorse() and required API endpoints to enable the frontend to send requests to the backend and receive responses .
  • Tested the backend implementations by running NodeBB locally and clicked on the Endorse Post button to trigger the UI, ensuring that the button toggles correctly, the displayed messages are visible, the visual indicator is set and the correct states are saved upon refreshing the page.

@Q2L2 Q2L2 added this to the Sprint 2 milestone Feb 27, 2026
@Q2L2 Q2L2 added the enhancement New feature or request label Feb 27, 2026
@Q2L2 Q2L2 self-assigned this Feb 27, 2026
@Q2L2 Q2L2 merged commit fe65f7a into main Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restrict the endorse feature to the course instructors only. Add a visual indicator showing the endorsement status.

1 participant