{"action":"opened","number":1282,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/next-article/pulls/1282","id":64591392,"html_url":"https://github.com/Financial-Times/next-article/pull/1282","diff_url":"https://github.com/Financial-Times/next-article/pull/1282.diff","patch_url":"https://github.com/Financial-Times/next-article/pull/1282.patch","issue_url":"https://api.github.com/repos/Financial-Times/next-article/issues/1282","number":1282,"state":"open","locked":false,"title":"Combines the image and figure transforms","user":{"login":"GlynnPhillips","id":524573,"avatar_url":"https://avatars.githubusercontent.com/u/524573?v=3","gravatar_id":"","url":"https://api.github.com/users/GlynnPhillips","html_url":"https://github.com/GlynnPhillips","followers_url":"https://api.github.com/users/GlynnPhillips/followers","following_url":"https://api.github.com/users/GlynnPhillips/following{/other_user}","gists_url":"https://api.github.com/users/GlynnPhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/GlynnPhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlynnPhillips/subscriptions","organizations_url":"https://api.github.com/users/GlynnPhillips/orgs","repos_url":"https://api.github.com/users/GlynnPhillips/repos","events_url":"https://api.github.com/users/GlynnPhillips/events{/privacy}","received_events_url":"https://api.github.com/users/GlynnPhillips/received_events","type":"User","site_admin":false},"body":"As raised in #1276  this combines the external-image and\r\nfigure-variant transforms.\r\n\r\nNot much has changed about the functionality, the code has just been\r\nmoved into one file. With moving the code into one transform its been\r\nsplit into functions because it became a bit overwhelming.","created_at":"2016-03-30T08:48:27Z","updated_at":"2016-03-30T08:48:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/next-article/pulls/1282/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/next-article/pulls/1282/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/next-article/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/next-article/issues/1282/comments","statuses_url":"https://api.github.com/repos/Financial-Times/next-article/statuses/a08b9c29454d410b443901f3f409b8293a73145b","head":{"label":"Financial-Times:figure-transform","ref":"figure-transform","sha":"a08b9c29454d410b443901f3f409b8293a73145b","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":26121818,"name":"next-article","full_name":"Financial-Times/next-article","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/next-article","description":"Articles","fork":false,"url":"https://api.github.com/repos/Financial-Times/next-article","forks_url":"https://api.github.com/repos/Financial-Times/next-article/forks","keys_url":"https://api.github.com/repos/Financial-Times/next-article/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/next-article/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/next-article/teams","hooks_url":"https://api.github.com/repos/Financial-Times/next-article/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/next-article/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/next-article/events","assignees_url":"https://api.github.com/repos/Financial-Times/next-article/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/next-article/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/next-article/tags","blobs_url":"https://api.github.com/repos/Financial-Times/next-article/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/next-article/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/next-article/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/next-article/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/next-article/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/next-article/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/next-article/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/next-article/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/next-article/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/next-article/subscription","commits_url":"https://api.github.com/repos/Financial-Times/next-article/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/next-article/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/next-article/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/next-article/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/next-article/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/next-article/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/next-article/merges","archive_url":"https://api.github.com/repos/Financial-Times/next-article/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/next-article/downloads","issues_url":"https://api.github.com/repos/Financial-Times/next-article/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/next-article/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/next-article/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/next-article/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/next-article/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/next-article/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/next-article/deployments","created_at":"2014-11-03T14:22:04Z","updated_at":"2016-01-12T11:52:37Z","pushed_at":"2016-03-30T08:46:34Z","git_url":"git://github.com/Financial-Times/next-article.git","ssh_url":"git@github.com:Financial-Times/next-article.git","clone_url":"https://github.com/Financial-Times/next-article.git","svn_url":"https://github.com/Financial-Times/next-article","homepage":"","size":8056,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":21,"forks":5,"open_issues":21,"watchers":7,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"f5a2545b1c89c256d362d0aa3e9208abdfc16cf0","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":26121818,"name":"next-article","full_name":"Financial-Times/next-article","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/next-article","description":"Articles","fork":false,"url":"https://api.github.com/repos/Financial-Times/next-article","forks_url":"https://api.github.com/repos/Financial-Times/next-article/forks","keys_url":"https://api.github.com/repos/Financial-Times/next-article/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/next-article/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/next-article/teams","hooks_url":"https://api.github.com/repos/Financial-Times/next-article/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/next-article/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/next-article/events","assignees_url":"https://api.github.com/repos/Financial-Times/next-article/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/next-article/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/next-article/tags","blobs_url":"https://api.github.com/repos/Financial-Times/next-article/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/next-article/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/next-article/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/next-article/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/next-article/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/next-article/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/next-article/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/next-article/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/next-article/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/next-article/subscription","commits_url":"https://api.github.com/repos/Financial-Times/next-article/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/next-article/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/next-article/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/next-article/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/next-article/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/next-article/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/next-article/merges","archive_url":"https://api.github.com/repos/Financial-Times/next-article/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/next-article/downloads","issues_url":"https://api.github.com/repos/Financial-Times/next-article/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/next-article/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/next-article/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/next-article/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/next-article/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/next-article/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/next-article/deployments","created_at":"2014-11-03T14:22:04Z","updated_at":"2016-01-12T11:52:37Z","pushed_at":"2016-03-30T08:46:34Z","git_url":"git://github.com/Financial-Times/next-article.git","ssh_url":"git@github.com:Financial-Times/next-article.git","clone_url":"https://github.com/Financial-Times/next-article.git","svn_url":"https://github.com/Financial-Times/next-article","homepage":"","size":8056,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":21,"forks":5,"open_issues":21,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/next-article/pulls/1282"},"html":{"href":"https://github.com/Financial-Times/next-article/pull/1282"},"issue":{"href":"https://api.github.com/repos/Financial-Times/next-article/issues/1282"},"comments":{"href":"https://api.github.com/repos/Financial-Times/next-article/issues/1282/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/next-article/pulls/1282/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/next-article/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/next-article/pulls/1282/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/next-article/statuses/a08b9c29454d410b443901f3f409b8293a73145b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":178,"deletions":194,"changed_files":5}}