{"action":"created","comment":{"url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/comments/58320165","id":58320165,"diff_hunk":"@@ -0,0 +1,42 @@\n+import React, { Component } from 'react';\n+import YearSelector from './YearSelector';\n+import { connect } from 'react-redux';\n+import moment from 'moment';\n+\n+class CategoryFilters extends Component {\n+  componentDidMount() {\n+    $('.menu .item').tab();\n+  }\n+\n+  componentDidUpdate() {\n+    $('.menu .item').tab();\n+  }\n+\n+  render() {\n+    const currentYear = moment().year();\n+    let seasonYearTabsContent = [];\n+    for (let year in this.props.football.seasonsByYear) {\n+      const tabContentClassName =\n+        year == currentYear ? 'ui bottom attached active tab segment' : 'ui bottom attached tab segment';","path":"src/client/search/categories/CategoryFilters.js","position":20,"original_position":20,"commit_id":"6e017d2291df044162f2af15725d5d32dbdfaf98","original_commit_id":"6e017d2291df044162f2af15725d5d32dbdfaf98","user":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Expected '===' and instead saw '=='.](https://www.codacy.com/app/winwardo/solid-octo-disco/file/2347805376/issues/source?bid=3148782&fileBranchId=3216747#l20)","created_at":"2016-04-03T23:57:10Z","updated_at":"2016-04-03T23:57:10Z","html_url":"https://github.com/Winwardo/solid-octo-disco/pull/127#discussion_r58320165","pull_request_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/127","_links":{"self":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/comments/58320165"},"html":{"href":"https://github.com/Winwardo/solid-octo-disco/pull/127#discussion_r58320165"},"pull_request":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/127"}}},"pull_request":{"url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/127","id":65084661,"html_url":"https://github.com/Winwardo/solid-octo-disco/pull/127","diff_url":"https://github.com/Winwardo/solid-octo-disco/pull/127.diff","patch_url":"https://github.com/Winwardo/solid-octo-disco/pull/127.patch","issue_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/127","number":127,"state":"open","locked":false,"title":"Category filters components","user":{"login":"VasilyShelkov","id":7474810,"avatar_url":"https://avatars.githubusercontent.com/u/7474810?v=3","gravatar_id":"","url":"https://api.github.com/users/VasilyShelkov","html_url":"https://github.com/VasilyShelkov","followers_url":"https://api.github.com/users/VasilyShelkov/followers","following_url":"https://api.github.com/users/VasilyShelkov/following{/other_user}","gists_url":"https://api.github.com/users/VasilyShelkov/gists{/gist_id}","starred_url":"https://api.github.com/users/VasilyShelkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasilyShelkov/subscriptions","organizations_url":"https://api.github.com/users/VasilyShelkov/orgs","repos_url":"https://api.github.com/users/VasilyShelkov/repos","events_url":"https://api.github.com/users/VasilyShelkov/events{/privacy}","received_events_url":"https://api.github.com/users/VasilyShelkov/received_events","type":"User","site_admin":false},"body":"-Added initial end points for seasons and teams\r\n-Added dumb components and glue to request/retrieve the seasons as well as putting them into working tabular form\r\n\r\nreference #44","created_at":"2016-04-03T23:35:19Z","updated_at":"2016-04-03T23:57:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"995d8e11ab7fa4d1e92aad542262a8f704f9a109","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/127/commits","review_comments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/127/comments","review_comment_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/127/comments","statuses_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/statuses/6e017d2291df044162f2af15725d5d32dbdfaf98","head":{"label":"Winwardo:category-filters-components","ref":"category-filters-components","sha":"6e017d2291df044162f2af15725d5d32dbdfaf98","user":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"repo":{"id":52749606,"name":"solid-octo-disco","full_name":"Winwardo/solid-octo-disco","owner":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Winwardo/solid-octo-disco","description":"Topher and Vasily's Intelligent Web Assignment","fork":false,"url":"https://api.github.com/repos/Winwardo/solid-octo-disco","forks_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/forks","keys_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/teams","hooks_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/hooks","issue_events_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/events{/number}","events_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/events","assignees_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/assignees{/user}","branches_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/branches{/branch}","tags_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/tags","blobs_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/refs{/sha}","trees_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/statuses/{sha}","languages_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/languages","stargazers_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/stargazers","contributors_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/contributors","subscribers_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/subscribers","subscription_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/subscription","commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/commits{/sha}","git_commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/commits{/sha}","comments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/comments{/number}","issue_comment_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/comments{/number}","contents_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/contents/{+path}","compare_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/merges","archive_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/downloads","issues_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues{/number}","pulls_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls{/number}","milestones_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/milestones{/number}","notifications_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/labels{/name}","releases_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/releases{/id}","deployments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/deployments","created_at":"2016-02-28T23:07:39Z","updated_at":"2016-02-28T23:19:43Z","pushed_at":"2016-04-03T23:55:07Z","git_url":"git://github.com/Winwardo/solid-octo-disco.git","ssh_url":"git@github.com:Winwardo/solid-octo-disco.git","clone_url":"https://github.com/Winwardo/solid-octo-disco.git","svn_url":"https://github.com/Winwardo/solid-octo-disco","homepage":null,"size":31904,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":31,"forks":0,"open_issues":31,"watchers":0,"default_branch":"master"}},"base":{"label":"Winwardo:master","ref":"master","sha":"82096f6a892a9a6e91886d3429494006ebaf1865","user":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"repo":{"id":52749606,"name":"solid-octo-disco","full_name":"Winwardo/solid-octo-disco","owner":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Winwardo/solid-octo-disco","description":"Topher and Vasily's Intelligent Web Assignment","fork":false,"url":"https://api.github.com/repos/Winwardo/solid-octo-disco","forks_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/forks","keys_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/teams","hooks_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/hooks","issue_events_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/events{/number}","events_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/events","assignees_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/assignees{/user}","branches_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/branches{/branch}","tags_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/tags","blobs_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/refs{/sha}","trees_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/statuses/{sha}","languages_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/languages","stargazers_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/stargazers","contributors_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/contributors","subscribers_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/subscribers","subscription_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/subscription","commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/commits{/sha}","git_commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/commits{/sha}","comments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/comments{/number}","issue_comment_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/comments{/number}","contents_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/contents/{+path}","compare_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/merges","archive_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/downloads","issues_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues{/number}","pulls_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls{/number}","milestones_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/milestones{/number}","notifications_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/labels{/name}","releases_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/releases{/id}","deployments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/deployments","created_at":"2016-02-28T23:07:39Z","updated_at":"2016-02-28T23:19:43Z","pushed_at":"2016-04-03T23:55:07Z","git_url":"git://github.com/Winwardo/solid-octo-disco.git","ssh_url":"git@github.com:Winwardo/solid-octo-disco.git","clone_url":"https://github.com/Winwardo/solid-octo-disco.git","svn_url":"https://github.com/Winwardo/solid-octo-disco","homepage":null,"size":31904,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":31,"forks":0,"open_issues":31,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/127"},"html":{"href":"https://github.com/Winwardo/solid-octo-disco/pull/127"},"issue":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/127"},"comments":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/statuses/6e017d2291df044162f2af15725d5d32dbdfaf98"}}}}