Skip to content

fix: show total comment count on post pages - #1009

Open
saurabhhhcodes wants to merge 1 commit into
Shivayan09:mainfrom
saurabhhhcodes:fix/show-total-comments-count-1000
Open

fix: show total comment count on post pages#1009
saurabhhhcodes wants to merge 1 commit into
Shivayan09:mainfrom
saurabhhhcodes:fix/show-total-comments-count-1000

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

Closes #1000

Summary

  • display the post-level comment total instead of only the currently loaded page
  • keep the total synchronized when top-level comments are added or deleted

Validation

  • git diff --check
  • npx tsc --noEmit
  • npx eslint components/feed/CommentsSection.tsx 'app/main/post/[postId]/page.tsx'\n- npm test -- --run tests/Feed.test.tsx

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the Shivayan's projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Comments count shows only loaded comments instead of real total

1 participant