{"action":"closed","number":217,"pull_request":{"url":"https://api.github.com/repos/pinterest/gestalt/pulls/217","id":191163762,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxMTYzNzYy","html_url":"https://github.com/pinterest/gestalt/pull/217","diff_url":"https://github.com/pinterest/gestalt/pull/217.diff","patch_url":"https://github.com/pinterest/gestalt/pull/217.patch","issue_url":"https://api.github.com/repos/pinterest/gestalt/issues/217","number":217,"state":"closed","locked":false,"title":"Layer component","user":{"login":"chrislloyd","id":718,"node_id":"MDQ6VXNlcjcxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/718?v=4","gravatar_id":"","url":"https://api.github.com/users/chrislloyd","html_url":"https://github.com/chrislloyd","followers_url":"https://api.github.com/users/chrislloyd/followers","following_url":"https://api.github.com/users/chrislloyd/following{/other_user}","gists_url":"https://api.github.com/users/chrislloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislloyd/subscriptions","organizations_url":"https://api.github.com/users/chrislloyd/orgs","repos_url":"https://api.github.com/users/chrislloyd/repos","events_url":"https://api.github.com/users/chrislloyd/events{/privacy}","received_events_url":"https://api.github.com/users/chrislloyd/received_events","type":"User","site_admin":false},"body":"This is the start of making Flyout/Modal more sane (and easy to use). This component creates a \"layer\" - basically a portal to the end of the DOM tree - so anything inside of it is guaranteed to be at the top of any zIndex rules. It uses React 16 portals so updates/events flow between each nicely.\r\n\r\nThere are no tests as `react-test-renderer` doesn't support Portals. However, I've manually tested with Modal.","created_at":"2018-05-29T14:23:08Z","updated_at":"2018-06-05T00:51:22Z","closed_at":"2018-06-05T00:51:22Z","merged_at":"2018-06-05T00:51:22Z","merge_commit_sha":"ed8ceb4316ee87d6a2dc7bc00e04149a2f093e09","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pinterest/gestalt/pulls/217/commits","review_comments_url":"https://api.github.com/repos/pinterest/gestalt/pulls/217/comments","review_comment_url":"https://api.github.com/repos/pinterest/gestalt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pinterest/gestalt/issues/217/comments","statuses_url":"https://api.github.com/repos/pinterest/gestalt/statuses/edc8dba311a419dd626e32288456a23811e93564","head":{"label":"chrislloyd:layers","ref":"layers","sha":"edc8dba311a419dd626e32288456a23811e93564","user":{"login":"chrislloyd","id":718,"node_id":"MDQ6VXNlcjcxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/718?v=4","gravatar_id":"","url":"https://api.github.com/users/chrislloyd","html_url":"https://github.com/chrislloyd","followers_url":"https://api.github.com/users/chrislloyd/followers","following_url":"https://api.github.com/users/chrislloyd/following{/other_user}","gists_url":"https://api.github.com/users/chrislloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislloyd/subscriptions","organizations_url":"https://api.github.com/users/chrislloyd/orgs","repos_url":"https://api.github.com/users/chrislloyd/repos","events_url":"https://api.github.com/users/chrislloyd/events{/privacy}","received_events_url":"https://api.github.com/users/chrislloyd/received_events","type":"User","site_admin":false},"repo":{"id":121834816,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE4MzQ4MTY=","name":"gestalt","full_name":"chrislloyd/gestalt","owner":{"login":"chrislloyd","id":718,"node_id":"MDQ6VXNlcjcxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/718?v=4","gravatar_id":"","url":"https://api.github.com/users/chrislloyd","html_url":"https://github.com/chrislloyd","followers_url":"https://api.github.com/users/chrislloyd/followers","following_url":"https://api.github.com/users/chrislloyd/following{/other_user}","gists_url":"https://api.github.com/users/chrislloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislloyd/subscriptions","organizations_url":"https://api.github.com/users/chrislloyd/orgs","repos_url":"https://api.github.com/users/chrislloyd/repos","events_url":"https://api.github.com/users/chrislloyd/events{/privacy}","received_events_url":"https://api.github.com/users/chrislloyd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrislloyd/gestalt","description":"Gestalt is a set of React UI that enforces Pinterest’s design language.","fork":true,"url":"https://api.github.com/repos/chrislloyd/gestalt","forks_url":"https://api.github.com/repos/chrislloyd/gestalt/forks","keys_url":"https://api.github.com/repos/chrislloyd/gestalt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrislloyd/gestalt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrislloyd/gestalt/teams","hooks_url":"https://api.github.com/repos/chrislloyd/gestalt/hooks","issue_events_url":"https://api.github.com/repos/chrislloyd/gestalt/issues/events{/number}","events_url":"https://api.github.com/repos/chrislloyd/gestalt/events","assignees_url":"https://api.github.com/repos/chrislloyd/gestalt/assignees{/user}","branches_url":"https://api.github.com/repos/chrislloyd/gestalt/branches{/branch}","tags_url":"https://api.github.com/repos/chrislloyd/gestalt/tags","blobs_url":"https://api.github.com/repos/chrislloyd/gestalt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrislloyd/gestalt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrislloyd/gestalt/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrislloyd/gestalt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrislloyd/gestalt/statuses/{sha}","languages_url":"https://api.github.com/repos/chrislloyd/gestalt/languages","stargazers_url":"https://api.github.com/repos/chrislloyd/gestalt/stargazers","contributors_url":"https://api.github.com/repos/chrislloyd/gestalt/contributors","subscribers_url":"https://api.github.com/repos/chrislloyd/gestalt/subscribers","subscription_url":"https://api.github.com/repos/chrislloyd/gestalt/subscription","commits_url":"https://api.github.com/repos/chrislloyd/gestalt/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrislloyd/gestalt/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrislloyd/gestalt/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrislloyd/gestalt/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrislloyd/gestalt/contents/{+path}","compare_url":"https://api.github.com/repos/chrislloyd/gestalt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrislloyd/gestalt/merges","archive_url":"https://api.github.com/repos/chrislloyd/gestalt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrislloyd/gestalt/downloads","issues_url":"https://api.github.com/repos/chrislloyd/gestalt/issues{/number}","pulls_url":"https://api.github.com/repos/chrislloyd/gestalt/pulls{/number}","milestones_url":"https://api.github.com/repos/chrislloyd/gestalt/milestones{/number}","notifications_url":"https://api.github.com/repos/chrislloyd/gestalt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrislloyd/gestalt/labels{/name}","releases_url":"https://api.github.com/repos/chrislloyd/gestalt/releases{/id}","deployments_url":"https://api.github.com/repos/chrislloyd/gestalt/deployments","created_at":"2018-02-17T07:03:26Z","updated_at":"2018-02-17T07:03:28Z","pushed_at":"2018-06-05T00:44:44Z","git_url":"git://github.com/chrislloyd/gestalt.git","ssh_url":"git@github.com:chrislloyd/gestalt.git","clone_url":"https://github.com/chrislloyd/gestalt.git","svn_url":"https://github.com/chrislloyd/gestalt","homepage":"","size":3048,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pinterest:master","ref":"master","sha":"7df2703d679a41053f6bca704866ede46630be66","user":{"login":"pinterest","id":541152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MTE1Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/541152?v=4","gravatar_id":"","url":"https://api.github.com/users/pinterest","html_url":"https://github.com/pinterest","followers_url":"https://api.github.com/users/pinterest/followers","following_url":"https://api.github.com/users/pinterest/following{/other_user}","gists_url":"https://api.github.com/users/pinterest/gists{/gist_id}","starred_url":"https://api.github.com/users/pinterest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinterest/subscriptions","organizations_url":"https://api.github.com/users/pinterest/orgs","repos_url":"https://api.github.com/users/pinterest/repos","events_url":"https://api.github.com/users/pinterest/events{/privacy}","received_events_url":"https://api.github.com/users/pinterest/received_events","type":"Organization","site_admin":false},"repo":{"id":121806807,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE4MDY4MDc=","name":"gestalt","full_name":"pinterest/gestalt","owner":{"login":"pinterest","id":541152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MTE1Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/541152?v=4","gravatar_id":"","url":"https://api.github.com/users/pinterest","html_url":"https://github.com/pinterest","followers_url":"https://api.github.com/users/pinterest/followers","following_url":"https://api.github.com/users/pinterest/following{/other_user}","gists_url":"https://api.github.com/users/pinterest/gists{/gist_id}","starred_url":"https://api.github.com/users/pinterest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinterest/subscriptions","organizations_url":"https://api.github.com/users/pinterest/orgs","repos_url":"https://api.github.com/users/pinterest/repos","events_url":"https://api.github.com/users/pinterest/events{/privacy}","received_events_url":"https://api.github.com/users/pinterest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pinterest/gestalt","description":"A set of React UI components that supports Pinterest’s design language","fork":false,"url":"https://api.github.com/repos/pinterest/gestalt","forks_url":"https://api.github.com/repos/pinterest/gestalt/forks","keys_url":"https://api.github.com/repos/pinterest/gestalt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pinterest/gestalt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pinterest/gestalt/teams","hooks_url":"https://api.github.com/repos/pinterest/gestalt/hooks","issue_events_url":"https://api.github.com/repos/pinterest/gestalt/issues/events{/number}","events_url":"https://api.github.com/repos/pinterest/gestalt/events","assignees_url":"https://api.github.com/repos/pinterest/gestalt/assignees{/user}","branches_url":"https://api.github.com/repos/pinterest/gestalt/branches{/branch}","tags_url":"https://api.github.com/repos/pinterest/gestalt/tags","blobs_url":"https://api.github.com/repos/pinterest/gestalt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pinterest/gestalt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pinterest/gestalt/git/refs{/sha}","trees_url":"https://api.github.com/repos/pinterest/gestalt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pinterest/gestalt/statuses/{sha}","languages_url":"https://api.github.com/repos/pinterest/gestalt/languages","stargazers_url":"https://api.github.com/repos/pinterest/gestalt/stargazers","contributors_url":"https://api.github.com/repos/pinterest/gestalt/contributors","subscribers_url":"https://api.github.com/repos/pinterest/gestalt/subscribers","subscription_url":"https://api.github.com/repos/pinterest/gestalt/subscription","commits_url":"https://api.github.com/repos/pinterest/gestalt/commits{/sha}","git_commits_url":"https://api.github.com/repos/pinterest/gestalt/git/commits{/sha}","comments_url":"https://api.github.com/repos/pinterest/gestalt/comments{/number}","issue_comment_url":"https://api.github.com/repos/pinterest/gestalt/issues/comments{/number}","contents_url":"https://api.github.com/repos/pinterest/gestalt/contents/{+path}","compare_url":"https://api.github.com/repos/pinterest/gestalt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pinterest/gestalt/merges","archive_url":"https://api.github.com/repos/pinterest/gestalt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pinterest/gestalt/downloads","issues_url":"https://api.github.com/repos/pinterest/gestalt/issues{/number}","pulls_url":"https://api.github.com/repos/pinterest/gestalt/pulls{/number}","milestones_url":"https://api.github.com/repos/pinterest/gestalt/milestones{/number}","notifications_url":"https://api.github.com/repos/pinterest/gestalt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pinterest/gestalt/labels{/name}","releases_url":"https://api.github.com/repos/pinterest/gestalt/releases{/id}","deployments_url":"https://api.github.com/repos/pinterest/gestalt/deployments","created_at":"2018-02-16T22:17:51Z","updated_at":"2018-06-05T00:44:02Z","pushed_at":"2018-06-05T00:51:22Z","git_url":"git://github.com/pinterest/gestalt.git","ssh_url":"git@github.com:pinterest/gestalt.git","clone_url":"https://github.com/pinterest/gestalt.git","svn_url":"https://github.com/pinterest/gestalt","homepage":"https://pinterest.github.io/gestalt","size":5416,"stargazers_count":2105,"watchers_count":2105,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":90,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":90,"open_issues":20,"watchers":2105,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pinterest/gestalt/pulls/217"},"html":{"href":"https://github.com/pinterest/gestalt/pull/217"},"issue":{"href":"https://api.github.com/repos/pinterest/gestalt/issues/217"},"comments":{"href":"https://api.github.com/repos/pinterest/gestalt/issues/217/comments"},"review_comments":{"href":"https://api.github.com/repos/pinterest/gestalt/pulls/217/comments"},"review_comment":{"href":"https://api.github.com/repos/pinterest/gestalt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pinterest/gestalt/pulls/217/commits"},"statuses":{"href":"https://api.github.com/repos/pinterest/gestalt/statuses/edc8dba311a419dd626e32288456a23811e93564"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"chrislloyd","id":718,"node_id":"MDQ6VXNlcjcxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/718?v=4","gravatar_id":"","url":"https://api.github.com/users/chrislloyd","html_url":"https://github.com/chrislloyd","followers_url":"https://api.github.com/users/chrislloyd/followers","following_url":"https://api.github.com/users/chrislloyd/following{/other_user}","gists_url":"https://api.github.com/users/chrislloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislloyd/subscriptions","organizations_url":"https://api.github.com/users/chrislloyd/orgs","repos_url":"https://api.github.com/users/chrislloyd/repos","events_url":"https://api.github.com/users/chrislloyd/events{/privacy}","received_events_url":"https://api.github.com/users/chrislloyd/received_events","type":"User","site_admin":false},"comments":5,"review_comments":2,"maintainer_can_modify":false,"commits":4,"additions":31,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"chrislloyd"}}