gratipay / grtp.co

Gratipay Widgets + API
https://grtp.co/
MIT License
26 stars 19 forks source link

Expose how many people are supporting someone #76

Closed techtonik closed 6 years ago

techtonik commented 9 years ago

People don't have time to follow, but they want to give their support to certain people. The $ value is not an indicator of popularity, but a number of supporters is.

rohitpaulk commented 9 years ago

The number of supporters is shown on a graph for every user. Doesn't that serve the purpose?

colindean commented 9 years ago

Ooo I like that idea a lot. Let the user choose, perhaps even animate a switch between the two figures.

techtonik commented 9 years ago

@rohitpaulk it is not exposed through widgets from what I can see.

rohitpaulk commented 9 years ago

Yep, true - it's not on the widgets.

rummik commented 9 years ago

It's not exposed as a class to the widgets, but it's exposed in the public.json on Gratipay (see https://gratipay.com/rummik/public.json)

Adding text('patrons', data.npatrons); around lib/v1/api.js#L131 should cover it