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

Add a count for top level comments #4716

Open
sofiadipace opened this issue Dec 17, 2024 · 1 comment
Open

Add a count for top level comments #4716

sofiadipace opened this issue Dec 17, 2024 · 1 comment

Comments

@sofiadipace
Copy link

Expected behavior:

When I fetch a story stream and its comments, the commentsCount should return the number of top level comments in that story
(on the screenshot, 4 top level comments, but 28 as commentsCount)

Bildschirmfoto 2024-12-17 um 12 11 46

Actual behavior:

The commentsCount returns the number of top level comments included their replies.

Is there any way, to get the actual count of only top Level comments?

@losowsky losowsky added feature idea and removed bug labels Dec 17, 2024
@losowsky losowsky changed the title Count of top level comments is missing ? Add a count for top level comments Dec 17, 2024
@losowsky
Copy link
Member

Hi there

The comments count reflects the total number of comments, as that's the requested behavior for all of our users until now. I'm afraid what you're asking isn't in our roadmap but as always, our code is open source so feel free to create your own fork in our counts.js script and make your own counts!

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

2 participants