-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merging changes from US1 Implementation (Sprint 1) #30
Conversation
* append each topic title with content preview * addressed lint errors * removed console log from P1
src/categories/topics.js: add attribute {content} to the topic object in the Categories.getCategoryTopics() function node_modules/nodebb-theme/harmony/templates/partials/topics_list.tpl: add <div> to include topic.content in the topics_list page
display changes from an extra block next to the title to placing the content preview underneath the title
test whether the content has more than 100 characters and add '...' to contents that exceed the 100 character limit
Pull Request Test Coverage Report for Build 11189175819Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! All makes sense and looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm !! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes all the code changes make sense to me
make changes to connect frontend changes to the nodebb-frontend-f24-team-bulbasaur repository: link to frontend repo: https://github.com/CMU-313/nodebb-frontend-f24-team-bulbasaur
What?
Resolves Implement code for US1 feature #6, Identify the FE files which need to be changed in order to fulfil US1 #2, Identify the BE files which need to be changed in order to fulfil US1 #3, Create test cases for the implementation of US1 #4, Create UserGuide file #33, Validate code coverage remains the same/ higher than before implementation of US1 feature #5 for US1
Why?
These changes resolve US1, which is to allow students and instructors to preview the first few sentences of a post to get a quick understanding of what question is being asked. For more information, refer to US1 under "Team Bulbasaur User Stories" board.
How?
Category.getCategoryTopics
insrc/categories/topics.js
file, which GETs and displays all postsgetMainPosts
functionnode-theme-harmony/templates/partials/topics_list.tpl
, searched the GitHub repo for those same tags to locate where the tags were in the filesTesting?
TopicObject.yaml
to ensure that response and schema alignedScreenshots
Successful implementation of US1 feature
Successful test run
Anything Else?
Thank you