{"action":"created","issue":{"url":"https://api.github.com/repos/artsy/eigen/issues/277","labels_url":"https://api.github.com/repos/artsy/eigen/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/artsy/eigen/issues/277/comments","events_url":"https://api.github.com/repos/artsy/eigen/issues/277/events","html_url":"https://github.com/artsy/eigen/pull/277","id":60921962,"number":277,"title":"@ashfurrow => [WIP] Related artworks.","user":{"login":"alloy","id":2320,"avatar_url":"https://avatars.githubusercontent.com/u/2320?v=3","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-12T22:30:43Z","updated_at":"2015-03-16T23:58:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/artsy/eigen/pulls/277","html_url":"https://github.com/artsy/eigen/pull/277","diff_url":"https://github.com/artsy/eigen/pull/277.diff","patch_url":"https://github.com/artsy/eigen/pull/277.patch"},"body":"This fixes #113.\r\n\r\nSo I decided to take the [if-else block](https://github.com/artsy/eigen/blob/2e814fc6216f88c61a2373a2e35db369695e6dba/Artsy/Classes/Views/ARArtworkRelatedArtworksView.m#L51-L69) out of `ARArtworkRelatedArtworksView` and make that a controller concern (still to do). The controller then simply adds the sections for the right context and the view doesn’t need to know about it.\r\n\r\nRight now my biggest question is about [the sale update](https://github.com/artsy/eigen/blob/2e814fc6216f88c61a2373a2e35db369695e6dba/Artsy/Classes/Views/ARArtworkRelatedArtworksView.m#L39-L41), it’s not really clear to me how this is working. I assumed it was so that when you’re looking at an auction lot, it keeps the bids up-to-date? But besides it setting a property (`saleArtwork`) I don’t see how it would do that. Any hints?"},"comment":{"url":"https://api.github.com/repos/artsy/eigen/issues/comments/81999120","html_url":"https://github.com/artsy/eigen/pull/277#issuecomment-81999120","issue_url":"https://api.github.com/repos/artsy/eigen/issues/277","id":81999120,"user":{"login":"alloy","id":2320,"avatar_url":"https://avatars.githubusercontent.com/u/2320?v=3","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T23:58:00Z","updated_at":"2015-03-16T23:58:00Z","body":"Should be good, functionality-wise. Going to cleanup and go over it once more tomorrow and make it a final PR."}}