artsy/positron — pull request #39 by craigspaeth (2014-10-31 21:57:46+00:00)
Title: @dzucconi: Search for an artwork

This adds a local API endpoint that makes it easy to use API v2 to search for an artwork. It's pretty slow b/c you need to 1. Hit the search endpoint 2. Fetch the artworks from _links 3. Fetches each artwork's artists. So later this will probably use some kind of caching. I also opted to make the autocomplete with vanilla React—which was kind of neat how easy it was but also might want to use typeahead down the line if I start noticing edge cases I'm not accounting for.

![cap](https://cloud.githubusercontent.com/assets/555859/4869114/46c9b370-6148-11e4-9cb2-150399cb213d.gif)