{"action":"created","comment":{"url":"https://api.github.com/repos/paypal/paypal-checkout/pulls/comments/199004629","pull_request_review_id":133042955,"id":199004629,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTAwNDYyOQ==","diff_hunk":"@@ -38,14 +38,22 @@ function getLocaleContent(locale : LocaleType) : Object {\n     return componentContent[country][lang];\n }\n \n-function determineButtons({ label, color, sources, multiple } : { label : $Values<typeof BUTTON_LABEL>, color : string, sources : FundingList, multiple : boolean }) :\n+function determineCanRenderLabel({ label, source, multiple, layout } : { label : $Values<typeof BUTTON_LABEL>, source : FundingSource, multiple : boolean,  layout : $Values<typeof BUTTON_LAYOUT> }) : boolean {\n+    if (!multiple || layout === BUTTON_LAYOUT.VERTICAL) {","path":"src/button/template/componentTemplate.jsx","position":17,"original_position":17,"commit_id":"b4ac674f723480fd12a9032f8211e5a494ec37dc","original_commit_id":"b4ac674f723480fd12a9032f8211e5a494ec37dc","user":{"login":"vishakha94","id":12112794,"node_id":"MDQ6VXNlcjEyMTEyNzk0","avatar_url":"https://avatars0.githubusercontent.com/u/12112794?v=4","gravatar_id":"","url":"https://api.github.com/users/vishakha94","html_url":"https://github.com/vishakha94","followers_url":"https://api.github.com/users/vishakha94/followers","following_url":"https://api.github.com/users/vishakha94/following{/other_user}","gists_url":"https://api.github.com/users/vishakha94/gists{/gist_id}","starred_url":"https://api.github.com/users/vishakha94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishakha94/subscriptions","organizations_url":"https://api.github.com/users/vishakha94/orgs","repos_url":"https://api.github.com/users/vishakha94/repos","events_url":"https://api.github.com/users/vishakha94/events{/privacy}","received_events_url":"https://api.github.com/users/vishakha94/received_events","type":"User","site_admin":false},"body":"do we need to check for vertical layout here?","created_at":"2018-06-28T22:23:01Z","updated_at":"2018-06-28T22:23:01Z","html_url":"https://github.com/paypal/paypal-checkout/pull/696#discussion_r199004629","pull_request_url":"https://api.github.com/repos/paypal/paypal-checkout/pulls/696","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/paypal/paypal-checkout/pulls/comments/199004629"},"html":{"href":"https://github.com/paypal/paypal-checkout/pull/696#discussion_r199004629"},"pull_request":{"href":"https://api.github.com/repos/paypal/paypal-checkout/pulls/696"}}},"pull_request":{"url":"https://api.github.com/repos/paypal/paypal-checkout/pulls/696","id":190111186,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkwMTExMTg2","html_url":"https://github.com/paypal/paypal-checkout/pull/696","diff_url":"https://github.com/paypal/paypal-checkout/pull/696.diff","patch_url":"https://github.com/paypal/paypal-checkout/pull/696.patch","issue_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/696","number":696,"state":"open","locked":false,"title":"feat(label): Label support for vertical PayPal button","user":{"login":"mcntsh","id":1314484,"node_id":"MDQ6VXNlcjEzMTQ0ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1314484?v=4","gravatar_id":"","url":"https://api.github.com/users/mcntsh","html_url":"https://github.com/mcntsh","followers_url":"https://api.github.com/users/mcntsh/followers","following_url":"https://api.github.com/users/mcntsh/following{/other_user}","gists_url":"https://api.github.com/users/mcntsh/gists{/gist_id}","starred_url":"https://api.github.com/users/mcntsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcntsh/subscriptions","organizations_url":"https://api.github.com/users/mcntsh/orgs","repos_url":"https://api.github.com/users/mcntsh/repos","events_url":"https://api.github.com/users/mcntsh/events{/privacy}","received_events_url":"https://api.github.com/users/mcntsh/received_events","type":"User","site_admin":false},"body":"Buttons will now display labels in the vertical layout which have `allowPrimaryVertical` set to\r\n`true` in the button config. Right now this is limited to the PayPal button labels\r\n(PAYPAL/CHECKOUT/PAY/BUYNOW)","created_at":"2018-05-23T21:32:17Z","updated_at":"2018-06-28T22:23:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fed512580955de16af7576ed1c1784d3a1dd7d8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/paypal/paypal-checkout/pulls/696/commits","review_comments_url":"https://api.github.com/repos/paypal/paypal-checkout/pulls/696/comments","review_comment_url":"https://api.github.com/repos/paypal/paypal-checkout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/696/comments","statuses_url":"https://api.github.com/repos/paypal/paypal-checkout/statuses/b4ac674f723480fd12a9032f8211e5a494ec37dc","head":{"label":"mcntsh:feat/vert-pp-label","ref":"feat/vert-pp-label","sha":"b4ac674f723480fd12a9032f8211e5a494ec37dc","user":{"login":"mcntsh","id":1314484,"node_id":"MDQ6VXNlcjEzMTQ0ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1314484?v=4","gravatar_id":"","url":"https://api.github.com/users/mcntsh","html_url":"https://github.com/mcntsh","followers_url":"https://api.github.com/users/mcntsh/followers","following_url":"https://api.github.com/users/mcntsh/following{/other_user}","gists_url":"https://api.github.com/users/mcntsh/gists{/gist_id}","starred_url":"https://api.github.com/users/mcntsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcntsh/subscriptions","organizations_url":"https://api.github.com/users/mcntsh/orgs","repos_url":"https://api.github.com/users/mcntsh/repos","events_url":"https://api.github.com/users/mcntsh/events{/privacy}","received_events_url":"https://api.github.com/users/mcntsh/received_events","type":"User","site_admin":false},"repo":{"id":134297324,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyOTczMjQ=","name":"paypal-checkout","full_name":"mcntsh/paypal-checkout","owner":{"login":"mcntsh","id":1314484,"node_id":"MDQ6VXNlcjEzMTQ0ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1314484?v=4","gravatar_id":"","url":"https://api.github.com/users/mcntsh","html_url":"https://github.com/mcntsh","followers_url":"https://api.github.com/users/mcntsh/followers","following_url":"https://api.github.com/users/mcntsh/following{/other_user}","gists_url":"https://api.github.com/users/mcntsh/gists{/gist_id}","starred_url":"https://api.github.com/users/mcntsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcntsh/subscriptions","organizations_url":"https://api.github.com/users/mcntsh/orgs","repos_url":"https://api.github.com/users/mcntsh/repos","events_url":"https://api.github.com/users/mcntsh/events{/privacy}","received_events_url":"https://api.github.com/users/mcntsh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcntsh/paypal-checkout","description":"Javascript Integration for PayPal Button and PayPal Checkout","fork":true,"url":"https://api.github.com/repos/mcntsh/paypal-checkout","forks_url":"https://api.github.com/repos/mcntsh/paypal-checkout/forks","keys_url":"https://api.github.com/repos/mcntsh/paypal-checkout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcntsh/paypal-checkout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcntsh/paypal-checkout/teams","hooks_url":"https://api.github.com/repos/mcntsh/paypal-checkout/hooks","issue_events_url":"https://api.github.com/repos/mcntsh/paypal-checkout/issues/events{/number}","events_url":"https://api.github.com/repos/mcntsh/paypal-checkout/events","assignees_url":"https://api.github.com/repos/mcntsh/paypal-checkout/assignees{/user}","branches_url":"https://api.github.com/repos/mcntsh/paypal-checkout/branches{/branch}","tags_url":"https://api.github.com/repos/mcntsh/paypal-checkout/tags","blobs_url":"https://api.github.com/repos/mcntsh/paypal-checkout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcntsh/paypal-checkout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcntsh/paypal-checkout/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcntsh/paypal-checkout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcntsh/paypal-checkout/statuses/{sha}","languages_url":"https://api.github.com/repos/mcntsh/paypal-checkout/languages","stargazers_url":"https://api.github.com/repos/mcntsh/paypal-checkout/stargazers","contributors_url":"https://api.github.com/repos/mcntsh/paypal-checkout/contributors","subscribers_url":"https://api.github.com/repos/mcntsh/paypal-checkout/subscribers","subscription_url":"https://api.github.com/repos/mcntsh/paypal-checkout/subscription","commits_url":"https://api.github.com/repos/mcntsh/paypal-checkout/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcntsh/paypal-checkout/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcntsh/paypal-checkout/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcntsh/paypal-checkout/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcntsh/paypal-checkout/contents/{+path}","compare_url":"https://api.github.com/repos/mcntsh/paypal-checkout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcntsh/paypal-checkout/merges","archive_url":"https://api.github.com/repos/mcntsh/paypal-checkout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcntsh/paypal-checkout/downloads","issues_url":"https://api.github.com/repos/mcntsh/paypal-checkout/issues{/number}","pulls_url":"https://api.github.com/repos/mcntsh/paypal-checkout/pulls{/number}","milestones_url":"https://api.github.com/repos/mcntsh/paypal-checkout/milestones{/number}","notifications_url":"https://api.github.com/repos/mcntsh/paypal-checkout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcntsh/paypal-checkout/labels{/name}","releases_url":"https://api.github.com/repos/mcntsh/paypal-checkout/releases{/id}","deployments_url":"https://api.github.com/repos/mcntsh/paypal-checkout/deployments","created_at":"2018-05-21T16:44:13Z","updated_at":"2018-05-21T16:44:16Z","pushed_at":"2018-06-27T16:25:13Z","git_url":"git://github.com/mcntsh/paypal-checkout.git","ssh_url":"git@github.com:mcntsh/paypal-checkout.git","clone_url":"https://github.com/mcntsh/paypal-checkout.git","svn_url":"https://github.com/mcntsh/paypal-checkout","homepage":"","size":78293,"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":"paypal:master","ref":"master","sha":"9a9d889d5c650543b6a9d347f89a4cf7b7c5a007","user":{"login":"paypal","id":476675,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3NjY3NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/476675?v=4","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"repo":{"id":64877453,"node_id":"MDEwOlJlcG9zaXRvcnk2NDg3NzQ1Mw==","name":"paypal-checkout","full_name":"paypal/paypal-checkout","owner":{"login":"paypal","id":476675,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3NjY3NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/476675?v=4","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paypal/paypal-checkout","description":"Javascript Integration for PayPal Button and PayPal Checkout","fork":false,"url":"https://api.github.com/repos/paypal/paypal-checkout","forks_url":"https://api.github.com/repos/paypal/paypal-checkout/forks","keys_url":"https://api.github.com/repos/paypal/paypal-checkout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paypal/paypal-checkout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paypal/paypal-checkout/teams","hooks_url":"https://api.github.com/repos/paypal/paypal-checkout/hooks","issue_events_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/events{/number}","events_url":"https://api.github.com/repos/paypal/paypal-checkout/events","assignees_url":"https://api.github.com/repos/paypal/paypal-checkout/assignees{/user}","branches_url":"https://api.github.com/repos/paypal/paypal-checkout/branches{/branch}","tags_url":"https://api.github.com/repos/paypal/paypal-checkout/tags","blobs_url":"https://api.github.com/repos/paypal/paypal-checkout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paypal/paypal-checkout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paypal/paypal-checkout/git/refs{/sha}","trees_url":"https://api.github.com/repos/paypal/paypal-checkout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paypal/paypal-checkout/statuses/{sha}","languages_url":"https://api.github.com/repos/paypal/paypal-checkout/languages","stargazers_url":"https://api.github.com/repos/paypal/paypal-checkout/stargazers","contributors_url":"https://api.github.com/repos/paypal/paypal-checkout/contributors","subscribers_url":"https://api.github.com/repos/paypal/paypal-checkout/subscribers","subscription_url":"https://api.github.com/repos/paypal/paypal-checkout/subscription","commits_url":"https://api.github.com/repos/paypal/paypal-checkout/commits{/sha}","git_commits_url":"https://api.github.com/repos/paypal/paypal-checkout/git/commits{/sha}","comments_url":"https://api.github.com/repos/paypal/paypal-checkout/comments{/number}","issue_comment_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/comments{/number}","contents_url":"https://api.github.com/repos/paypal/paypal-checkout/contents/{+path}","compare_url":"https://api.github.com/repos/paypal/paypal-checkout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paypal/paypal-checkout/merges","archive_url":"https://api.github.com/repos/paypal/paypal-checkout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paypal/paypal-checkout/downloads","issues_url":"https://api.github.com/repos/paypal/paypal-checkout/issues{/number}","pulls_url":"https://api.github.com/repos/paypal/paypal-checkout/pulls{/number}","milestones_url":"https://api.github.com/repos/paypal/paypal-checkout/milestones{/number}","notifications_url":"https://api.github.com/repos/paypal/paypal-checkout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paypal/paypal-checkout/labels{/name}","releases_url":"https://api.github.com/repos/paypal/paypal-checkout/releases{/id}","deployments_url":"https://api.github.com/repos/paypal/paypal-checkout/deployments","created_at":"2016-08-03T20:34:03Z","updated_at":"2018-06-27T07:24:15Z","pushed_at":"2018-06-27T22:29:42Z","git_url":"git://github.com/paypal/paypal-checkout.git","ssh_url":"git@github.com:paypal/paypal-checkout.git","clone_url":"https://github.com/paypal/paypal-checkout.git","svn_url":"https://github.com/paypal/paypal-checkout","homepage":"","size":78013,"stargazers_count":392,"watchers_count":392,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":135,"mirror_url":null,"archived":false,"open_issues_count":88,"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":135,"open_issues":88,"watchers":392,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paypal/paypal-checkout/pulls/696"},"html":{"href":"https://github.com/paypal/paypal-checkout/pull/696"},"issue":{"href":"https://api.github.com/repos/paypal/paypal-checkout/issues/696"},"comments":{"href":"https://api.github.com/repos/paypal/paypal-checkout/issues/696/comments"},"review_comments":{"href":"https://api.github.com/repos/paypal/paypal-checkout/pulls/696/comments"},"review_comment":{"href":"https://api.github.com/repos/paypal/paypal-checkout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paypal/paypal-checkout/pulls/696/commits"},"statuses":{"href":"https://api.github.com/repos/paypal/paypal-checkout/statuses/b4ac674f723480fd12a9032f8211e5a494ec37dc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vishakha94"}}