{"action":"created","comment":{"url":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/comments/197672362","pull_request_review_id":131458156,"id":197672362,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzY3MjM2Mg==","diff_hunk":"@@ -42,12 +41,12 @@ export default {\n       return this.loadPosts(done)\n     }, 3000),\n     loadPosts (done) {\n-      const order = get(this.$route, 'meta.order', 'trending')\n-      const tag = get(this.$route, 'params.category', 'utopian-io')\n-      return byOrder(order, { tag, limit: 40 }, last(this.posts))\n+      const order = 'trending'\n+      const tag = this.currentCategory || 'utopian-io'\n+      return byOrder(order, { tag, limit: NUMBER_OF_POSTS }, last(this.posts))","path":"src/pages/project/contributions/contributions.vue","position":40,"original_position":40,"commit_id":"34f36eb5f369c94f12e92f1b495ae9dad117601b","original_commit_id":"34f36eb5f369c94f12e92f1b495ae9dad117601b","user":{"login":"hernandev","id":1143355,"node_id":"MDQ6VXNlcjExNDMzNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1143355?v=4","gravatar_id":"","url":"https://api.github.com/users/hernandev","html_url":"https://github.com/hernandev","followers_url":"https://api.github.com/users/hernandev/followers","following_url":"https://api.github.com/users/hernandev/following{/other_user}","gists_url":"https://api.github.com/users/hernandev/gists{/gist_id}","starred_url":"https://api.github.com/users/hernandev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hernandev/subscriptions","organizations_url":"https://api.github.com/users/hernandev/orgs","repos_url":"https://api.github.com/users/hernandev/repos","events_url":"https://api.github.com/users/hernandev/events{/privacy}","received_events_url":"https://api.github.com/users/hernandev/received_events","type":"User","site_admin":false},"body":"variable naming as UPPER_CASE is not a good choice here, they are usually the standard way of defining process.env variables, and outside JS world, they often indicate CONSTANTS, on the given code in question, none of the cases applies, so it's preferable to choose descriptive names, like `numberOfPostsPerPage` even if longer, they become more natural when reading as if plain English.","created_at":"2018-06-25T03:39:24Z","updated_at":"2018-06-25T03:47:30Z","html_url":"https://github.com/utopian-io/v2.utopian.io/pull/4#discussion_r197672362","pull_request_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/4","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/comments/197672362"},"html":{"href":"https://github.com/utopian-io/v2.utopian.io/pull/4#discussion_r197672362"},"pull_request":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/4","id":196870265,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2ODcwMjY1","html_url":"https://github.com/utopian-io/v2.utopian.io/pull/4","diff_url":"https://github.com/utopian-io/v2.utopian.io/pull/4.diff","patch_url":"https://github.com/utopian-io/v2.utopian.io/pull/4.patch","issue_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues/4","number":4,"state":"open","locked":false,"title":"UT-36 Layout/project","user":{"login":"icaroharry","id":6475893,"node_id":"MDQ6VXNlcjY0NzU4OTM=","avatar_url":"https://avatars0.githubusercontent.com/u/6475893?v=4","gravatar_id":"","url":"https://api.github.com/users/icaroharry","html_url":"https://github.com/icaroharry","followers_url":"https://api.github.com/users/icaroharry/followers","following_url":"https://api.github.com/users/icaroharry/following{/other_user}","gists_url":"https://api.github.com/users/icaroharry/gists{/gist_id}","starred_url":"https://api.github.com/users/icaroharry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icaroharry/subscriptions","organizations_url":"https://api.github.com/users/icaroharry/orgs","repos_url":"https://api.github.com/users/icaroharry/repos","events_url":"https://api.github.com/users/icaroharry/events{/privacy}","received_events_url":"https://api.github.com/users/icaroharry/received_events","type":"User","site_admin":false},"body":"Work in progress: [JIRA issue](https://utopian-io.atlassian.net/secure/RapidBoard.jspa?rapidView=1&projectKey=UT&modal=detail&selectedIssue=UT-36)","created_at":"2018-06-23T00:26:44Z","updated_at":"2018-06-25T03:47:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8fe7c9493677b95bd2e02c93ce23005ac6f0ee5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/4/commits","review_comments_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/4/comments","review_comment_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues/4/comments","statuses_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/statuses/34f36eb5f369c94f12e92f1b495ae9dad117601b","head":{"label":"utopian-io:layout/project","ref":"layout/project","sha":"34f36eb5f369c94f12e92f1b495ae9dad117601b","user":{"login":"utopian-io","id":18612062,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NjEyMDYy","avatar_url":"https://avatars2.githubusercontent.com/u/18612062?v=4","gravatar_id":"","url":"https://api.github.com/users/utopian-io","html_url":"https://github.com/utopian-io","followers_url":"https://api.github.com/users/utopian-io/followers","following_url":"https://api.github.com/users/utopian-io/following{/other_user}","gists_url":"https://api.github.com/users/utopian-io/gists{/gist_id}","starred_url":"https://api.github.com/users/utopian-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utopian-io/subscriptions","organizations_url":"https://api.github.com/users/utopian-io/orgs","repos_url":"https://api.github.com/users/utopian-io/repos","events_url":"https://api.github.com/users/utopian-io/events{/privacy}","received_events_url":"https://api.github.com/users/utopian-io/received_events","type":"Organization","site_admin":false},"repo":{"id":136034748,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMzQ3NDg=","name":"v2.utopian.io","full_name":"utopian-io/v2.utopian.io","owner":{"login":"utopian-io","id":18612062,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NjEyMDYy","avatar_url":"https://avatars2.githubusercontent.com/u/18612062?v=4","gravatar_id":"","url":"https://api.github.com/users/utopian-io","html_url":"https://github.com/utopian-io","followers_url":"https://api.github.com/users/utopian-io/followers","following_url":"https://api.github.com/users/utopian-io/following{/other_user}","gists_url":"https://api.github.com/users/utopian-io/gists{/gist_id}","starred_url":"https://api.github.com/users/utopian-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utopian-io/subscriptions","organizations_url":"https://api.github.com/users/utopian-io/orgs","repos_url":"https://api.github.com/users/utopian-io/repos","events_url":"https://api.github.com/users/utopian-io/events{/privacy}","received_events_url":"https://api.github.com/users/utopian-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/utopian-io/v2.utopian.io","description":"Version 2 Of Utopian.io made with Vue.js and the Quasar Framework","fork":false,"url":"https://api.github.com/repos/utopian-io/v2.utopian.io","forks_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/forks","keys_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/teams","hooks_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/hooks","issue_events_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues/events{/number}","events_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/events","assignees_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/assignees{/user}","branches_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/branches{/branch}","tags_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/tags","blobs_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/statuses/{sha}","languages_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/languages","stargazers_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/stargazers","contributors_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/contributors","subscribers_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/subscribers","subscription_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/subscription","commits_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/contents/{+path}","compare_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/merges","archive_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/downloads","issues_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues{/number}","pulls_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls{/number}","milestones_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/milestones{/number}","notifications_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/labels{/name}","releases_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/releases{/id}","deployments_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/deployments","created_at":"2018-06-04T14:09:59Z","updated_at":"2018-06-24T23:07:37Z","pushed_at":"2018-06-25T00:23:01Z","git_url":"git://github.com/utopian-io/v2.utopian.io.git","ssh_url":"git@github.com:utopian-io/v2.utopian.io.git","clone_url":"https://github.com/utopian-io/v2.utopian.io.git","svn_url":"https://github.com/utopian-io/v2.utopian.io","homepage":null,"size":915,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"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":5,"open_issues":1,"watchers":11,"default_branch":"master"}},"base":{"label":"utopian-io:master","ref":"master","sha":"c12dc4b8289b09a5397bc06078eff23d8299151e","user":{"login":"utopian-io","id":18612062,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NjEyMDYy","avatar_url":"https://avatars2.githubusercontent.com/u/18612062?v=4","gravatar_id":"","url":"https://api.github.com/users/utopian-io","html_url":"https://github.com/utopian-io","followers_url":"https://api.github.com/users/utopian-io/followers","following_url":"https://api.github.com/users/utopian-io/following{/other_user}","gists_url":"https://api.github.com/users/utopian-io/gists{/gist_id}","starred_url":"https://api.github.com/users/utopian-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utopian-io/subscriptions","organizations_url":"https://api.github.com/users/utopian-io/orgs","repos_url":"https://api.github.com/users/utopian-io/repos","events_url":"https://api.github.com/users/utopian-io/events{/privacy}","received_events_url":"https://api.github.com/users/utopian-io/received_events","type":"Organization","site_admin":false},"repo":{"id":136034748,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMzQ3NDg=","name":"v2.utopian.io","full_name":"utopian-io/v2.utopian.io","owner":{"login":"utopian-io","id":18612062,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NjEyMDYy","avatar_url":"https://avatars2.githubusercontent.com/u/18612062?v=4","gravatar_id":"","url":"https://api.github.com/users/utopian-io","html_url":"https://github.com/utopian-io","followers_url":"https://api.github.com/users/utopian-io/followers","following_url":"https://api.github.com/users/utopian-io/following{/other_user}","gists_url":"https://api.github.com/users/utopian-io/gists{/gist_id}","starred_url":"https://api.github.com/users/utopian-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utopian-io/subscriptions","organizations_url":"https://api.github.com/users/utopian-io/orgs","repos_url":"https://api.github.com/users/utopian-io/repos","events_url":"https://api.github.com/users/utopian-io/events{/privacy}","received_events_url":"https://api.github.com/users/utopian-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/utopian-io/v2.utopian.io","description":"Version 2 Of Utopian.io made with Vue.js and the Quasar Framework","fork":false,"url":"https://api.github.com/repos/utopian-io/v2.utopian.io","forks_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/forks","keys_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/teams","hooks_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/hooks","issue_events_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues/events{/number}","events_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/events","assignees_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/assignees{/user}","branches_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/branches{/branch}","tags_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/tags","blobs_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/statuses/{sha}","languages_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/languages","stargazers_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/stargazers","contributors_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/contributors","subscribers_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/subscribers","subscription_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/subscription","commits_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/contents/{+path}","compare_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/merges","archive_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/downloads","issues_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues{/number}","pulls_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls{/number}","milestones_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/milestones{/number}","notifications_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/labels{/name}","releases_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/releases{/id}","deployments_url":"https://api.github.com/repos/utopian-io/v2.utopian.io/deployments","created_at":"2018-06-04T14:09:59Z","updated_at":"2018-06-24T23:07:37Z","pushed_at":"2018-06-25T00:23:01Z","git_url":"git://github.com/utopian-io/v2.utopian.io.git","ssh_url":"git@github.com:utopian-io/v2.utopian.io.git","clone_url":"https://github.com/utopian-io/v2.utopian.io.git","svn_url":"https://github.com/utopian-io/v2.utopian.io","homepage":null,"size":915,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"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":5,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/4"},"html":{"href":"https://github.com/utopian-io/v2.utopian.io/pull/4"},"issue":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues/4"},"comments":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/utopian-io/v2.utopian.io/statuses/34f36eb5f369c94f12e92f1b495ae9dad117601b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hernandev"}}