code4lib / 2021.code4lib.org

Website for Code4Lib 2021
https://2021.code4lib.org
4 stars 3 forks source link

Thermometer Display for the Angel Fund #102

Closed mjingle closed 3 years ago

mjingle commented 3 years ago

Hi! Would it be possible to make the Angel Fund's progress thermometer display appear? We will be accepting individual donations soon and would like to show the fundraising progress so far to the community.

Rather than using multiple thermometer displays to show the progress of the Angel Fund and its Matching Funds, there would be one thermometer to show the overall amount raised by the Angel Fund's individual donations.

The thermometer feature is located in this file and would need to be turned on: https://github.com/code4lib/2021.code4lib.org/blob/main/general-info/angel-fund.html

I know we have to supply a link to a google spreadsheet (for the money tally) to you. Please let me know what else you need from the Sponsorship committee!

dzoladz commented 3 years ago

I can assign myself to add a thermometer to the site.

The Spreadsheet needs to follow a very particular format for thermometer.js to be able to parse it properly. The easiest way to create one for this year is copy an old version and update it.

For example: https://docs.google.com/spreadsheets/d/1DTMECsa9KznCK90UQRjyZ6X_SqI0Zeq7-DZ_ByDsM6w/edit#gid=0

It follows this format:

Once you have a Spreadsheet created for this year, make it public and share the URL with me on Slack or via email derekz@ohionet.org. I'll need to reference the Spreadsheet key in the script to pull in the data.