Skip to content

Feat/endorse#23

Merged
cirex-web merged 12 commits into
mainfrom
feat/endorse
Feb 2, 2026
Merged

Feat/endorse#23
cirex-web merged 12 commits into
mainfrom
feat/endorse

Conversation

@cirex-web
Copy link
Copy Markdown

@cirex-web cirex-web commented Feb 1, 2026

Closes #12 and #13

Any user that is added to an Instructor or TA group (case-insensitive) will now be able to endorse posts. After upvoting a post, a badge will appear below the post indicating who endorsed it.

Below is a demonstration of joining the TA group and then upvoting a post.

Screen.Recording.2026-02-01.at.10.00.45.PM.mov

How

  • All (most?) endpoints that fetch post data now return a new field called endorsedVotes, which contains an array of TAs and staff that have endorsed the post. We fetch the people who have upvoted a post and then filter by the groups that a user is part of.
  • Live updates are done through adding a new endorsedVotes field to the event:voted websocket event and handling that accordingly on the frontend.

This PR also introduces automatic preview deployments for every PR. Link to this PR's deployment: https://nodebb-spring-26-clean-code-nodebb-spring-26-clean-cod-pr-23.up.railway.app/

@railway-app railway-app Bot temporarily deployed to refreshing-wisdom / nodebb-spring-26-clean-cod-pr-23 February 1, 2026 15:31 Destroyed
@railway-app
Copy link
Copy Markdown

railway-app Bot commented Feb 1, 2026

🚅 Deployed to the nodebb-spring-26-clean-cod-pr-23 environment in refreshing-wisdom

Service Status Web Updated (UTC)
nodebb-spring-26-clean-code ✅ Success (View Logs) Web Feb 2, 2026 at 6:13 pm

@railway-app railway-app Bot temporarily deployed to refreshing-wisdom / nodebb-spring-26-clean-cod-pr-23 February 1, 2026 16:18 Destroyed
@railway-app railway-app Bot temporarily deployed to refreshing-wisdom / nodebb-spring-26-clean-cod-pr-23 February 2, 2026 02:24 Destroyed
@railway-app railway-app Bot temporarily deployed to refreshing-wisdom / nodebb-spring-26-clean-cod-pr-23 February 2, 2026 17:51 Destroyed
@railway-app railway-app Bot temporarily deployed to refreshing-wisdom / nodebb-spring-26-clean-cod-pr-23 February 2, 2026 17:59 Destroyed
@railway-app railway-app Bot temporarily deployed to refreshing-wisdom / nodebb-spring-26-clean-cod-pr-23 February 2, 2026 18:10 Destroyed
Copy link
Copy Markdown

@JoshuaNam JoshuaNam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@cirex-web cirex-web merged commit a23ae34 into main Feb 2, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants