Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented Mark as Official" Button & Official Answer Badge on frontend #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ismaelgarudo26
Copy link
Contributor

This pull request adds a "Mark as Official" button to posts, allowing users to designate an answer as official. It also introduces a badge that visually indicates when a post has been marked as official. Resolves #14 and #11.

Changes Implemented:

  • Added a "Mark as Official" button in post.tpl
  • Introduced an Official Answer badge that appears when a post is marked as official
  • Modified the custom theme (custom-theme/templates/partials/topic/post.tpl)
  • Rebuilt the theme to reflect UI changes

Steps to test :

  • pull the branch and install dependencies
  • run ./nodebb build tpl and ./nodebb restart
  • navigate to a post.
markofficial

@ismaelgarudo26 ismaelgarudo26 changed the title WIP: Implemented Mark as Official" Button & Official Answer Badge Implemented Mark as Official" Button & Official Answer Badge on frontend Feb 28, 2025
@ismaelgarudo26 ismaelgarudo26 added this to the Sprint 1 milestone Feb 28, 2025
@ismaelgarudo26 ismaelgarudo26 linked an issue Feb 28, 2025 that may be closed by this pull request
@ismaelgarudo26 ismaelgarudo26 added the frontend Frontend development label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Frontend development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Mark as Official" button for instructors Display "Official Answer" badge on the frontend
1 participant