{"action":"created","comment":{"url":"https://api.github.com/repos/MainframeHQ/noted/pulls/comments/236671104","pull_request_review_id":178780947,"id":236671104,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjY3MTEwNA==","diff_hunk":"@@ -5,19 +5,44 @@ import styled from 'styled-components/native'\n \n import LeftNav from './LeftNav'\n import MainArea from './MainArea'\n+import InitialState from './InitialState'\n+\n+type State = {\n+  initial: boolean,\n+}\n \n const Root = styled.View`\n   width: 100vw;\n   height: 100vh;\n   flex: 1;\n   flex-direction: row;\n `\n-class Home extends Component<{}> {\n+class Home extends Component<{}, State> {\n+  state = {\n+    initial: true,\n+  }\n+\n+  componentDidMount() {\n+    // there will likely be a better/ additional deciding factor here\n+    // once integrated w/ swarm\n+    if (localStorage.getItem('local-storage-session-key')) {","path":"src/components/Home.js","position":25,"original_position":25,"commit_id":"8a767f484bdc7ebf81ec6d8be6fc169123902457","original_commit_id":"8a767f484bdc7ebf81ec6d8be6fc169123902457","user":{"login":"PaulLeCam","id":790995,"node_id":"MDQ6VXNlcjc5MDk5NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/790995?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulLeCam","html_url":"https://github.com/PaulLeCam","followers_url":"https://api.github.com/users/PaulLeCam/followers","following_url":"https://api.github.com/users/PaulLeCam/following{/other_user}","gists_url":"https://api.github.com/users/PaulLeCam/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulLeCam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulLeCam/subscriptions","organizations_url":"https://api.github.com/users/PaulLeCam/orgs","repos_url":"https://api.github.com/users/PaulLeCam/repos","events_url":"https://api.github.com/users/PaulLeCam/events{/privacy}","received_events_url":"https://api.github.com/users/PaulLeCam/received_events","type":"User","site_admin":false},"body":"What is the purpose of this key please?","created_at":"2018-11-27T13:52:47Z","updated_at":"2018-11-27T13:53:32Z","html_url":"https://github.com/MainframeHQ/noted/pull/2#discussion_r236671104","pull_request_url":"https://api.github.com/repos/MainframeHQ/noted/pulls/2","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/MainframeHQ/noted/pulls/comments/236671104"},"html":{"href":"https://github.com/MainframeHQ/noted/pull/2#discussion_r236671104"},"pull_request":{"href":"https://api.github.com/repos/MainframeHQ/noted/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/MainframeHQ/noted/pulls/2","id":233722562,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNzIyNTYy","html_url":"https://github.com/MainframeHQ/noted/pull/2","diff_url":"https://github.com/MainframeHQ/noted/pull/2.diff","patch_url":"https://github.com/MainframeHQ/noted/pull/2.patch","issue_url":"https://api.github.com/repos/MainframeHQ/noted/issues/2","number":2,"state":"open","locked":false,"title":"Opening state","user":{"login":"mjezew","id":3522990,"node_id":"MDQ6VXNlcjM1MjI5OTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3522990?v=4","gravatar_id":"","url":"https://api.github.com/users/mjezew","html_url":"https://github.com/mjezew","followers_url":"https://api.github.com/users/mjezew/followers","following_url":"https://api.github.com/users/mjezew/following{/other_user}","gists_url":"https://api.github.com/users/mjezew/gists{/gist_id}","starred_url":"https://api.github.com/users/mjezew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjezew/subscriptions","organizations_url":"https://api.github.com/users/mjezew/orgs","repos_url":"https://api.github.com/users/mjezew/repos","events_url":"https://api.github.com/users/mjezew/events{/privacy}","received_events_url":"https://api.github.com/users/mjezew/received_events","type":"User","site_admin":false},"body":"add opening state + fixing search + cleanup","created_at":"2018-11-26T22:49:34Z","updated_at":"2018-11-27T13:53:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0eb0217000c34a806dc714afe23944e236e8ead1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MainframeHQ/noted/pulls/2/commits","review_comments_url":"https://api.github.com/repos/MainframeHQ/noted/pulls/2/comments","review_comment_url":"https://api.github.com/repos/MainframeHQ/noted/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MainframeHQ/noted/issues/2/comments","statuses_url":"https://api.github.com/repos/MainframeHQ/noted/statuses/8a767f484bdc7ebf81ec6d8be6fc169123902457","head":{"label":"MainframeHQ:opening-state","ref":"opening-state","sha":"8a767f484bdc7ebf81ec6d8be6fc169123902457","user":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":154706013,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3MDYwMTM=","name":"noted","full_name":"MainframeHQ/noted","private":false,"owner":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MainframeHQ/noted","description":"Noted is a simple dApp for composing and organizing text notes in MainframeOS","fork":false,"url":"https://api.github.com/repos/MainframeHQ/noted","forks_url":"https://api.github.com/repos/MainframeHQ/noted/forks","keys_url":"https://api.github.com/repos/MainframeHQ/noted/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MainframeHQ/noted/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MainframeHQ/noted/teams","hooks_url":"https://api.github.com/repos/MainframeHQ/noted/hooks","issue_events_url":"https://api.github.com/repos/MainframeHQ/noted/issues/events{/number}","events_url":"https://api.github.com/repos/MainframeHQ/noted/events","assignees_url":"https://api.github.com/repos/MainframeHQ/noted/assignees{/user}","branches_url":"https://api.github.com/repos/MainframeHQ/noted/branches{/branch}","tags_url":"https://api.github.com/repos/MainframeHQ/noted/tags","blobs_url":"https://api.github.com/repos/MainframeHQ/noted/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MainframeHQ/noted/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MainframeHQ/noted/git/refs{/sha}","trees_url":"https://api.github.com/repos/MainframeHQ/noted/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MainframeHQ/noted/statuses/{sha}","languages_url":"https://api.github.com/repos/MainframeHQ/noted/languages","stargazers_url":"https://api.github.com/repos/MainframeHQ/noted/stargazers","contributors_url":"https://api.github.com/repos/MainframeHQ/noted/contributors","subscribers_url":"https://api.github.com/repos/MainframeHQ/noted/subscribers","subscription_url":"https://api.github.com/repos/MainframeHQ/noted/subscription","commits_url":"https://api.github.com/repos/MainframeHQ/noted/commits{/sha}","git_commits_url":"https://api.github.com/repos/MainframeHQ/noted/git/commits{/sha}","comments_url":"https://api.github.com/repos/MainframeHQ/noted/comments{/number}","issue_comment_url":"https://api.github.com/repos/MainframeHQ/noted/issues/comments{/number}","contents_url":"https://api.github.com/repos/MainframeHQ/noted/contents/{+path}","compare_url":"https://api.github.com/repos/MainframeHQ/noted/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MainframeHQ/noted/merges","archive_url":"https://api.github.com/repos/MainframeHQ/noted/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MainframeHQ/noted/downloads","issues_url":"https://api.github.com/repos/MainframeHQ/noted/issues{/number}","pulls_url":"https://api.github.com/repos/MainframeHQ/noted/pulls{/number}","milestones_url":"https://api.github.com/repos/MainframeHQ/noted/milestones{/number}","notifications_url":"https://api.github.com/repos/MainframeHQ/noted/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MainframeHQ/noted/labels{/name}","releases_url":"https://api.github.com/repos/MainframeHQ/noted/releases{/id}","deployments_url":"https://api.github.com/repos/MainframeHQ/noted/deployments","created_at":"2018-10-25T16:48:20Z","updated_at":"2018-11-26T16:28:48Z","pushed_at":"2018-11-26T22:49:35Z","git_url":"git://github.com/MainframeHQ/noted.git","ssh_url":"git@github.com:MainframeHQ/noted.git","clone_url":"https://github.com/MainframeHQ/noted.git","svn_url":"https://github.com/MainframeHQ/noted","homepage":null,"size":434,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"MainframeHQ:master","ref":"master","sha":"902d5fb208410e43521816b392cdc5e8887ba08d","user":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":154706013,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3MDYwMTM=","name":"noted","full_name":"MainframeHQ/noted","private":false,"owner":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MainframeHQ/noted","description":"Noted is a simple dApp for composing and organizing text notes in MainframeOS","fork":false,"url":"https://api.github.com/repos/MainframeHQ/noted","forks_url":"https://api.github.com/repos/MainframeHQ/noted/forks","keys_url":"https://api.github.com/repos/MainframeHQ/noted/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MainframeHQ/noted/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MainframeHQ/noted/teams","hooks_url":"https://api.github.com/repos/MainframeHQ/noted/hooks","issue_events_url":"https://api.github.com/repos/MainframeHQ/noted/issues/events{/number}","events_url":"https://api.github.com/repos/MainframeHQ/noted/events","assignees_url":"https://api.github.com/repos/MainframeHQ/noted/assignees{/user}","branches_url":"https://api.github.com/repos/MainframeHQ/noted/branches{/branch}","tags_url":"https://api.github.com/repos/MainframeHQ/noted/tags","blobs_url":"https://api.github.com/repos/MainframeHQ/noted/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MainframeHQ/noted/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MainframeHQ/noted/git/refs{/sha}","trees_url":"https://api.github.com/repos/MainframeHQ/noted/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MainframeHQ/noted/statuses/{sha}","languages_url":"https://api.github.com/repos/MainframeHQ/noted/languages","stargazers_url":"https://api.github.com/repos/MainframeHQ/noted/stargazers","contributors_url":"https://api.github.com/repos/MainframeHQ/noted/contributors","subscribers_url":"https://api.github.com/repos/MainframeHQ/noted/subscribers","subscription_url":"https://api.github.com/repos/MainframeHQ/noted/subscription","commits_url":"https://api.github.com/repos/MainframeHQ/noted/commits{/sha}","git_commits_url":"https://api.github.com/repos/MainframeHQ/noted/git/commits{/sha}","comments_url":"https://api.github.com/repos/MainframeHQ/noted/comments{/number}","issue_comment_url":"https://api.github.com/repos/MainframeHQ/noted/issues/comments{/number}","contents_url":"https://api.github.com/repos/MainframeHQ/noted/contents/{+path}","compare_url":"https://api.github.com/repos/MainframeHQ/noted/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MainframeHQ/noted/merges","archive_url":"https://api.github.com/repos/MainframeHQ/noted/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MainframeHQ/noted/downloads","issues_url":"https://api.github.com/repos/MainframeHQ/noted/issues{/number}","pulls_url":"https://api.github.com/repos/MainframeHQ/noted/pulls{/number}","milestones_url":"https://api.github.com/repos/MainframeHQ/noted/milestones{/number}","notifications_url":"https://api.github.com/repos/MainframeHQ/noted/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MainframeHQ/noted/labels{/name}","releases_url":"https://api.github.com/repos/MainframeHQ/noted/releases{/id}","deployments_url":"https://api.github.com/repos/MainframeHQ/noted/deployments","created_at":"2018-10-25T16:48:20Z","updated_at":"2018-11-26T16:28:48Z","pushed_at":"2018-11-26T22:49:35Z","git_url":"git://github.com/MainframeHQ/noted.git","ssh_url":"git@github.com:MainframeHQ/noted.git","clone_url":"https://github.com/MainframeHQ/noted.git","svn_url":"https://github.com/MainframeHQ/noted","homepage":null,"size":434,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MainframeHQ/noted/pulls/2"},"html":{"href":"https://github.com/MainframeHQ/noted/pull/2"},"issue":{"href":"https://api.github.com/repos/MainframeHQ/noted/issues/2"},"comments":{"href":"https://api.github.com/repos/MainframeHQ/noted/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/MainframeHQ/noted/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/MainframeHQ/noted/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MainframeHQ/noted/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/MainframeHQ/noted/statuses/8a767f484bdc7ebf81ec6d8be6fc169123902457"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"PaulLeCam"}}