{"action":"created","comment":{"url":"https://api.github.com/repos/Runners-Plaza/Web/pulls/comments/216154529","pull_request_review_id":153578737,"id":216154529,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjE1NDUyOQ==","diff_hunk":"@@ -33,25 +33,41 @@\n \n <script>\n export default {\n-  name: 'the-sidebar',\n-  data () {\n-    return {\n-      items: [\n-        {\n-          name: 'home',\n-          icon: 'home',\n-          title: 'Home',\n-          to: 'home'\n-        }\n-      ]\n+  name: \"the-sidebar\",\n+  computed: {\n+    items() {\n+      var items = []\n+      if (this.me.show) {\n+        items.push({\n+          name: \"home\",\n+          icon: \"home\",\n+          title: \"Home\",\n+          to: \"home\"\n+        })\n+        items.push({\n+          name: \"logout\",\n+          icon: \"exit_to_app\",\n+          title: \"Log out\",\n+          to: \"\"\n+        })\n+      } else {\n+        items.push({\n+          name: \"login\",\n+          icon: \"login\",\n+          title: \"Login\",\n+          to: \"login\"\n+        })\n+      }\n+      return items\n     }\n   },\n   methods: {\n-    clickOn (item) {\n-      if (item.name === 'log out')\n+    clickOn(item) {","path":"src/components/TheSidebar.vue","position":46,"original_position":46,"commit_id":"c005e6375c43caec38d4a5fa010a61ab319cd554","original_commit_id":"c005e6375c43caec38d4a5fa010a61ab319cd554","user":{"login":"c910335","id":5556079,"node_id":"MDQ6VXNlcjU1NTYwNzk=","avatar_url":"https://avatars0.githubusercontent.com/u/5556079?v=4","gravatar_id":"","url":"https://api.github.com/users/c910335","html_url":"https://github.com/c910335","followers_url":"https://api.github.com/users/c910335/followers","following_url":"https://api.github.com/users/c910335/following{/other_user}","gists_url":"https://api.github.com/users/c910335/gists{/gist_id}","starred_url":"https://api.github.com/users/c910335/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c910335/subscriptions","organizations_url":"https://api.github.com/users/c910335/orgs","repos_url":"https://api.github.com/users/c910335/repos","events_url":"https://api.github.com/users/c910335/events{/privacy}","received_events_url":"https://api.github.com/users/c910335/received_events","type":"User","site_admin":false},"body":"為什麼把我空格去掉了QQ","created_at":"2018-09-09T11:06:17Z","updated_at":"2018-09-09T11:11:41Z","html_url":"https://github.com/Runners-Plaza/Web/pull/1#discussion_r216154529","pull_request_url":"https://api.github.com/repos/Runners-Plaza/Web/pulls/1","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Runners-Plaza/Web/pulls/comments/216154529"},"html":{"href":"https://github.com/Runners-Plaza/Web/pull/1#discussion_r216154529"},"pull_request":{"href":"https://api.github.com/repos/Runners-Plaza/Web/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Runners-Plaza/Web/pulls/1","id":214071407,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MDcxNDA3","html_url":"https://github.com/Runners-Plaza/Web/pull/1","diff_url":"https://github.com/Runners-Plaza/Web/pull/1.diff","patch_url":"https://github.com/Runners-Plaza/Web/pull/1.patch","issue_url":"https://api.github.com/repos/Runners-Plaza/Web/issues/1","number":1,"state":"open","locked":false,"title":"Feature: facebook login","user":{"login":"YWJamesLin","id":4758887,"node_id":"MDQ6VXNlcjQ3NTg4ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/4758887?v=4","gravatar_id":"","url":"https://api.github.com/users/YWJamesLin","html_url":"https://github.com/YWJamesLin","followers_url":"https://api.github.com/users/YWJamesLin/followers","following_url":"https://api.github.com/users/YWJamesLin/following{/other_user}","gists_url":"https://api.github.com/users/YWJamesLin/gists{/gist_id}","starred_url":"https://api.github.com/users/YWJamesLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YWJamesLin/subscriptions","organizations_url":"https://api.github.com/users/YWJamesLin/orgs","repos_url":"https://api.github.com/users/YWJamesLin/repos","events_url":"https://api.github.com/users/YWJamesLin/events{/privacy}","received_events_url":"https://api.github.com/users/YWJamesLin/received_events","type":"User","site_admin":false},"body":"Facebook Login Feature","created_at":"2018-09-08T01:57:59Z","updated_at":"2018-09-09T11:11:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a5dcef454abc366b8933cfa8bd9fc814a3d9350","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1046692940,"node_id":"MDU6TGFiZWwxMDQ2NjkyOTQw","url":"https://api.github.com/repos/Runners-Plaza/Web/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/Runners-Plaza/Web/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Runners-Plaza/Web/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Runners-Plaza/Web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Runners-Plaza/Web/issues/1/comments","statuses_url":"https://api.github.com/repos/Runners-Plaza/Web/statuses/c005e6375c43caec38d4a5fa010a61ab319cd554","head":{"label":"YWJamesLin:feature/facebook-login","ref":"feature/facebook-login","sha":"c005e6375c43caec38d4a5fa010a61ab319cd554","user":{"login":"YWJamesLin","id":4758887,"node_id":"MDQ6VXNlcjQ3NTg4ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/4758887?v=4","gravatar_id":"","url":"https://api.github.com/users/YWJamesLin","html_url":"https://github.com/YWJamesLin","followers_url":"https://api.github.com/users/YWJamesLin/followers","following_url":"https://api.github.com/users/YWJamesLin/following{/other_user}","gists_url":"https://api.github.com/users/YWJamesLin/gists{/gist_id}","starred_url":"https://api.github.com/users/YWJamesLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YWJamesLin/subscriptions","organizations_url":"https://api.github.com/users/YWJamesLin/orgs","repos_url":"https://api.github.com/users/YWJamesLin/repos","events_url":"https://api.github.com/users/YWJamesLin/events{/privacy}","received_events_url":"https://api.github.com/users/YWJamesLin/received_events","type":"User","site_admin":false},"repo":{"id":147890379,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4OTAzNzk=","name":"Web","full_name":"YWJamesLin/Web","owner":{"login":"YWJamesLin","id":4758887,"node_id":"MDQ6VXNlcjQ3NTg4ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/4758887?v=4","gravatar_id":"","url":"https://api.github.com/users/YWJamesLin","html_url":"https://github.com/YWJamesLin","followers_url":"https://api.github.com/users/YWJamesLin/followers","following_url":"https://api.github.com/users/YWJamesLin/following{/other_user}","gists_url":"https://api.github.com/users/YWJamesLin/gists{/gist_id}","starred_url":"https://api.github.com/users/YWJamesLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YWJamesLin/subscriptions","organizations_url":"https://api.github.com/users/YWJamesLin/orgs","repos_url":"https://api.github.com/users/YWJamesLin/repos","events_url":"https://api.github.com/users/YWJamesLin/events{/privacy}","received_events_url":"https://api.github.com/users/YWJamesLin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YWJamesLin/Web","description":"Website of Runners-Plaza","fork":true,"url":"https://api.github.com/repos/YWJamesLin/Web","forks_url":"https://api.github.com/repos/YWJamesLin/Web/forks","keys_url":"https://api.github.com/repos/YWJamesLin/Web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YWJamesLin/Web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YWJamesLin/Web/teams","hooks_url":"https://api.github.com/repos/YWJamesLin/Web/hooks","issue_events_url":"https://api.github.com/repos/YWJamesLin/Web/issues/events{/number}","events_url":"https://api.github.com/repos/YWJamesLin/Web/events","assignees_url":"https://api.github.com/repos/YWJamesLin/Web/assignees{/user}","branches_url":"https://api.github.com/repos/YWJamesLin/Web/branches{/branch}","tags_url":"https://api.github.com/repos/YWJamesLin/Web/tags","blobs_url":"https://api.github.com/repos/YWJamesLin/Web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YWJamesLin/Web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YWJamesLin/Web/git/refs{/sha}","trees_url":"https://api.github.com/repos/YWJamesLin/Web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YWJamesLin/Web/statuses/{sha}","languages_url":"https://api.github.com/repos/YWJamesLin/Web/languages","stargazers_url":"https://api.github.com/repos/YWJamesLin/Web/stargazers","contributors_url":"https://api.github.com/repos/YWJamesLin/Web/contributors","subscribers_url":"https://api.github.com/repos/YWJamesLin/Web/subscribers","subscription_url":"https://api.github.com/repos/YWJamesLin/Web/subscription","commits_url":"https://api.github.com/repos/YWJamesLin/Web/commits{/sha}","git_commits_url":"https://api.github.com/repos/YWJamesLin/Web/git/commits{/sha}","comments_url":"https://api.github.com/repos/YWJamesLin/Web/comments{/number}","issue_comment_url":"https://api.github.com/repos/YWJamesLin/Web/issues/comments{/number}","contents_url":"https://api.github.com/repos/YWJamesLin/Web/contents/{+path}","compare_url":"https://api.github.com/repos/YWJamesLin/Web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YWJamesLin/Web/merges","archive_url":"https://api.github.com/repos/YWJamesLin/Web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YWJamesLin/Web/downloads","issues_url":"https://api.github.com/repos/YWJamesLin/Web/issues{/number}","pulls_url":"https://api.github.com/repos/YWJamesLin/Web/pulls{/number}","milestones_url":"https://api.github.com/repos/YWJamesLin/Web/milestones{/number}","notifications_url":"https://api.github.com/repos/YWJamesLin/Web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YWJamesLin/Web/labels{/name}","releases_url":"https://api.github.com/repos/YWJamesLin/Web/releases{/id}","deployments_url":"https://api.github.com/repos/YWJamesLin/Web/deployments","created_at":"2018-09-08T01:30:59Z","updated_at":"2018-09-08T01:31:01Z","pushed_at":"2018-09-09T10:38:43Z","git_url":"git://github.com/YWJamesLin/Web.git","ssh_url":"git@github.com:YWJamesLin/Web.git","clone_url":"https://github.com/YWJamesLin/Web.git","svn_url":"https://github.com/YWJamesLin/Web","homepage":null,"size":270,"stargazers_count":0,"watchers_count":0,"language":"Vue","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Runners-Plaza:master","ref":"master","sha":"55df096d64b1af56564bb47e2947afd40060c738","user":{"login":"Runners-Plaza","id":31589034,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTg5MDM0","avatar_url":"https://avatars1.githubusercontent.com/u/31589034?v=4","gravatar_id":"","url":"https://api.github.com/users/Runners-Plaza","html_url":"https://github.com/Runners-Plaza","followers_url":"https://api.github.com/users/Runners-Plaza/followers","following_url":"https://api.github.com/users/Runners-Plaza/following{/other_user}","gists_url":"https://api.github.com/users/Runners-Plaza/gists{/gist_id}","starred_url":"https://api.github.com/users/Runners-Plaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Runners-Plaza/subscriptions","organizations_url":"https://api.github.com/users/Runners-Plaza/orgs","repos_url":"https://api.github.com/users/Runners-Plaza/repos","events_url":"https://api.github.com/users/Runners-Plaza/events{/privacy}","received_events_url":"https://api.github.com/users/Runners-Plaza/received_events","type":"Organization","site_admin":false},"repo":{"id":147525849,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc1MjU4NDk=","name":"Web","full_name":"Runners-Plaza/Web","owner":{"login":"Runners-Plaza","id":31589034,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTg5MDM0","avatar_url":"https://avatars1.githubusercontent.com/u/31589034?v=4","gravatar_id":"","url":"https://api.github.com/users/Runners-Plaza","html_url":"https://github.com/Runners-Plaza","followers_url":"https://api.github.com/users/Runners-Plaza/followers","following_url":"https://api.github.com/users/Runners-Plaza/following{/other_user}","gists_url":"https://api.github.com/users/Runners-Plaza/gists{/gist_id}","starred_url":"https://api.github.com/users/Runners-Plaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Runners-Plaza/subscriptions","organizations_url":"https://api.github.com/users/Runners-Plaza/orgs","repos_url":"https://api.github.com/users/Runners-Plaza/repos","events_url":"https://api.github.com/users/Runners-Plaza/events{/privacy}","received_events_url":"https://api.github.com/users/Runners-Plaza/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Runners-Plaza/Web","description":"Website of Runners-Plaza","fork":false,"url":"https://api.github.com/repos/Runners-Plaza/Web","forks_url":"https://api.github.com/repos/Runners-Plaza/Web/forks","keys_url":"https://api.github.com/repos/Runners-Plaza/Web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Runners-Plaza/Web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Runners-Plaza/Web/teams","hooks_url":"https://api.github.com/repos/Runners-Plaza/Web/hooks","issue_events_url":"https://api.github.com/repos/Runners-Plaza/Web/issues/events{/number}","events_url":"https://api.github.com/repos/Runners-Plaza/Web/events","assignees_url":"https://api.github.com/repos/Runners-Plaza/Web/assignees{/user}","branches_url":"https://api.github.com/repos/Runners-Plaza/Web/branches{/branch}","tags_url":"https://api.github.com/repos/Runners-Plaza/Web/tags","blobs_url":"https://api.github.com/repos/Runners-Plaza/Web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Runners-Plaza/Web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Runners-Plaza/Web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Runners-Plaza/Web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Runners-Plaza/Web/statuses/{sha}","languages_url":"https://api.github.com/repos/Runners-Plaza/Web/languages","stargazers_url":"https://api.github.com/repos/Runners-Plaza/Web/stargazers","contributors_url":"https://api.github.com/repos/Runners-Plaza/Web/contributors","subscribers_url":"https://api.github.com/repos/Runners-Plaza/Web/subscribers","subscription_url":"https://api.github.com/repos/Runners-Plaza/Web/subscription","commits_url":"https://api.github.com/repos/Runners-Plaza/Web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Runners-Plaza/Web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Runners-Plaza/Web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Runners-Plaza/Web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Runners-Plaza/Web/contents/{+path}","compare_url":"https://api.github.com/repos/Runners-Plaza/Web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Runners-Plaza/Web/merges","archive_url":"https://api.github.com/repos/Runners-Plaza/Web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Runners-Plaza/Web/downloads","issues_url":"https://api.github.com/repos/Runners-Plaza/Web/issues{/number}","pulls_url":"https://api.github.com/repos/Runners-Plaza/Web/pulls{/number}","milestones_url":"https://api.github.com/repos/Runners-Plaza/Web/milestones{/number}","notifications_url":"https://api.github.com/repos/Runners-Plaza/Web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Runners-Plaza/Web/labels{/name}","releases_url":"https://api.github.com/repos/Runners-Plaza/Web/releases{/id}","deployments_url":"https://api.github.com/repos/Runners-Plaza/Web/deployments","created_at":"2018-09-05T13:53:31Z","updated_at":"2018-09-07T22:07:27Z","pushed_at":"2018-09-09T10:38:44Z","git_url":"git://github.com/Runners-Plaza/Web.git","ssh_url":"git@github.com:Runners-Plaza/Web.git","clone_url":"https://github.com/Runners-Plaza/Web.git","svn_url":"https://github.com/Runners-Plaza/Web","homepage":null,"size":83,"stargazers_count":1,"watchers_count":1,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Runners-Plaza/Web/pulls/1"},"html":{"href":"https://github.com/Runners-Plaza/Web/pull/1"},"issue":{"href":"https://api.github.com/repos/Runners-Plaza/Web/issues/1"},"comments":{"href":"https://api.github.com/repos/Runners-Plaza/Web/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Runners-Plaza/Web/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Runners-Plaza/Web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Runners-Plaza/Web/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Runners-Plaza/Web/statuses/c005e6375c43caec38d4a5fa010a61ab319cd554"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"c910335"}}