hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
69 stars 44 forks source link

Thread count in topic should reflect only number of threads in that topic #9419

Closed Israellund closed 1 day ago

Israellund commented 1 month ago

Describe the bug

-The thread count in each topic is showing the amount of threads from General, and not the thread count from that particular topic.

Reproduction steps

-create a new topic in a community where you are admin and where there are threads in General -when redirected to that topic after creation, notice the thread count next to the "Create thread" button.

Actual behavior

-incorrect thread count

Expected behavior

-thread count should reflect the amount of threads in that specific topic

Screenshots / Video

Screenshot 2024-10-03 at 9 43 35 AM
Israellund commented 1 week ago

@KaleemNeslit reassigning this ticket to you for the week of November 18th. For this investigate the trpc call that get's the threads and update it to get the total number in that topic. Thank you.