talk icon indicating copy to clipboard operation
talk copied to clipboard

Add a count for top level comments

Open sofiadipace opened this issue 11 months ago • 1 comments
trafficstars

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?

sofiadipace avatar Dec 17 '24 11:12 sofiadipace

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!

losowsky avatar Dec 17 '24 19:12 losowsky