{"action":"closed","number":39,"pull_request":{"url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls/39","id":147339030,"html_url":"https://github.com/jest-community/jest-snapshots-svg/pull/39","diff_url":"https://github.com/jest-community/jest-snapshots-svg/pull/39.diff","patch_url":"https://github.com/jest-community/jest-snapshots-svg/pull/39.patch","issue_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/issues/39","number":39,"state":"closed","locked":false,"title":"Text layout","user":{"login":"jacobp100","id":7275322,"avatar_url":"https://avatars2.githubusercontent.com/u/7275322?v=4","gravatar_id":"","url":"https://api.github.com/users/jacobp100","html_url":"https://github.com/jacobp100","followers_url":"https://api.github.com/users/jacobp100/followers","following_url":"https://api.github.com/users/jacobp100/following{/other_user}","gists_url":"https://api.github.com/users/jacobp100/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobp100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobp100/subscriptions","organizations_url":"https://api.github.com/users/jacobp100/orgs","repos_url":"https://api.github.com/users/jacobp100/repos","events_url":"https://api.github.com/users/jacobp100/events{/privacy}","received_events_url":"https://api.github.com/users/jacobp100/received_events","type":"User","site_admin":false},"body":"Implements text breaking for `<Text>` elements and outputs to `<tspan>` elements.\r\n\r\nRequires the font file for layout. How do we handle this? Should we bundle some fonts so it 'just works'? Should we try and find fonts on the users system? Should we expose a hook to load a font?\r\n\r\nWe need to look at the best way to handle text content on nodes. Before, there was the `textContent` parameter, but this not the most ideal solution any more. We also have to constantly check for text nodes so we don't recurse into their children.","created_at":"2017-10-18T15:47:48Z","updated_at":"2017-10-26T20:07:26Z","closed_at":"2017-10-26T20:07:26Z","merged_at":"2017-10-26T20:07:26Z","merge_commit_sha":"31ddd686f947e986da4840c0e6ba83cbba2a25ab","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls/39/commits","review_comments_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls/39/comments","review_comment_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/issues/39/comments","statuses_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/statuses/980c23ee8de63aa1c53556fa6b71abcd23f0ef38","head":{"label":"jacobp100:text-layout","ref":"text-layout","sha":"980c23ee8de63aa1c53556fa6b71abcd23f0ef38","user":{"login":"jacobp100","id":7275322,"avatar_url":"https://avatars2.githubusercontent.com/u/7275322?v=4","gravatar_id":"","url":"https://api.github.com/users/jacobp100","html_url":"https://github.com/jacobp100","followers_url":"https://api.github.com/users/jacobp100/followers","following_url":"https://api.github.com/users/jacobp100/following{/other_user}","gists_url":"https://api.github.com/users/jacobp100/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobp100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobp100/subscriptions","organizations_url":"https://api.github.com/users/jacobp100/orgs","repos_url":"https://api.github.com/users/jacobp100/repos","events_url":"https://api.github.com/users/jacobp100/events{/privacy}","received_events_url":"https://api.github.com/users/jacobp100/received_events","type":"User","site_admin":false},"repo":{"id":105048468,"name":"jest-snapshots-svg","full_name":"jacobp100/jest-snapshots-svg","owner":{"login":"jacobp100","id":7275322,"avatar_url":"https://avatars2.githubusercontent.com/u/7275322?v=4","gravatar_id":"","url":"https://api.github.com/users/jacobp100","html_url":"https://github.com/jacobp100","followers_url":"https://api.github.com/users/jacobp100/followers","following_url":"https://api.github.com/users/jacobp100/following{/other_user}","gists_url":"https://api.github.com/users/jacobp100/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobp100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobp100/subscriptions","organizations_url":"https://api.github.com/users/jacobp100/orgs","repos_url":"https://api.github.com/users/jacobp100/repos","events_url":"https://api.github.com/users/jacobp100/events{/privacy}","received_events_url":"https://api.github.com/users/jacobp100/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacobp100/jest-snapshots-svg","description":"Take a React Native component tree, and render it into an SVG.","fork":true,"url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg","forks_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/forks","keys_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/teams","hooks_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/hooks","issue_events_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/issues/events{/number}","events_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/events","assignees_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/assignees{/user}","branches_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/branches{/branch}","tags_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/tags","blobs_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/statuses/{sha}","languages_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/languages","stargazers_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/stargazers","contributors_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/contributors","subscribers_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/subscribers","subscription_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/subscription","commits_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/contents/{+path}","compare_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/merges","archive_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/downloads","issues_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/issues{/number}","pulls_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/pulls{/number}","milestones_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/milestones{/number}","notifications_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/labels{/name}","releases_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/releases{/id}","deployments_url":"https://api.github.com/repos/jacobp100/jest-snapshots-svg/deployments","created_at":"2017-09-27T17:30:54Z","updated_at":"2017-09-27T17:30:56Z","pushed_at":"2017-10-22T12:22:05Z","git_url":"git://github.com/jacobp100/jest-snapshots-svg.git","ssh_url":"git@github.com:jacobp100/jest-snapshots-svg.git","clone_url":"https://github.com/jacobp100/jest-snapshots-svg.git","svn_url":"https://github.com/jacobp100/jest-snapshots-svg","homepage":null,"size":1240,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jest-community:master","ref":"master","sha":"f061cd8a3a8f189c726975071511468c5fb17ab0","user":{"login":"jest-community","id":32196900,"avatar_url":"https://avatars0.githubusercontent.com/u/32196900?v=4","gravatar_id":"","url":"https://api.github.com/users/jest-community","html_url":"https://github.com/jest-community","followers_url":"https://api.github.com/users/jest-community/followers","following_url":"https://api.github.com/users/jest-community/following{/other_user}","gists_url":"https://api.github.com/users/jest-community/gists{/gist_id}","starred_url":"https://api.github.com/users/jest-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jest-community/subscriptions","organizations_url":"https://api.github.com/users/jest-community/orgs","repos_url":"https://api.github.com/users/jest-community/repos","events_url":"https://api.github.com/users/jest-community/events{/privacy}","received_events_url":"https://api.github.com/users/jest-community/received_events","type":"Organization","site_admin":false},"repo":{"id":91681198,"name":"jest-snapshots-svg","full_name":"jest-community/jest-snapshots-svg","owner":{"login":"jest-community","id":32196900,"avatar_url":"https://avatars0.githubusercontent.com/u/32196900?v=4","gravatar_id":"","url":"https://api.github.com/users/jest-community","html_url":"https://github.com/jest-community","followers_url":"https://api.github.com/users/jest-community/followers","following_url":"https://api.github.com/users/jest-community/following{/other_user}","gists_url":"https://api.github.com/users/jest-community/gists{/gist_id}","starred_url":"https://api.github.com/users/jest-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jest-community/subscriptions","organizations_url":"https://api.github.com/users/jest-community/orgs","repos_url":"https://api.github.com/users/jest-community/repos","events_url":"https://api.github.com/users/jest-community/events{/privacy}","received_events_url":"https://api.github.com/users/jest-community/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jest-community/jest-snapshots-svg","description":"Take a React Native component tree, and render it into an SVG.","fork":false,"url":"https://api.github.com/repos/jest-community/jest-snapshots-svg","forks_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/forks","keys_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/teams","hooks_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/hooks","issue_events_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/issues/events{/number}","events_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/events","assignees_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/assignees{/user}","branches_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/branches{/branch}","tags_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/tags","blobs_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/git/refs{/sha}","trees_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/statuses/{sha}","languages_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/languages","stargazers_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/stargazers","contributors_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/contributors","subscribers_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/subscribers","subscription_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/subscription","commits_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/commits{/sha}","git_commits_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/git/commits{/sha}","comments_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/comments{/number}","issue_comment_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/issues/comments{/number}","contents_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/contents/{+path}","compare_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/merges","archive_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/downloads","issues_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/issues{/number}","pulls_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls{/number}","milestones_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/milestones{/number}","notifications_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/labels{/name}","releases_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/releases{/id}","deployments_url":"https://api.github.com/repos/jest-community/jest-snapshots-svg/deployments","created_at":"2017-05-18T10:35:54Z","updated_at":"2017-10-19T10:23:46Z","pushed_at":"2017-10-26T20:07:26Z","git_url":"git://github.com/jest-community/jest-snapshots-svg.git","ssh_url":"git@github.com:jest-community/jest-snapshots-svg.git","clone_url":"https://github.com/jest-community/jest-snapshots-svg.git","svn_url":"https://github.com/jest-community/jest-snapshots-svg","homepage":null,"size":146,"stargazers_count":116,"watchers_count":116,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":14,"forks":5,"open_issues":14,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls/39"},"html":{"href":"https://github.com/jest-community/jest-snapshots-svg/pull/39"},"issue":{"href":"https://api.github.com/repos/jest-community/jest-snapshots-svg/issues/39"},"comments":{"href":"https://api.github.com/repos/jest-community/jest-snapshots-svg/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jest-community/jest-snapshots-svg/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/jest-community/jest-snapshots-svg/statuses/980c23ee8de63aa1c53556fa6b71abcd23f0ef38"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"orta","id":49038,"avatar_url":"https://avatars2.githubusercontent.com/u/49038?v=4","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"comments":11,"review_comments":0,"maintainer_can_modify":false,"commits":8,"additions":1128,"deletions":82,"changed_files":27}}
{"actor":{"display_login":"orta"}}