{"action":"created","comment":{"url":"https://api.github.com/repos/artsy/positron/pulls/comments/62104631","id":62104631,"diff_hunk":"@@ -0,0 +1,51 @@\n+_ = require 'underscore'","path":"client/test/collections/link_sets.coffee","position":1,"original_position":1,"commit_id":"cb215db859cd36aee9d2d3fe18d3d19c3ad15f82","original_commit_id":"cb215db859cd36aee9d2d3fe18d3d19c3ad15f82","user":{"login":"craigspaeth","id":555859,"avatar_url":"https://avatars.githubusercontent.com/u/555859?v=3","gravatar_id":"","url":"https://api.github.com/users/craigspaeth","html_url":"https://github.com/craigspaeth","followers_url":"https://api.github.com/users/craigspaeth/followers","following_url":"https://api.github.com/users/craigspaeth/following{/other_user}","gists_url":"https://api.github.com/users/craigspaeth/gists{/gist_id}","starred_url":"https://api.github.com/users/craigspaeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigspaeth/subscriptions","organizations_url":"https://api.github.com/users/craigspaeth/orgs","repos_url":"https://api.github.com/users/craigspaeth/repos","events_url":"https://api.github.com/users/craigspaeth/events{/privacy}","received_events_url":"https://api.github.com/users/craigspaeth/received_events","type":"User","site_admin":false},"body":"I think these tests can be deleted now?","created_at":"2016-05-04T20:02:47Z","updated_at":"2016-05-04T20:02:47Z","html_url":"https://github.com/artsy/positron/pull/727#discussion_r62104631","pull_request_url":"https://api.github.com/repos/artsy/positron/pulls/727","_links":{"self":{"href":"https://api.github.com/repos/artsy/positron/pulls/comments/62104631"},"html":{"href":"https://github.com/artsy/positron/pull/727#discussion_r62104631"},"pull_request":{"href":"https://api.github.com/repos/artsy/positron/pulls/727"}}},"pull_request":{"url":"https://api.github.com/repos/artsy/positron/pulls/727","id":68788021,"html_url":"https://github.com/artsy/positron/pull/727","diff_url":"https://github.com/artsy/positron/pull/727.diff","patch_url":"https://github.com/artsy/positron/pull/727.patch","issue_url":"https://api.github.com/repos/artsy/positron/issues/727","number":727,"state":"open","locked":false,"title":"@craigspaeth Curations","user":{"login":"kanaabe","id":2236794,"avatar_url":"https://avatars.githubusercontent.com/u/2236794?v=3","gravatar_id":"","url":"https://api.github.com/users/kanaabe","html_url":"https://github.com/kanaabe","followers_url":"https://api.github.com/users/kanaabe/followers","following_url":"https://api.github.com/users/kanaabe/following{/other_user}","gists_url":"https://api.github.com/users/kanaabe/gists{/gist_id}","starred_url":"https://api.github.com/users/kanaabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanaabe/subscriptions","organizations_url":"https://api.github.com/users/kanaabe/orgs","repos_url":"https://api.github.com/users/kanaabe/repos","events_url":"https://api.github.com/users/kanaabe/events{/privacy}","received_events_url":"https://api.github.com/users/kanaabe/received_events","type":"User","site_admin":false},"body":"Just waiting on a final SVG but code-wise this is good to go! Sorry for the lengthy PR but this is very similar to Sections.  \r\n\r\nAllow Editorial to manage featured links in Writer. Two cases where we already need this is for Homepage links, and rotating email signup images\r\n\r\n### Demo\r\n![link_set](https://cloud.githubusercontent.com/assets/2236794/14999921/2d325bce-115a-11e6-9b84-b6e87e884d68.gif)\r\n\r\n### API endpoint\r\n\r\n```\r\n/api/links?slug=link-six\r\n```\r\n\r\n```\r\n/api/links/57291e24fbb972cac51165d8\r\n```\r\n\r\n```json\r\n{\r\n   \"id\": \"57291e24fbb972cac51165d8\",\r\n   \"featured_links\": [\r\n   {\r\n      \"thumbnail_url\": \"https://artsy-media-uploads.s3.amazonaws.com/kQ3PBAFFVqv9-2ilcPeqAA%2Ficon2.png\",\r\n      \"title\": \"Link 1 test\",\r\n      \"url\": \"https://artsy.net/some-link\"\r\n   },\r\n   {\r\n      \"thumbnail_url\": \"https://artsy-media-uploads.s3.amazonaws.com/aT17mVXxmhqgbLkXGVgCCw%2Fmedium.jpg\",\r\n      \"title\": \"title\",\r\n      \"url\": \"\"\r\n   }\r\n],\r\n   \"title\": \"Link Set 6\",\r\n   \"slug\": \"link-six\"\r\n}\r\n```","created_at":"2016-05-03T22:51:17Z","updated_at":"2016-05-04T20:02:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d894ddbfd640ade27e2c271ab1927368f8a9680","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/artsy/positron/pulls/727/commits","review_comments_url":"https://api.github.com/repos/artsy/positron/pulls/727/comments","review_comment_url":"https://api.github.com/repos/artsy/positron/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artsy/positron/issues/727/comments","statuses_url":"https://api.github.com/repos/artsy/positron/statuses/cb215db859cd36aee9d2d3fe18d3d19c3ad15f82","head":{"label":"kanaabe:featured_set","ref":"featured_set","sha":"cb215db859cd36aee9d2d3fe18d3d19c3ad15f82","user":{"login":"kanaabe","id":2236794,"avatar_url":"https://avatars.githubusercontent.com/u/2236794?v=3","gravatar_id":"","url":"https://api.github.com/users/kanaabe","html_url":"https://github.com/kanaabe","followers_url":"https://api.github.com/users/kanaabe/followers","following_url":"https://api.github.com/users/kanaabe/following{/other_user}","gists_url":"https://api.github.com/users/kanaabe/gists{/gist_id}","starred_url":"https://api.github.com/users/kanaabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanaabe/subscriptions","organizations_url":"https://api.github.com/users/kanaabe/orgs","repos_url":"https://api.github.com/users/kanaabe/repos","events_url":"https://api.github.com/users/kanaabe/events{/privacy}","received_events_url":"https://api.github.com/users/kanaabe/received_events","type":"User","site_admin":false},"repo":{"id":31676927,"name":"positron","full_name":"kanaabe/positron","owner":{"login":"kanaabe","id":2236794,"avatar_url":"https://avatars.githubusercontent.com/u/2236794?v=3","gravatar_id":"","url":"https://api.github.com/users/kanaabe","html_url":"https://github.com/kanaabe","followers_url":"https://api.github.com/users/kanaabe/followers","following_url":"https://api.github.com/users/kanaabe/following{/other_user}","gists_url":"https://api.github.com/users/kanaabe/gists{/gist_id}","starred_url":"https://api.github.com/users/kanaabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanaabe/subscriptions","organizations_url":"https://api.github.com/users/kanaabe/orgs","repos_url":"https://api.github.com/users/kanaabe/repos","events_url":"https://api.github.com/users/kanaabe/events{/privacy}","received_events_url":"https://api.github.com/users/kanaabe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kanaabe/positron","description":"Otherwise known as Artsy Writer. The back-end posting tool for publishing articles on Artsy.","fork":true,"url":"https://api.github.com/repos/kanaabe/positron","forks_url":"https://api.github.com/repos/kanaabe/positron/forks","keys_url":"https://api.github.com/repos/kanaabe/positron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kanaabe/positron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kanaabe/positron/teams","hooks_url":"https://api.github.com/repos/kanaabe/positron/hooks","issue_events_url":"https://api.github.com/repos/kanaabe/positron/issues/events{/number}","events_url":"https://api.github.com/repos/kanaabe/positron/events","assignees_url":"https://api.github.com/repos/kanaabe/positron/assignees{/user}","branches_url":"https://api.github.com/repos/kanaabe/positron/branches{/branch}","tags_url":"https://api.github.com/repos/kanaabe/positron/tags","blobs_url":"https://api.github.com/repos/kanaabe/positron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kanaabe/positron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kanaabe/positron/git/refs{/sha}","trees_url":"https://api.github.com/repos/kanaabe/positron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kanaabe/positron/statuses/{sha}","languages_url":"https://api.github.com/repos/kanaabe/positron/languages","stargazers_url":"https://api.github.com/repos/kanaabe/positron/stargazers","contributors_url":"https://api.github.com/repos/kanaabe/positron/contributors","subscribers_url":"https://api.github.com/repos/kanaabe/positron/subscribers","subscription_url":"https://api.github.com/repos/kanaabe/positron/subscription","commits_url":"https://api.github.com/repos/kanaabe/positron/commits{/sha}","git_commits_url":"https://api.github.com/repos/kanaabe/positron/git/commits{/sha}","comments_url":"https://api.github.com/repos/kanaabe/positron/comments{/number}","issue_comment_url":"https://api.github.com/repos/kanaabe/positron/issues/comments{/number}","contents_url":"https://api.github.com/repos/kanaabe/positron/contents/{+path}","compare_url":"https://api.github.com/repos/kanaabe/positron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kanaabe/positron/merges","archive_url":"https://api.github.com/repos/kanaabe/positron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kanaabe/positron/downloads","issues_url":"https://api.github.com/repos/kanaabe/positron/issues{/number}","pulls_url":"https://api.github.com/repos/kanaabe/positron/pulls{/number}","milestones_url":"https://api.github.com/repos/kanaabe/positron/milestones{/number}","notifications_url":"https://api.github.com/repos/kanaabe/positron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kanaabe/positron/labels{/name}","releases_url":"https://api.github.com/repos/kanaabe/positron/releases{/id}","deployments_url":"https://api.github.com/repos/kanaabe/positron/deployments","created_at":"2015-03-04T19:57:46Z","updated_at":"2016-03-08T18:13:02Z","pushed_at":"2016-05-04T19:52:18Z","git_url":"git://github.com/kanaabe/positron.git","ssh_url":"git@github.com:kanaabe/positron.git","clone_url":"https://github.com/kanaabe/positron.git","svn_url":"https://github.com/kanaabe/positron","homepage":"","size":2805,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"artsy:master","ref":"master","sha":"f6c64ce3fff514886ed23abbb280341617d4e8ea","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":23808195,"name":"positron","full_name":"artsy/positron","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/positron","description":"Positron is Artsy Writer or the editorial tool for Artsy.","fork":false,"url":"https://api.github.com/repos/artsy/positron","forks_url":"https://api.github.com/repos/artsy/positron/forks","keys_url":"https://api.github.com/repos/artsy/positron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/positron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/positron/teams","hooks_url":"https://api.github.com/repos/artsy/positron/hooks","issue_events_url":"https://api.github.com/repos/artsy/positron/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/positron/events","assignees_url":"https://api.github.com/repos/artsy/positron/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/positron/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/positron/tags","blobs_url":"https://api.github.com/repos/artsy/positron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/positron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/positron/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/positron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/positron/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/positron/languages","stargazers_url":"https://api.github.com/repos/artsy/positron/stargazers","contributors_url":"https://api.github.com/repos/artsy/positron/contributors","subscribers_url":"https://api.github.com/repos/artsy/positron/subscribers","subscription_url":"https://api.github.com/repos/artsy/positron/subscription","commits_url":"https://api.github.com/repos/artsy/positron/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/positron/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/positron/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/positron/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/positron/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/positron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/positron/merges","archive_url":"https://api.github.com/repos/artsy/positron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/positron/downloads","issues_url":"https://api.github.com/repos/artsy/positron/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/positron/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/positron/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/positron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/positron/labels{/name}","releases_url":"https://api.github.com/repos/artsy/positron/releases{/id}","deployments_url":"https://api.github.com/repos/artsy/positron/deployments","created_at":"2014-09-08T21:02:13Z","updated_at":"2016-04-29T08:34:43Z","pushed_at":"2016-05-04T19:52:19Z","git_url":"git://github.com/artsy/positron.git","ssh_url":"git@github.com:artsy/positron.git","clone_url":"https://github.com/artsy/positron.git","svn_url":"https://github.com/artsy/positron","homepage":"","size":2822,"stargazers_count":13,"watchers_count":13,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":92,"forks":13,"open_issues":92,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/artsy/positron/pulls/727"},"html":{"href":"https://github.com/artsy/positron/pull/727"},"issue":{"href":"https://api.github.com/repos/artsy/positron/issues/727"},"comments":{"href":"https://api.github.com/repos/artsy/positron/issues/727/comments"},"review_comments":{"href":"https://api.github.com/repos/artsy/positron/pulls/727/comments"},"review_comment":{"href":"https://api.github.com/repos/artsy/positron/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artsy/positron/pulls/727/commits"},"statuses":{"href":"https://api.github.com/repos/artsy/positron/statuses/cb215db859cd36aee9d2d3fe18d3d19c3ad15f82"}}}}