generated from CMU-17313Q/NodeBB
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Impelement the controller and backend logic for isApproved
feature
#41
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refactoring code project2 a
refactored code for meta tags to reduce cognitive complexity
Refactor `src/topics/unread.js`
Added the refactored code
…g it to postData object in the create file to track if a post is instructor approved
- File: ./node_modules/nodebb-theme-harmony/templates/partials/topic/post.tpl - Lines: ~11, ~35 Changes: 1. Added if-else-end condition to check for annonymousType flag at line 11: - Display user avatar and profile link if annonymousType is "None". - Display anonymous avatar and empty link otherwise. 2. Added if-else-end condition to check for annonymousType flag at line 35: - Display user display name and profile link if annonymousType is "None". - Display "Anonymous-{posts.annonymousType}" and empty link otherwise.
- File: ./node_modules/nodebb-theme-harmony/templates/partials/topic/post.tpl - Lines: ~11, ~35 Changes: 1. Added if-else-end condition to check for annonymousType flag at line 11: - Display user avatar and profile link if annonymousType is "None". - Display anonymous avatar and empty link otherwise. 2. Added if-else-end condition to check for annonymousType flag at line 35: - Display user display name and profile link if annonymousType is "None". - Display "Anonymous-{posts.annonymousType}" and empty link otherwise.
Fix lost code in `node_modules/`
it was causing the nodebb build error
This commit introduces a new documentation file, UserGuide.md, which outlines the recently implemented features in the NodeBB platform. The document provides detailed instructions on the following functionalities: 1. **Marking Answers as "Instructor-Approved":** Instructors can now designate certain answers as verified to aid students in identifying accurate responses. 2. **Sharing Posts Anonymously:** Students have the option to share posts without revealing their identity, promoting a more open discussion environment. 3. **Displaying Estimated Reading Time for Posts:** Each post now features an estimated reading time, allowing students to gauge their available time before engaging with the content. The guide includes step-by-step instructions for using these features, as well as references to the automated tests that ensure their functionality. This documentation aims to enhance user experience for both instructors and students on the NodeBB platform.
…d feature as well as correcting file directory for automated testing
…rustor-approved and estimatedReadingPost. they are all under test/newImprementedFeature file path
Implemented a new test suite for new Implemented Features under path test/newImplementedFeature :the anonymous feature post, Instructor approval post and Estimanted reading Time
Added Estimated readtime function in node_modules/nodebb-theme-harmony/templates/partials/topic/post.tpl
Improve Reading Time Display on post views
Working on the Instructor Approved Label and Button Frontend in the post.tpl file
Create API Endpoint for Approving Posts with Admin Privileges
Add UserGuide.md for additional NodeBB features
Fix the UI for isApproved attribute in post object
Fix the server (casting) for isApproved attribute in post obj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.