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 grant statistics to /transparency page #386

Open
dergigi opened this issue Jan 16, 2025 · 4 comments
Open

Add grant statistics to /transparency page #386

dergigi opened this issue Jan 16, 2025 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@dergigi
Copy link
Member

dergigi commented Jan 16, 2025

I'd love to have our general statistics shown on opensats.org/transparency, just like the HRF shows some of their stats in a nice way.

Not sure about the design, but some simple widget should do the trick.

@dergigi dergigi added the enhancement New feature or request label Jan 16, 2025
@moteanup24
Copy link
Contributor

Hey @dergigi --

I have some basic working code that:

  • pulls data from the Google sheet using API authentication
  • performs basic checks (e.g. that the data are numeric/finite/positive) on the data and if so
  • renders the statistics across the top of the /transparency page

Please see some screenshots below.

I am still working on some kinks but thought I'd give you a chance to comment at this point. Obviously we can work on styling and such after I get the bones in place. Thanks!

Image

in case of data errors:
Image

@Arvin21M
Copy link
Contributor

Arvin21M commented Jan 24, 2025

@moteanup24 & @dergigi Love this! 🧡

@dergigi
Copy link
Member Author

dergigi commented Jan 24, 2025

Nicely done! I'll do my best to have a look at the code as soon as I can.

@dergigi
Copy link
Member Author

dergigi commented Jan 27, 2025

@moteanup24 did you push the code somewhere? I don't see a branch or a PR.

Please create a PR so I can look at the code, thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants