Skip to content

Frontend US3: "Approved by Instructor"#35

Closed
brendayyu wants to merge 10 commits into
mainfrom
frontend-u3
Closed

Frontend US3: "Approved by Instructor"#35
brendayyu wants to merge 10 commits into
mainfrom
frontend-u3

Conversation

@brendayyu
Copy link
Copy Markdown

  • Dropdown menu in "..." has a "Approve Answer" for individual posts in the Comments & Feedback category
  • when an answer is approved, there is a green "Approved by Instructor" badge that appears next to the username of the post
  • if an answer is approved, it can be taken away by clicking on "Remove Approval" in the "..." menu

brendayyu and others added 10 commits February 7, 2026 21:16
- Add resolve button to post actions in topic template
- Implement client-side toggle functionality in resolve.js
- Button displays green checkmark when resolved, gray circle when unresolved
- Text shows 'Resolved' or 'Unresolved' state (hidden on mobile)
- Position button to the left of reply button in post toolbar
Attaching the backend feature for the unresolved/resolved buttons done in the frontend.
- Adds approve/unapprove action to post menu
- Restricts approval to specific categories
- Shows approved badge on supported posts
- Cleans up UI during SPA navigation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment