Code-for-America-Projects-Hub icon indicating copy to clipboard operation
Code-for-America-Projects-Hub copied to clipboard

Projects Hub filters. Where does the data come from?

Open tangospring opened this issue 9 years ago • 3 comments

For project card data see issue https://github.com/codeforkansascity/Code-for-America-Projects-Hub/issues/9

code for america - filter data

1. GitHub Help Wanted Issues

GitHub custom label + "help wanted" label for open issues in GitHub repos. List of custom labels: https://github.com/codeforkansascity/Code-for-America-Projects-Hub/wiki/List-of-custom-labels-for-Help-Wanted-filter

2. Project Civic Category

Google spreadsheet for Projects and Google spreadsheet for Ideas,

3. Project Location

Location specified in Google spreadsheet

tangospring avatar Mar 10 '15 03:03 tangospring

@tangospring Toward the bottom of this filter, under Project Activity, you have "Active This Week". How do we define "active" for a repo: commits, pull requests, issues, comments? See API docs at https://developer.github.com/v3/activity/. Also note that many of the Activity API calls require authentication, which isn't an option in our current environment.

jstirnaman avatar May 13 '15 02:05 jstirnaman

@jstirnaman For this filter I was looking at the repo list on the 'Code for Kansas City' page -- https://github.com/codeforkansascity. It lists projects by updated date (the repos with most recent updates on top). If we can pull this 'Update # days ago' date, we'll be good.

As a general approach any updates are good to indicate that project is active.

tangospring avatar May 13 '15 04:05 tangospring

Also Active this week, along with Starred, Watched, Commented, Contributors, Online is now an option in the sort dropdown. Active this week is default. Recently Updated might be a better label for this option,

I have updated the prototype a while ago, and should have updated this issue with new screen capture for filters (and for sorting order) as well.

tangospring avatar May 13 '15 04:05 tangospring