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

FEAT: Display total comments and number of replies for each comment #219

Open
muntaxir4 opened this issue Feb 22, 2025 · 0 comments
Open

Comments

@muntaxir4
Copy link
Contributor

muntaxir4 commented Feb 22, 2025

Is your feature request related to a problem? Please describe.
Currently, the tutorial comments section does not display the actual total number of comments or the number of replies per comment. This makes it difficult for users to gauge engagement and discussions at a glance.

Describe the solution you'd like

  1. Show total comments count at the top of the comment section.
  2. Display the number of replies below each comment to indicate discussion activity.
  3. Ensure this data updates dynamically when new comments or replies are added.

Additional context
This requires modifications in tutorialPageActions.js to fetch and store comment and reply counts in the state, as well as UI changes in Comment.jsx to display the numbers correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant