CMU-17313Q / fall23-nodebb-just-relax

fall23-nodebb-just-relax created by GitHub Classroom
GNU General Public License v3.0
0 stars 2 forks source link

Removing Replies Feature for Resolved Questions (Front-End) - User Story 5 #37

Closed Maria-Aidarus closed 11 months ago

Maria-Aidarus commented 12 months ago

Estimated effort for task: This is a moderate task as it involves creating conditional statements in the template files. Dependencies: #17 Resolve back-end should work to detect whether the button should be disabled or not. Acceptance criteria: Reply button is disabled and being unable to respond to questions after they are marked resolved.

Maria-Aidarus commented 11 months ago

Huda: 4 hours Maria: 5 hours

themes/nodebb-theme-persona/templates/partials/topic/reply-button.tpl - In the reply-button.tpl file of the NodeBB theme, we inserted conditional statements and conducted experiments to optimize their placement for improved functionality. While examining the usage of Benchpress, we encountered challenges in distinguishing between posts. We attempted to test the existing code by adding new lines, but unfortunately, our efforts did not yield the intended results.

We pushed the branches; removingReplies and removingReplies2 :)