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

[Web]: Miscounting of total recipients and other stats on transparency page #927

Open
2 tasks done
ssandino opened this issue Oct 24, 2024 · 1 comment
Open
2 tasks done
Assignees
Labels
website Issues concerning Website

Comments

@ssandino
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The Transparency page shows only 186 recipients, while the Admin Tool counts 205 (210 minus 5 test users). There seems to be an issue with the counting.

Steps To Reproduce

Go to transparency site

Expected Behavior

It should show 205 instead of 186 (Oct 2024). When fixing the bug, it would be a quick optimization to add additionally the 2 categories and present them as pills (see screen design below):

  1. Active (all recipients that are flagged: active)
  2. Former (all recipients that are flagged: former and suspended)

Not counted are all with status: Starting Next Payday and Waiting List.

The component pills are already used on the site.

Screenshots?

Image

Desktop Environment (please complete the following information)

  • OS:
  • Browser:
  • Version:

Smartphone Type (please complete the following information)

  • Device:
  • OS:
  • Browser:
  • Version:

Additional context

No response

Code of Conduct

  • I've read the Code of Conduct and understand my responsibilities as a member of the Social Income community
@ssandino ssandino added bug website Issues concerning Website and removed bug labels Oct 24, 2024
@ssandino ssandino changed the title [Website Bug]: Miscounting of total recipients [Website Bug]: Miscounting of total recipients and other stats on transparency page Oct 31, 2024
@ssandino ssandino changed the title [Website Bug]: Miscounting of total recipients and other stats on transparency page [Web]: Miscounting of total recipients and other stats on transparency page Oct 31, 2024
@ssandino
Copy link
Member Author

ssandino commented Oct 31, 2024

Input from @kerrrin: There are also many countries showing $0 or $10 as the total amount of donations, which seems inaccurate. For example, we know there was more donated in Panama. For some countries, the amount might indeed be below $5, and it could be rounded down to 0.

Idea: Perhaps it’s best to set a minimum threshold of $100, and if the total is below that, display “Below $100 from x contributors.” So the country is still represented, but not the exact amount.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Issues concerning Website
Projects
None yet
Development

No branches or pull requests

2 participants