nodezoo / nodezoo-web

nodezoo.com front end
MIT License
12 stars 61 forks source link

Only show connected services #53

Closed mcdonnelldean closed 8 years ago

mcdonnelldean commented 8 years ago

In the search result items, in the top left hand corner. There are little service gems. These are supposed to represent the services we have data for. With that in mind each service gem should only show when there is data from that service included in the search result.

To check if a service is available, check the data like so. item.github.connected. This value will be true or false. In cases where there is no connected service item.github.connected will be false and you will know not to read data from it.

The following services are included in the search payload travis, github, npm.

mcdonnelldean commented 8 years ago

This depends on https://github.com/nodezoo/nodezoo-search/issues/28