{"action":"created","comment":{"url":"https://api.github.com/repos/odota/ui/pulls/comments/87582488","pull_request_review_id":8190698,"id":87582488,"diff_hunk":"@@ -0,0 +1,100 @@\n+import React from 'react';\n+import Checkbox from 'material-ui/Checkbox';\n+import Visibility from 'material-ui/svg-icons/action/visibility';\n+import VisibilityOff from 'material-ui/svg-icons/action/visibility-off';\n+import { isRadiant, formatSeconds, extractTransitionClasses } from 'utility';\n+import { Row, Col } from 'react-flexbox-grid';\n+// import heroes from 'dotaconstants/json/heroes.json';\n+import { heroTd } from './matchColumns';\n+import { API_HOST } from 'config';\n+import { Fixed, Pure } from 'utility/components';\n+import ReactCSSTransitionGroup from 'react-addons-css-transition-group';\n+import styles from './Match.css';\n+import tableStyle from '../Table/Table.css';\n+\n+import strings from 'lang';\n+import _ from 'lodash/fp';\n+import { findLast } from 'lodash';\n+\n+\n+// a simple functor that will call the correct function depending on value \n+const threshold = _.curry((start, limits, values, value) => {\n+  if (limits.length != values.length) throw \"Limits must be the same as functions.\";","path":"src/components/Match/WardLog.jsx","position":22,"original_position":22,"commit_id":"9e346df311b0d96926383f2461f9f3ca34e0bc78","original_commit_id":"9e346df311b0d96926383f2461f9f3ca34e0bc78","user":{"login":"micaelbergeron","id":991233,"avatar_url":"https://avatars.githubusercontent.com/u/991233?v=3","gravatar_id":"","url":"https://api.github.com/users/micaelbergeron","html_url":"https://github.com/micaelbergeron","followers_url":"https://api.github.com/users/micaelbergeron/followers","following_url":"https://api.github.com/users/micaelbergeron/following{/other_user}","gists_url":"https://api.github.com/users/micaelbergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/micaelbergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaelbergeron/subscriptions","organizations_url":"https://api.github.com/users/micaelbergeron/orgs","repos_url":"https://api.github.com/users/micaelbergeron/repos","events_url":"https://api.github.com/users/micaelbergeron/events{/privacy}","received_events_url":"https://api.github.com/users/micaelbergeron/received_events","type":"User","site_admin":false},"body":"I need to extract this functor in utility","created_at":"2016-11-11T12:42:35Z","updated_at":"2016-11-11T12:42:35Z","html_url":"https://github.com/odota/ui/pull/469#discussion_r87582488","pull_request_url":"https://api.github.com/repos/odota/ui/pulls/469","_links":{"self":{"href":"https://api.github.com/repos/odota/ui/pulls/comments/87582488"},"html":{"href":"https://github.com/odota/ui/pull/469#discussion_r87582488"},"pull_request":{"href":"https://api.github.com/repos/odota/ui/pulls/469"}}},"pull_request":{"url":"https://api.github.com/repos/odota/ui/pulls/469","id":93266370,"html_url":"https://github.com/odota/ui/pull/469","diff_url":"https://github.com/odota/ui/pull/469.diff","patch_url":"https://github.com/odota/ui/pull/469.patch","issue_url":"https://api.github.com/repos/odota/ui/issues/469","number":469,"state":"open","locked":false,"title":"Match vision tab overhaul","user":{"login":"micaelbergeron","id":991233,"avatar_url":"https://avatars.githubusercontent.com/u/991233?v=3","gravatar_id":"","url":"https://api.github.com/users/micaelbergeron","html_url":"https://github.com/micaelbergeron","followers_url":"https://api.github.com/users/micaelbergeron/followers","following_url":"https://api.github.com/users/micaelbergeron/following{/other_user}","gists_url":"https://api.github.com/users/micaelbergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/micaelbergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaelbergeron/subscriptions","organizations_url":"https://api.github.com/users/micaelbergeron/orgs","repos_url":"https://api.github.com/users/micaelbergeron/repos","events_url":"https://api.github.com/users/micaelbergeron/events{/privacy}","received_events_url":"https://api.github.com/users/micaelbergeron/received_events","type":"User","site_admin":false},"body":"This PR addresses #342 and will add a bunch of new features to the Vision Tab, including:\r\n\r\n- Dynamic ward filtering\r\n- Player/Ward type filtering\r\n- Time slider (controls visible wards on the map)\r\n- Ward log \r\n- Counterwarding (require odota/parser#3)\r\n\r\nKeep in mind that this is a work in progress.\r\nI've also refactored certain components while working on this page.\r\n\r\nThere are still refactoring/extracting that needs to be done.\r\n\r\nComments welcome.","created_at":"2016-11-11T01:50:29Z","updated_at":"2016-11-11T12:42:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"micaelbergeron","id":991233,"avatar_url":"https://avatars.githubusercontent.com/u/991233?v=3","gravatar_id":"","url":"https://api.github.com/users/micaelbergeron","html_url":"https://github.com/micaelbergeron","followers_url":"https://api.github.com/users/micaelbergeron/followers","following_url":"https://api.github.com/users/micaelbergeron/following{/other_user}","gists_url":"https://api.github.com/users/micaelbergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/micaelbergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaelbergeron/subscriptions","organizations_url":"https://api.github.com/users/micaelbergeron/orgs","repos_url":"https://api.github.com/users/micaelbergeron/repos","events_url":"https://api.github.com/users/micaelbergeron/events{/privacy}","received_events_url":"https://api.github.com/users/micaelbergeron/received_events","type":"User","site_admin":false},"assignees":[{"login":"micaelbergeron","id":991233,"avatar_url":"https://avatars.githubusercontent.com/u/991233?v=3","gravatar_id":"","url":"https://api.github.com/users/micaelbergeron","html_url":"https://github.com/micaelbergeron","followers_url":"https://api.github.com/users/micaelbergeron/followers","following_url":"https://api.github.com/users/micaelbergeron/following{/other_user}","gists_url":"https://api.github.com/users/micaelbergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/micaelbergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaelbergeron/subscriptions","organizations_url":"https://api.github.com/users/micaelbergeron/orgs","repos_url":"https://api.github.com/users/micaelbergeron/repos","events_url":"https://api.github.com/users/micaelbergeron/events{/privacy}","received_events_url":"https://api.github.com/users/micaelbergeron/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/odota/ui/pulls/469/commits","review_comments_url":"https://api.github.com/repos/odota/ui/pulls/469/comments","review_comment_url":"https://api.github.com/repos/odota/ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odota/ui/issues/469/comments","statuses_url":"https://api.github.com/repos/odota/ui/statuses/9e346df311b0d96926383f2461f9f3ca34e0bc78","head":{"label":"micaelbergeron:own_table","ref":"own_table","sha":"9e346df311b0d96926383f2461f9f3ca34e0bc78","user":{"login":"micaelbergeron","id":991233,"avatar_url":"https://avatars.githubusercontent.com/u/991233?v=3","gravatar_id":"","url":"https://api.github.com/users/micaelbergeron","html_url":"https://github.com/micaelbergeron","followers_url":"https://api.github.com/users/micaelbergeron/followers","following_url":"https://api.github.com/users/micaelbergeron/following{/other_user}","gists_url":"https://api.github.com/users/micaelbergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/micaelbergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaelbergeron/subscriptions","organizations_url":"https://api.github.com/users/micaelbergeron/orgs","repos_url":"https://api.github.com/users/micaelbergeron/repos","events_url":"https://api.github.com/users/micaelbergeron/events{/privacy}","received_events_url":"https://api.github.com/users/micaelbergeron/received_events","type":"User","site_admin":false},"repo":{"id":67627876,"name":"ui","full_name":"micaelbergeron/ui","owner":{"login":"micaelbergeron","id":991233,"avatar_url":"https://avatars.githubusercontent.com/u/991233?v=3","gravatar_id":"","url":"https://api.github.com/users/micaelbergeron","html_url":"https://github.com/micaelbergeron","followers_url":"https://api.github.com/users/micaelbergeron/followers","following_url":"https://api.github.com/users/micaelbergeron/following{/other_user}","gists_url":"https://api.github.com/users/micaelbergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/micaelbergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaelbergeron/subscriptions","organizations_url":"https://api.github.com/users/micaelbergeron/orgs","repos_url":"https://api.github.com/users/micaelbergeron/repos","events_url":"https://api.github.com/users/micaelbergeron/events{/privacy}","received_events_url":"https://api.github.com/users/micaelbergeron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/micaelbergeron/ui","description":"Web UI for Dota data (BETA)","fork":true,"url":"https://api.github.com/repos/micaelbergeron/ui","forks_url":"https://api.github.com/repos/micaelbergeron/ui/forks","keys_url":"https://api.github.com/repos/micaelbergeron/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micaelbergeron/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micaelbergeron/ui/teams","hooks_url":"https://api.github.com/repos/micaelbergeron/ui/hooks","issue_events_url":"https://api.github.com/repos/micaelbergeron/ui/issues/events{/number}","events_url":"https://api.github.com/repos/micaelbergeron/ui/events","assignees_url":"https://api.github.com/repos/micaelbergeron/ui/assignees{/user}","branches_url":"https://api.github.com/repos/micaelbergeron/ui/branches{/branch}","tags_url":"https://api.github.com/repos/micaelbergeron/ui/tags","blobs_url":"https://api.github.com/repos/micaelbergeron/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micaelbergeron/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micaelbergeron/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/micaelbergeron/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micaelbergeron/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/micaelbergeron/ui/languages","stargazers_url":"https://api.github.com/repos/micaelbergeron/ui/stargazers","contributors_url":"https://api.github.com/repos/micaelbergeron/ui/contributors","subscribers_url":"https://api.github.com/repos/micaelbergeron/ui/subscribers","subscription_url":"https://api.github.com/repos/micaelbergeron/ui/subscription","commits_url":"https://api.github.com/repos/micaelbergeron/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/micaelbergeron/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/micaelbergeron/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/micaelbergeron/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/micaelbergeron/ui/contents/{+path}","compare_url":"https://api.github.com/repos/micaelbergeron/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micaelbergeron/ui/merges","archive_url":"https://api.github.com/repos/micaelbergeron/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micaelbergeron/ui/downloads","issues_url":"https://api.github.com/repos/micaelbergeron/ui/issues{/number}","pulls_url":"https://api.github.com/repos/micaelbergeron/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/micaelbergeron/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/micaelbergeron/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micaelbergeron/ui/labels{/name}","releases_url":"https://api.github.com/repos/micaelbergeron/ui/releases{/id}","deployments_url":"https://api.github.com/repos/micaelbergeron/ui/deployments","created_at":"2016-09-07T17:13:39Z","updated_at":"2016-09-07T17:13:40Z","pushed_at":"2016-11-11T01:42:31Z","git_url":"git://github.com/micaelbergeron/ui.git","ssh_url":"git@github.com:micaelbergeron/ui.git","clone_url":"https://github.com/micaelbergeron/ui.git","svn_url":"https://github.com/micaelbergeron/ui","homepage":"http://odota.github.io","size":11990,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"odota:master","ref":"master","sha":"ddad80a9a123a6c76df0554b0ef3c6c8f45db697","user":{"login":"odota","id":10602524,"avatar_url":"https://avatars.githubusercontent.com/u/10602524?v=3","gravatar_id":"","url":"https://api.github.com/users/odota","html_url":"https://github.com/odota","followers_url":"https://api.github.com/users/odota/followers","following_url":"https://api.github.com/users/odota/following{/other_user}","gists_url":"https://api.github.com/users/odota/gists{/gist_id}","starred_url":"https://api.github.com/users/odota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odota/subscriptions","organizations_url":"https://api.github.com/users/odota/orgs","repos_url":"https://api.github.com/users/odota/repos","events_url":"https://api.github.com/users/odota/events{/privacy}","received_events_url":"https://api.github.com/users/odota/received_events","type":"Organization","site_admin":false},"repo":{"id":59816990,"name":"ui","full_name":"odota/ui","owner":{"login":"odota","id":10602524,"avatar_url":"https://avatars.githubusercontent.com/u/10602524?v=3","gravatar_id":"","url":"https://api.github.com/users/odota","html_url":"https://github.com/odota","followers_url":"https://api.github.com/users/odota/followers","following_url":"https://api.github.com/users/odota/following{/other_user}","gists_url":"https://api.github.com/users/odota/gists{/gist_id}","starred_url":"https://api.github.com/users/odota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odota/subscriptions","organizations_url":"https://api.github.com/users/odota/orgs","repos_url":"https://api.github.com/users/odota/repos","events_url":"https://api.github.com/users/odota/events{/privacy}","received_events_url":"https://api.github.com/users/odota/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odota/ui","description":"OpenDota UI: A web interface for viewing Dota 2 data","fork":false,"url":"https://api.github.com/repos/odota/ui","forks_url":"https://api.github.com/repos/odota/ui/forks","keys_url":"https://api.github.com/repos/odota/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odota/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odota/ui/teams","hooks_url":"https://api.github.com/repos/odota/ui/hooks","issue_events_url":"https://api.github.com/repos/odota/ui/issues/events{/number}","events_url":"https://api.github.com/repos/odota/ui/events","assignees_url":"https://api.github.com/repos/odota/ui/assignees{/user}","branches_url":"https://api.github.com/repos/odota/ui/branches{/branch}","tags_url":"https://api.github.com/repos/odota/ui/tags","blobs_url":"https://api.github.com/repos/odota/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odota/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odota/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/odota/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odota/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/odota/ui/languages","stargazers_url":"https://api.github.com/repos/odota/ui/stargazers","contributors_url":"https://api.github.com/repos/odota/ui/contributors","subscribers_url":"https://api.github.com/repos/odota/ui/subscribers","subscription_url":"https://api.github.com/repos/odota/ui/subscription","commits_url":"https://api.github.com/repos/odota/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/odota/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/odota/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/odota/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/odota/ui/contents/{+path}","compare_url":"https://api.github.com/repos/odota/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odota/ui/merges","archive_url":"https://api.github.com/repos/odota/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odota/ui/downloads","issues_url":"https://api.github.com/repos/odota/ui/issues{/number}","pulls_url":"https://api.github.com/repos/odota/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/odota/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/odota/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odota/ui/labels{/name}","releases_url":"https://api.github.com/repos/odota/ui/releases{/id}","deployments_url":"https://api.github.com/repos/odota/ui/deployments","created_at":"2016-05-27T08:06:05Z","updated_at":"2016-11-10T13:51:06Z","pushed_at":"2016-11-11T11:01:37Z","git_url":"git://github.com/odota/ui.git","ssh_url":"git@github.com:odota/ui.git","clone_url":"https://github.com/odota/ui.git","svn_url":"https://github.com/odota/ui","homepage":"http://odota.github.io","size":13725,"stargazers_count":56,"watchers_count":56,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":67,"forks":37,"open_issues":67,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/odota/ui/pulls/469"},"html":{"href":"https://github.com/odota/ui/pull/469"},"issue":{"href":"https://api.github.com/repos/odota/ui/issues/469"},"comments":{"href":"https://api.github.com/repos/odota/ui/issues/469/comments"},"review_comments":{"href":"https://api.github.com/repos/odota/ui/pulls/469/comments"},"review_comment":{"href":"https://api.github.com/repos/odota/ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odota/ui/pulls/469/commits"},"statuses":{"href":"https://api.github.com/repos/odota/ui/statuses/9e346df311b0d96926383f2461f9f3ca34e0bc78"}}}}
{"actor":{"display_login":"micaelbergeron"}}