DemocracyLab / CivicTechExchange

https://www.democracylab.org
MIT License
97 stars 64 forks source link

Group Card: Project count includes deleted and un-approved projects #1092

Open qchiujunhao opened 7 months ago

qchiujunhao commented 7 months ago

Not sure what the exact count refers to. It should be related to both #1079 and #1039.

PeterBreen commented 7 months ago

The count is shown on each card on the Groups page, https://democracylab.org/groups

Here's an example with the count circled. image

to verify if this issue is still valid, I'd suggest creating a group in a test environment and adding, say, 8 projects to it. Approve 6 of them in the admin console. The number shown should be "6 Projects" - and if you then completely delete one of those 6 approved projects, it should say 5. That should test both unapproved and deleted projects per the original issue.

however, I'd guess it's still valid simply because in that example - which is from the live site - it reads 11. But if you click through to the group page and count the number of participating project cards, there are 10.

ddfridley commented 5 months ago

@qchiujunhao Hi, I'm helping with development focus for DemocarcyLab. We've created a DemocracyLab Dashboard and would like to update the status of this issue.