{"action":"created","comment":{"url":"https://api.github.com/repos/vtex-apps/my-account/pulls/comments/230710799","pull_request_review_id":171505711,"id":230710799,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDcxMDc5OQ==","diff_hunk":"@@ -25,41 +27,40 @@ class BaseLoading extends Component {\n \n   render() {\n     const { isLoading } = this.state\n-    const { PageHeader, children, queryData } = this.props\n+    const { headerConfig, children, queryData, intl } = this.props\n \n     const hasAuthenticationError =\n       queryData.error &&\n       queryData.error.toString().indexOf('not authenticated') > -1\n \n     return (\n-      <PageTemplate\n-        header={<PageHeader />}\n-      >\n+      <ContentWrapper {...headerConfig(intl)}>\n         {() => (\n           <Fragment>\n             {isLoading || true ? (\n               children\n             ) : (\n-              <ReloadableError\n-                errorId={\n-                  hasAuthenticationError\n-                    ? 'alert.unauthenticated'\n-                    : 'alert.connectionError'\n-                }\n-                onReload={this.reload}\n-              />\n-            )}\n+                <ReloadableError\n+                  errorId={\n+                    hasAuthenticationError\n+                      ? 'alert.unauthenticated'\n+                      : 'alert.connectionError'\n+                  }\n+                  onReload={this.reload}\n+                />\n+              )}\n           </Fragment>\n         )}\n-      </PageTemplate>\n+      </ContentWrapper>\n     )\n   }\n }\n \n BaseLoading.propTypes = {\n+  intl: intlShape.isRequired,\n   queryData: PropTypes.any.isRequired,\n-  PageHeader: PropTypes.func.isRequired,\n+  headerConfig: PropTypes.func.isRequired,","path":"react/components/shared/BaseLoading.js","position":62,"original_position":62,"commit_id":"0b072706069bef0bdc51af967056065e605af481","original_commit_id":"0b072706069bef0bdc51af967056065e605af481","user":{"login":"lbebber","id":5691711,"node_id":"MDQ6VXNlcjU2OTE3MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5691711?v=4","gravatar_id":"","url":"https://api.github.com/users/lbebber","html_url":"https://github.com/lbebber","followers_url":"https://api.github.com/users/lbebber/followers","following_url":"https://api.github.com/users/lbebber/following{/other_user}","gists_url":"https://api.github.com/users/lbebber/gists{/gist_id}","starred_url":"https://api.github.com/users/lbebber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbebber/subscriptions","organizations_url":"https://api.github.com/users/lbebber/orgs","repos_url":"https://api.github.com/users/lbebber/repos","events_url":"https://api.github.com/users/lbebber/events{/privacy}","received_events_url":"https://api.github.com/users/lbebber/received_events","type":"User","site_admin":false},"body":"por que `headerConfig` não é um objeto? teria a vantagem que tu pode definir um `shape` como proptype","created_at":"2018-11-05T11:03:36Z","updated_at":"2018-11-05T11:08:03Z","html_url":"https://github.com/vtex-apps/my-account/pull/35#discussion_r230710799","pull_request_url":"https://api.github.com/repos/vtex-apps/my-account/pulls/35","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/my-account/pulls/comments/230710799"},"html":{"href":"https://github.com/vtex-apps/my-account/pull/35#discussion_r230710799"},"pull_request":{"href":"https://api.github.com/repos/vtex-apps/my-account/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/vtex-apps/my-account/pulls/35","id":227744648,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NzQ0NjQ4","html_url":"https://github.com/vtex-apps/my-account/pull/35","diff_url":"https://github.com/vtex-apps/my-account/pull/35.diff","patch_url":"https://github.com/vtex-apps/my-account/pull/35.patch","issue_url":"https://api.github.com/repos/vtex-apps/my-account/issues/35","number":35,"state":"open","locked":false,"title":"Pages Navigation","user":{"login":"salesfelipe","id":3926634,"node_id":"MDQ6VXNlcjM5MjY2MzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false},"body":"#### What is the purpose of this pull request?\r\nAdd `Page Header` to the rest of the pages\r\n\r\n#### What problem is this solving?\r\nThere wasn't a way to go back to main first\r\n\r\n#### How should this be manually tested?\r\n\r\n#### Screenshots or example usage\r\n![image](https://user-images.githubusercontent.com/3926634/47876931-5f48c580-ddf9-11e8-96ad-29cd942c2878.png)\r\n\r\n\r\n#### Types of changes\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] Requires change to documentation, which has been updated accordingly.\r\n","created_at":"2018-11-01T20:13:27Z","updated_at":"2018-11-05T11:08:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8610f9c1dc22ac0df39825758cc1774e61294e94","assignee":{"login":"salesfelipe","id":3926634,"node_id":"MDQ6VXNlcjM5MjY2MzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false},"assignees":[{"login":"salesfelipe","id":3926634,"node_id":"MDQ6VXNlcjM5MjY2MzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":988457863,"node_id":"MDU6TGFiZWw5ODg0NTc4NjM=","url":"https://api.github.com/repos/vtex-apps/my-account/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/vtex-apps/my-account/pulls/35/commits","review_comments_url":"https://api.github.com/repos/vtex-apps/my-account/pulls/35/comments","review_comment_url":"https://api.github.com/repos/vtex-apps/my-account/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vtex-apps/my-account/issues/35/comments","statuses_url":"https://api.github.com/repos/vtex-apps/my-account/statuses/0b072706069bef0bdc51af967056065e605af481","head":{"label":"vtex-apps:fix/uiNormalization","ref":"fix/uiNormalization","sha":"0b072706069bef0bdc51af967056065e605af481","user":{"login":"vtex-apps","id":12614072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNjE0MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":140301914,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMDE5MTQ=","name":"my-account","full_name":"vtex-apps/my-account","private":false,"owner":{"login":"vtex-apps","id":12614072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNjE0MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/vtex-apps/my-account","description":null,"fork":false,"url":"https://api.github.com/repos/vtex-apps/my-account","forks_url":"https://api.github.com/repos/vtex-apps/my-account/forks","keys_url":"https://api.github.com/repos/vtex-apps/my-account/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/my-account/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/my-account/teams","hooks_url":"https://api.github.com/repos/vtex-apps/my-account/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/my-account/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/my-account/events","assignees_url":"https://api.github.com/repos/vtex-apps/my-account/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/my-account/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/my-account/tags","blobs_url":"https://api.github.com/repos/vtex-apps/my-account/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/my-account/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/my-account/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/my-account/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/my-account/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/my-account/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/my-account/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/my-account/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/my-account/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/my-account/subscription","commits_url":"https://api.github.com/repos/vtex-apps/my-account/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/my-account/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/my-account/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/my-account/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/my-account/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/my-account/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/my-account/merges","archive_url":"https://api.github.com/repos/vtex-apps/my-account/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/my-account/downloads","issues_url":"https://api.github.com/repos/vtex-apps/my-account/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/my-account/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/my-account/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/my-account/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/my-account/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/my-account/releases{/id}","deployments_url":"https://api.github.com/repos/vtex-apps/my-account/deployments","created_at":"2018-07-09T15:02:15Z","updated_at":"2018-11-01T12:45:31Z","pushed_at":"2018-11-01T20:16:24Z","git_url":"git://github.com/vtex-apps/my-account.git","ssh_url":"git@github.com:vtex-apps/my-account.git","clone_url":"https://github.com/vtex-apps/my-account.git","svn_url":"https://github.com/vtex-apps/my-account","homepage":null,"size":356,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"vtex-apps:master","ref":"master","sha":"6df1581e50ad1046c77b467a8792ff31cfe9330a","user":{"login":"vtex-apps","id":12614072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNjE0MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":140301914,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMDE5MTQ=","name":"my-account","full_name":"vtex-apps/my-account","private":false,"owner":{"login":"vtex-apps","id":12614072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNjE0MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/vtex-apps/my-account","description":null,"fork":false,"url":"https://api.github.com/repos/vtex-apps/my-account","forks_url":"https://api.github.com/repos/vtex-apps/my-account/forks","keys_url":"https://api.github.com/repos/vtex-apps/my-account/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/my-account/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/my-account/teams","hooks_url":"https://api.github.com/repos/vtex-apps/my-account/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/my-account/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/my-account/events","assignees_url":"https://api.github.com/repos/vtex-apps/my-account/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/my-account/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/my-account/tags","blobs_url":"https://api.github.com/repos/vtex-apps/my-account/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/my-account/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/my-account/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/my-account/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/my-account/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/my-account/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/my-account/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/my-account/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/my-account/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/my-account/subscription","commits_url":"https://api.github.com/repos/vtex-apps/my-account/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/my-account/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/my-account/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/my-account/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/my-account/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/my-account/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/my-account/merges","archive_url":"https://api.github.com/repos/vtex-apps/my-account/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/my-account/downloads","issues_url":"https://api.github.com/repos/vtex-apps/my-account/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/my-account/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/my-account/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/my-account/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/my-account/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/my-account/releases{/id}","deployments_url":"https://api.github.com/repos/vtex-apps/my-account/deployments","created_at":"2018-07-09T15:02:15Z","updated_at":"2018-11-01T12:45:31Z","pushed_at":"2018-11-01T20:16:24Z","git_url":"git://github.com/vtex-apps/my-account.git","ssh_url":"git@github.com:vtex-apps/my-account.git","clone_url":"https://github.com/vtex-apps/my-account.git","svn_url":"https://github.com/vtex-apps/my-account","homepage":null,"size":356,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/my-account/pulls/35"},"html":{"href":"https://github.com/vtex-apps/my-account/pull/35"},"issue":{"href":"https://api.github.com/repos/vtex-apps/my-account/issues/35"},"comments":{"href":"https://api.github.com/repos/vtex-apps/my-account/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/vtex-apps/my-account/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/vtex-apps/my-account/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vtex-apps/my-account/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/vtex-apps/my-account/statuses/0b072706069bef0bdc51af967056065e605af481"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lbebber"}}