{"action":"created","comment":{"url":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/comments/229666228","pull_request_review_id":170216647,"id":229666228,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTY2NjIyOA==","diff_hunk":"@@ -19,35 +23,49 @@ import {\n export default ({ dispatch, getState }) => next => (action) => {\n   next(action);\n   switch (action.type) {\n-    case 'APP_INIT':\n+    case 'APP_INIT': {\n       dispatch(dataFetchActions.fetch({\n         name: 'profiles',\n       }));\n+      dispatch({ type: initialLoadingActionTypes.PROFILE_LOADING_REDIRECT });","path":"packages/profile-sidebar/middleware.js","position":20,"original_position":20,"commit_id":"eb37724c96753f78bca48dd6ba19236dcc7af53f","original_commit_id":"eb37724c96753f78bca48dd6ba19236dcc7af53f","user":{"login":"karelm","id":1383419,"node_id":"MDQ6VXNlcjEzODM0MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/1383419?v=4","gravatar_id":"","url":"https://api.github.com/users/karelm","html_url":"https://github.com/karelm","followers_url":"https://api.github.com/users/karelm/followers","following_url":"https://api.github.com/users/karelm/following{/other_user}","gists_url":"https://api.github.com/users/karelm/gists{/gist_id}","starred_url":"https://api.github.com/users/karelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelm/subscriptions","organizations_url":"https://api.github.com/users/karelm/orgs","repos_url":"https://api.github.com/users/karelm/repos","events_url":"https://api.github.com/users/karelm/events{/privacy}","received_events_url":"https://api.github.com/users/karelm/received_events","type":"User","site_admin":false},"body":"Hey @josem, I'm just wondering why this action is necessary? should the default component not trigger this event itself when it loads?","created_at":"2018-10-31T12:06:46Z","updated_at":"2018-10-31T12:06:47Z","html_url":"https://github.com/bufferapp/buffer-publish/pull/414#discussion_r229666228","pull_request_url":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/414","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/comments/229666228"},"html":{"href":"https://github.com/bufferapp/buffer-publish/pull/414#discussion_r229666228"},"pull_request":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/414"}}},"pull_request":{"url":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/414","id":226844516,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2ODQ0NTE2","html_url":"https://github.com/bufferapp/buffer-publish/pull/414","diff_url":"https://github.com/bufferapp/buffer-publish/pull/414.diff","patch_url":"https://github.com/bufferapp/buffer-publish/pull/414.patch","issue_url":"https://api.github.com/repos/bufferapp/buffer-publish/issues/414","number":414,"state":"open","locked":false,"title":"Fix default element when loading the app for the first time","user":{"login":"josem","id":567695,"node_id":"MDQ6VXNlcjU2NzY5NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/567695?v=4","gravatar_id":"","url":"https://api.github.com/users/josem","html_url":"https://github.com/josem","followers_url":"https://api.github.com/users/josem/followers","following_url":"https://api.github.com/users/josem/following{/other_user}","gists_url":"https://api.github.com/users/josem/gists{/gist_id}","starred_url":"https://api.github.com/users/josem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josem/subscriptions","organizations_url":"https://api.github.com/users/josem/orgs","repos_url":"https://api.github.com/users/josem/repos","events_url":"https://api.github.com/users/josem/events{/privacy}","received_events_url":"https://api.github.com/users/josem/received_events","type":"User","site_admin":false},"body":"### Purpose\r\nFix https://buffer.atlassian.net/browse/PUB-735 by changing the default element that it's loaded and sending an event when it's rendered so we prevent the blank page when going back to https://publish.buffer.com\r\n\r\n(Please, see the ticket for more context)\r\n\r\n### Notes\r\n\r\n### Review\r\nHey @karelm! I'd love to have your eyes on this :) \r\n\r\n#### Staging Deployment\r\nhttps://fix-flash-screen-loading.publish.buffer.com\r\n","created_at":"2018-10-30T09:20:51Z","updated_at":"2018-10-31T12:06:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc2da0265c86e72cf04865ed2fb77a972cc9f21b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/414/commits","review_comments_url":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/414/comments","review_comment_url":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bufferapp/buffer-publish/issues/414/comments","statuses_url":"https://api.github.com/repos/bufferapp/buffer-publish/statuses/eb37724c96753f78bca48dd6ba19236dcc7af53f","head":{"label":"bufferapp:fix-flash-screen-loading","ref":"fix-flash-screen-loading","sha":"eb37724c96753f78bca48dd6ba19236dcc7af53f","user":{"login":"bufferapp","id":798826,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5ODgyNg==","avatar_url":"https://avatars0.githubusercontent.com/u/798826?v=4","gravatar_id":"","url":"https://api.github.com/users/bufferapp","html_url":"https://github.com/bufferapp","followers_url":"https://api.github.com/users/bufferapp/followers","following_url":"https://api.github.com/users/bufferapp/following{/other_user}","gists_url":"https://api.github.com/users/bufferapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bufferapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bufferapp/subscriptions","organizations_url":"https://api.github.com/users/bufferapp/orgs","repos_url":"https://api.github.com/users/bufferapp/repos","events_url":"https://api.github.com/users/bufferapp/events{/privacy}","received_events_url":"https://api.github.com/users/bufferapp/received_events","type":"Organization","site_admin":false},"repo":{"id":76082423,"node_id":"MDEwOlJlcG9zaXRvcnk3NjA4MjQyMw==","name":"buffer-publish","full_name":"bufferapp/buffer-publish","private":false,"owner":{"login":"bufferapp","id":798826,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5ODgyNg==","avatar_url":"https://avatars0.githubusercontent.com/u/798826?v=4","gravatar_id":"","url":"https://api.github.com/users/bufferapp","html_url":"https://github.com/bufferapp","followers_url":"https://api.github.com/users/bufferapp/followers","following_url":"https://api.github.com/users/bufferapp/following{/other_user}","gists_url":"https://api.github.com/users/bufferapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bufferapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bufferapp/subscriptions","organizations_url":"https://api.github.com/users/bufferapp/orgs","repos_url":"https://api.github.com/users/bufferapp/repos","events_url":"https://api.github.com/users/bufferapp/events{/privacy}","received_events_url":"https://api.github.com/users/bufferapp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bufferapp/buffer-publish","description":"Buffer Publish front-end single page application 🍩","fork":false,"url":"https://api.github.com/repos/bufferapp/buffer-publish","forks_url":"https://api.github.com/repos/bufferapp/buffer-publish/forks","keys_url":"https://api.github.com/repos/bufferapp/buffer-publish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bufferapp/buffer-publish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bufferapp/buffer-publish/teams","hooks_url":"https://api.github.com/repos/bufferapp/buffer-publish/hooks","issue_events_url":"https://api.github.com/repos/bufferapp/buffer-publish/issues/events{/number}","events_url":"https://api.github.com/repos/bufferapp/buffer-publish/events","assignees_url":"https://api.github.com/repos/bufferapp/buffer-publish/assignees{/user}","branches_url":"https://api.github.com/repos/bufferapp/buffer-publish/branches{/branch}","tags_url":"https://api.github.com/repos/bufferapp/buffer-publish/tags","blobs_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/refs{/sha}","trees_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bufferapp/buffer-publish/statuses/{sha}","languages_url":"https://api.github.com/repos/bufferapp/buffer-publish/languages","stargazers_url":"https://api.github.com/repos/bufferapp/buffer-publish/stargazers","contributors_url":"https://api.github.com/repos/bufferapp/buffer-publish/contributors","subscribers_url":"https://api.github.com/repos/bufferapp/buffer-publish/subscribers","subscription_url":"https://api.github.com/repos/bufferapp/buffer-publish/subscription","commits_url":"https://api.github.com/repos/bufferapp/buffer-publish/commits{/sha}","git_commits_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/commits{/sha}","comments_url":"https://api.github.com/repos/bufferapp/buffer-publish/comments{/number}","issue_comment_url":"https://api.github.com/repos/bufferapp/buffer-publish/issues/comments{/number}","contents_url":"https://api.github.com/repos/bufferapp/buffer-publish/contents/{+path}","compare_url":"https://api.github.com/repos/bufferapp/buffer-publish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bufferapp/buffer-publish/merges","archive_url":"https://api.github.com/repos/bufferapp/buffer-publish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bufferapp/buffer-publish/downloads","issues_url":"https://api.github.com/repos/bufferapp/buffer-publish/issues{/number}","pulls_url":"https://api.github.com/repos/bufferapp/buffer-publish/pulls{/number}","milestones_url":"https://api.github.com/repos/bufferapp/buffer-publish/milestones{/number}","notifications_url":"https://api.github.com/repos/bufferapp/buffer-publish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bufferapp/buffer-publish/labels{/name}","releases_url":"https://api.github.com/repos/bufferapp/buffer-publish/releases{/id}","deployments_url":"https://api.github.com/repos/bufferapp/buffer-publish/deployments","created_at":"2016-12-10T01:15:20Z","updated_at":"2018-10-29T21:54:19Z","pushed_at":"2018-10-31T11:15:55Z","git_url":"git://github.com/bufferapp/buffer-publish.git","ssh_url":"git@github.com:bufferapp/buffer-publish.git","clone_url":"https://github.com/bufferapp/buffer-publish.git","svn_url":"https://github.com/bufferapp/buffer-publish","homepage":"https://publish.buffer.com","size":9786,"stargazers_count":51,"watchers_count":51,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":23,"license":null,"forks":11,"open_issues":23,"watchers":51,"default_branch":"master"}},"base":{"label":"bufferapp:master","ref":"master","sha":"e0e7e8e68577dcd8518d89dcf33ae6212cacb60d","user":{"login":"bufferapp","id":798826,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5ODgyNg==","avatar_url":"https://avatars0.githubusercontent.com/u/798826?v=4","gravatar_id":"","url":"https://api.github.com/users/bufferapp","html_url":"https://github.com/bufferapp","followers_url":"https://api.github.com/users/bufferapp/followers","following_url":"https://api.github.com/users/bufferapp/following{/other_user}","gists_url":"https://api.github.com/users/bufferapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bufferapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bufferapp/subscriptions","organizations_url":"https://api.github.com/users/bufferapp/orgs","repos_url":"https://api.github.com/users/bufferapp/repos","events_url":"https://api.github.com/users/bufferapp/events{/privacy}","received_events_url":"https://api.github.com/users/bufferapp/received_events","type":"Organization","site_admin":false},"repo":{"id":76082423,"node_id":"MDEwOlJlcG9zaXRvcnk3NjA4MjQyMw==","name":"buffer-publish","full_name":"bufferapp/buffer-publish","private":false,"owner":{"login":"bufferapp","id":798826,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5ODgyNg==","avatar_url":"https://avatars0.githubusercontent.com/u/798826?v=4","gravatar_id":"","url":"https://api.github.com/users/bufferapp","html_url":"https://github.com/bufferapp","followers_url":"https://api.github.com/users/bufferapp/followers","following_url":"https://api.github.com/users/bufferapp/following{/other_user}","gists_url":"https://api.github.com/users/bufferapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bufferapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bufferapp/subscriptions","organizations_url":"https://api.github.com/users/bufferapp/orgs","repos_url":"https://api.github.com/users/bufferapp/repos","events_url":"https://api.github.com/users/bufferapp/events{/privacy}","received_events_url":"https://api.github.com/users/bufferapp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bufferapp/buffer-publish","description":"Buffer Publish front-end single page application 🍩","fork":false,"url":"https://api.github.com/repos/bufferapp/buffer-publish","forks_url":"https://api.github.com/repos/bufferapp/buffer-publish/forks","keys_url":"https://api.github.com/repos/bufferapp/buffer-publish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bufferapp/buffer-publish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bufferapp/buffer-publish/teams","hooks_url":"https://api.github.com/repos/bufferapp/buffer-publish/hooks","issue_events_url":"https://api.github.com/repos/bufferapp/buffer-publish/issues/events{/number}","events_url":"https://api.github.com/repos/bufferapp/buffer-publish/events","assignees_url":"https://api.github.com/repos/bufferapp/buffer-publish/assignees{/user}","branches_url":"https://api.github.com/repos/bufferapp/buffer-publish/branches{/branch}","tags_url":"https://api.github.com/repos/bufferapp/buffer-publish/tags","blobs_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/refs{/sha}","trees_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bufferapp/buffer-publish/statuses/{sha}","languages_url":"https://api.github.com/repos/bufferapp/buffer-publish/languages","stargazers_url":"https://api.github.com/repos/bufferapp/buffer-publish/stargazers","contributors_url":"https://api.github.com/repos/bufferapp/buffer-publish/contributors","subscribers_url":"https://api.github.com/repos/bufferapp/buffer-publish/subscribers","subscription_url":"https://api.github.com/repos/bufferapp/buffer-publish/subscription","commits_url":"https://api.github.com/repos/bufferapp/buffer-publish/commits{/sha}","git_commits_url":"https://api.github.com/repos/bufferapp/buffer-publish/git/commits{/sha}","comments_url":"https://api.github.com/repos/bufferapp/buffer-publish/comments{/number}","issue_comment_url":"https://api.github.com/repos/bufferapp/buffer-publish/issues/comments{/number}","contents_url":"https://api.github.com/repos/bufferapp/buffer-publish/contents/{+path}","compare_url":"https://api.github.com/repos/bufferapp/buffer-publish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bufferapp/buffer-publish/merges","archive_url":"https://api.github.com/repos/bufferapp/buffer-publish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bufferapp/buffer-publish/downloads","issues_url":"https://api.github.com/repos/bufferapp/buffer-publish/issues{/number}","pulls_url":"https://api.github.com/repos/bufferapp/buffer-publish/pulls{/number}","milestones_url":"https://api.github.com/repos/bufferapp/buffer-publish/milestones{/number}","notifications_url":"https://api.github.com/repos/bufferapp/buffer-publish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bufferapp/buffer-publish/labels{/name}","releases_url":"https://api.github.com/repos/bufferapp/buffer-publish/releases{/id}","deployments_url":"https://api.github.com/repos/bufferapp/buffer-publish/deployments","created_at":"2016-12-10T01:15:20Z","updated_at":"2018-10-29T21:54:19Z","pushed_at":"2018-10-31T11:15:55Z","git_url":"git://github.com/bufferapp/buffer-publish.git","ssh_url":"git@github.com:bufferapp/buffer-publish.git","clone_url":"https://github.com/bufferapp/buffer-publish.git","svn_url":"https://github.com/bufferapp/buffer-publish","homepage":"https://publish.buffer.com","size":9786,"stargazers_count":51,"watchers_count":51,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":23,"license":null,"forks":11,"open_issues":23,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/414"},"html":{"href":"https://github.com/bufferapp/buffer-publish/pull/414"},"issue":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/issues/414"},"comments":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/bufferapp/buffer-publish/statuses/eb37724c96753f78bca48dd6ba19236dcc7af53f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"karelm"}}