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

Mark as official front end completed #23

Merged
merged 3 commits into from
Feb 28, 2025
Merged

Mark as official front end completed #23

merged 3 commits into from
Feb 28, 2025

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.

@ismaelgarudo26 ismaelgarudo26 added the frontend Frontend development label Feb 28, 2025
@ismaelgarudo26 ismaelgarudo26 added this to the Sprint 1 milestone Feb 28, 2025
@ismaelgarudo26 ismaelgarudo26 self-assigned this Feb 28, 2025
@PittsIrv PittsIrv merged commit a07c828 into main Feb 28, 2025
0 of 2 checks passed
Copy link
Contributor

@PittsIrv PittsIrv left a comment

Choose a reason for hiding this comment

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

I think that works.

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.

Display "Official Answer" badge on the frontend
2 participants