{"action":"created","comment":{"url":"https://api.github.com/repos/macropodhq/macropod-components/pulls/comments/36474637","id":36474637,"diff_hunk":"@@ -9,7 +9,61 @@ require('./dropdown.scss');\n module.exports = React.createClass({\n   displayName: 'Dropdown',\n \n+  getDefaultProps() {\n+    return {\n+      label: '',\n+      arrow: false,\n+      overlayShown: false,\n+    };\n+  },\n+\n+  getInitialState() {\n+    return {\n+      open: false,\n+    }\n+  },\n+\n+  changeHandler() {\n+  \tthis.setState({\n+      open: !this.state.open,\n+      overlayShown: !this.state.open,\n+    });\n+  },\n+\n+  inputWrapper() {\n+    return (\n+    \t<Widgets.DropdownList {...this.props} />\n+    );\n+  },\n+\n+  arrowWrapper() {\n+    let layer = null;\n+\n+    if (this.state.overlayShown) {","path":"packages/dropdown/index.jsx","position":34,"original_position":34,"commit_id":"2618b515497fa248739014ab7bf2ace03a6d650f","original_commit_id":"2618b515497fa248739014ab7bf2ace03a6d650f","user":{"login":"ojame","id":2898239,"avatar_url":"https://avatars.githubusercontent.com/u/2898239?v=3","gravatar_id":"","url":"https://api.github.com/users/ojame","html_url":"https://github.com/ojame","followers_url":"https://api.github.com/users/ojame/followers","following_url":"https://api.github.com/users/ojame/following{/other_user}","gists_url":"https://api.github.com/users/ojame/gists{/gist_id}","starred_url":"https://api.github.com/users/ojame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojame/subscriptions","organizations_url":"https://api.github.com/users/ojame/orgs","repos_url":"https://api.github.com/users/ojame/repos","events_url":"https://api.github.com/users/ojame/events{/privacy}","received_events_url":"https://api.github.com/users/ojame/received_events","type":"User","site_admin":false},"body":"overlayShown needs to be in getInitialState, not getDefaultProps","created_at":"2015-08-06T22:36:27Z","updated_at":"2015-08-06T22:36:27Z","html_url":"https://github.com/macropodhq/macropod-components/pull/338#discussion_r36474637","pull_request_url":"https://api.github.com/repos/macropodhq/macropod-components/pulls/338","_links":{"self":{"href":"https://api.github.com/repos/macropodhq/macropod-components/pulls/comments/36474637"},"html":{"href":"https://github.com/macropodhq/macropod-components/pull/338#discussion_r36474637"},"pull_request":{"href":"https://api.github.com/repos/macropodhq/macropod-components/pulls/338"}}},"pull_request":{"url":"https://api.github.com/repos/macropodhq/macropod-components/pulls/338","id":41634632,"html_url":"https://github.com/macropodhq/macropod-components/pull/338","diff_url":"https://github.com/macropodhq/macropod-components/pull/338.diff","patch_url":"https://github.com/macropodhq/macropod-components/pull/338.patch","issue_url":"https://api.github.com/repos/macropodhq/macropod-components/issues/338","number":338,"state":"open","locked":false,"title":"Tasklist filters change","user":{"login":"golpeo","id":375792,"avatar_url":"https://avatars.githubusercontent.com/u/375792?v=3","gravatar_id":"","url":"https://api.github.com/users/golpeo","html_url":"https://github.com/golpeo","followers_url":"https://api.github.com/users/golpeo/followers","following_url":"https://api.github.com/users/golpeo/following{/other_user}","gists_url":"https://api.github.com/users/golpeo/gists{/gist_id}","starred_url":"https://api.github.com/users/golpeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golpeo/subscriptions","organizations_url":"https://api.github.com/users/golpeo/orgs","repos_url":"https://api.github.com/users/golpeo/repos","events_url":"https://api.github.com/users/golpeo/events{/privacy}","received_events_url":"https://api.github.com/users/golpeo/received_events","type":"User","site_admin":false},"body":"Added 2 new components for the taklist filters, dropDownArrow and inputTagArrow that enclose dropdown and multiselect react-widgets.\r\n\r\nThe stack-client branch for this is named the same, comparison/diff with master:\r\n\r\nhttps://github.com/macropodhq/stack-client/compare/master...tasklist-filters-change\r\n\r\n![image](https://cloud.githubusercontent.com/assets/375792/9076176/9a9a1906-3ae4-11e5-926b-9bfe1c51dd71.png)","created_at":"2015-08-05T01:11:23Z","updated_at":"2015-08-06T22:36:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc13f966ec1d5275baebd40be252b11134722c02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/macropodhq/macropod-components/pulls/338/commits","review_comments_url":"https://api.github.com/repos/macropodhq/macropod-components/pulls/338/comments","review_comment_url":"https://api.github.com/repos/macropodhq/macropod-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/macropodhq/macropod-components/issues/338/comments","statuses_url":"https://api.github.com/repos/macropodhq/macropod-components/statuses/2618b515497fa248739014ab7bf2ace03a6d650f","head":{"label":"macropodhq:tasklist-filters-change","ref":"tasklist-filters-change","sha":"2618b515497fa248739014ab7bf2ace03a6d650f","user":{"login":"macropodhq","id":262822,"avatar_url":"https://avatars.githubusercontent.com/u/262822?v=3","gravatar_id":"","url":"https://api.github.com/users/macropodhq","html_url":"https://github.com/macropodhq","followers_url":"https://api.github.com/users/macropodhq/followers","following_url":"https://api.github.com/users/macropodhq/following{/other_user}","gists_url":"https://api.github.com/users/macropodhq/gists{/gist_id}","starred_url":"https://api.github.com/users/macropodhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macropodhq/subscriptions","organizations_url":"https://api.github.com/users/macropodhq/orgs","repos_url":"https://api.github.com/users/macropodhq/repos","events_url":"https://api.github.com/users/macropodhq/events{/privacy}","received_events_url":"https://api.github.com/users/macropodhq/received_events","type":"Organization","site_admin":false},"repo":{"id":23690791,"name":"macropod-components","full_name":"macropodhq/macropod-components","owner":{"login":"macropodhq","id":262822,"avatar_url":"https://avatars.githubusercontent.com/u/262822?v=3","gravatar_id":"","url":"https://api.github.com/users/macropodhq","html_url":"https://github.com/macropodhq","followers_url":"https://api.github.com/users/macropodhq/followers","following_url":"https://api.github.com/users/macropodhq/following{/other_user}","gists_url":"https://api.github.com/users/macropodhq/gists{/gist_id}","starred_url":"https://api.github.com/users/macropodhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macropodhq/subscriptions","organizations_url":"https://api.github.com/users/macropodhq/orgs","repos_url":"https://api.github.com/users/macropodhq/repos","events_url":"https://api.github.com/users/macropodhq/events{/privacy}","received_events_url":"https://api.github.com/users/macropodhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/macropodhq/macropod-components","description":"A library of components that we use at Macropod.","fork":false,"url":"https://api.github.com/repos/macropodhq/macropod-components","forks_url":"https://api.github.com/repos/macropodhq/macropod-components/forks","keys_url":"https://api.github.com/repos/macropodhq/macropod-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/macropodhq/macropod-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/macropodhq/macropod-components/teams","hooks_url":"https://api.github.com/repos/macropodhq/macropod-components/hooks","issue_events_url":"https://api.github.com/repos/macropodhq/macropod-components/issues/events{/number}","events_url":"https://api.github.com/repos/macropodhq/macropod-components/events","assignees_url":"https://api.github.com/repos/macropodhq/macropod-components/assignees{/user}","branches_url":"https://api.github.com/repos/macropodhq/macropod-components/branches{/branch}","tags_url":"https://api.github.com/repos/macropodhq/macropod-components/tags","blobs_url":"https://api.github.com/repos/macropodhq/macropod-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/macropodhq/macropod-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/macropodhq/macropod-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/macropodhq/macropod-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/macropodhq/macropod-components/statuses/{sha}","languages_url":"https://api.github.com/repos/macropodhq/macropod-components/languages","stargazers_url":"https://api.github.com/repos/macropodhq/macropod-components/stargazers","contributors_url":"https://api.github.com/repos/macropodhq/macropod-components/contributors","subscribers_url":"https://api.github.com/repos/macropodhq/macropod-components/subscribers","subscription_url":"https://api.github.com/repos/macropodhq/macropod-components/subscription","commits_url":"https://api.github.com/repos/macropodhq/macropod-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/macropodhq/macropod-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/macropodhq/macropod-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/macropodhq/macropod-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/macropodhq/macropod-components/contents/{+path}","compare_url":"https://api.github.com/repos/macropodhq/macropod-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/macropodhq/macropod-components/merges","archive_url":"https://api.github.com/repos/macropodhq/macropod-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/macropodhq/macropod-components/downloads","issues_url":"https://api.github.com/repos/macropodhq/macropod-components/issues{/number}","pulls_url":"https://api.github.com/repos/macropodhq/macropod-components/pulls{/number}","milestones_url":"https://api.github.com/repos/macropodhq/macropod-components/milestones{/number}","notifications_url":"https://api.github.com/repos/macropodhq/macropod-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/macropodhq/macropod-components/labels{/name}","releases_url":"https://api.github.com/repos/macropodhq/macropod-components/releases{/id}","created_at":"2014-09-05T04:58:27Z","updated_at":"2015-06-25T03:38:41Z","pushed_at":"2015-08-06T07:02:36Z","git_url":"git://github.com/macropodhq/macropod-components.git","ssh_url":"git@github.com:macropodhq/macropod-components.git","clone_url":"https://github.com/macropodhq/macropod-components.git","svn_url":"https://github.com/macropodhq/macropod-components","homepage":"http://macropodhq.github.io/macropod-components/","size":20666,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":5,"default_branch":"master"}},"base":{"label":"macropodhq:master","ref":"master","sha":"7619c50ba8b42c65114a0a63832817e830a43f1d","user":{"login":"macropodhq","id":262822,"avatar_url":"https://avatars.githubusercontent.com/u/262822?v=3","gravatar_id":"","url":"https://api.github.com/users/macropodhq","html_url":"https://github.com/macropodhq","followers_url":"https://api.github.com/users/macropodhq/followers","following_url":"https://api.github.com/users/macropodhq/following{/other_user}","gists_url":"https://api.github.com/users/macropodhq/gists{/gist_id}","starred_url":"https://api.github.com/users/macropodhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macropodhq/subscriptions","organizations_url":"https://api.github.com/users/macropodhq/orgs","repos_url":"https://api.github.com/users/macropodhq/repos","events_url":"https://api.github.com/users/macropodhq/events{/privacy}","received_events_url":"https://api.github.com/users/macropodhq/received_events","type":"Organization","site_admin":false},"repo":{"id":23690791,"name":"macropod-components","full_name":"macropodhq/macropod-components","owner":{"login":"macropodhq","id":262822,"avatar_url":"https://avatars.githubusercontent.com/u/262822?v=3","gravatar_id":"","url":"https://api.github.com/users/macropodhq","html_url":"https://github.com/macropodhq","followers_url":"https://api.github.com/users/macropodhq/followers","following_url":"https://api.github.com/users/macropodhq/following{/other_user}","gists_url":"https://api.github.com/users/macropodhq/gists{/gist_id}","starred_url":"https://api.github.com/users/macropodhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macropodhq/subscriptions","organizations_url":"https://api.github.com/users/macropodhq/orgs","repos_url":"https://api.github.com/users/macropodhq/repos","events_url":"https://api.github.com/users/macropodhq/events{/privacy}","received_events_url":"https://api.github.com/users/macropodhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/macropodhq/macropod-components","description":"A library of components that we use at Macropod.","fork":false,"url":"https://api.github.com/repos/macropodhq/macropod-components","forks_url":"https://api.github.com/repos/macropodhq/macropod-components/forks","keys_url":"https://api.github.com/repos/macropodhq/macropod-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/macropodhq/macropod-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/macropodhq/macropod-components/teams","hooks_url":"https://api.github.com/repos/macropodhq/macropod-components/hooks","issue_events_url":"https://api.github.com/repos/macropodhq/macropod-components/issues/events{/number}","events_url":"https://api.github.com/repos/macropodhq/macropod-components/events","assignees_url":"https://api.github.com/repos/macropodhq/macropod-components/assignees{/user}","branches_url":"https://api.github.com/repos/macropodhq/macropod-components/branches{/branch}","tags_url":"https://api.github.com/repos/macropodhq/macropod-components/tags","blobs_url":"https://api.github.com/repos/macropodhq/macropod-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/macropodhq/macropod-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/macropodhq/macropod-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/macropodhq/macropod-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/macropodhq/macropod-components/statuses/{sha}","languages_url":"https://api.github.com/repos/macropodhq/macropod-components/languages","stargazers_url":"https://api.github.com/repos/macropodhq/macropod-components/stargazers","contributors_url":"https://api.github.com/repos/macropodhq/macropod-components/contributors","subscribers_url":"https://api.github.com/repos/macropodhq/macropod-components/subscribers","subscription_url":"https://api.github.com/repos/macropodhq/macropod-components/subscription","commits_url":"https://api.github.com/repos/macropodhq/macropod-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/macropodhq/macropod-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/macropodhq/macropod-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/macropodhq/macropod-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/macropodhq/macropod-components/contents/{+path}","compare_url":"https://api.github.com/repos/macropodhq/macropod-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/macropodhq/macropod-components/merges","archive_url":"https://api.github.com/repos/macropodhq/macropod-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/macropodhq/macropod-components/downloads","issues_url":"https://api.github.com/repos/macropodhq/macropod-components/issues{/number}","pulls_url":"https://api.github.com/repos/macropodhq/macropod-components/pulls{/number}","milestones_url":"https://api.github.com/repos/macropodhq/macropod-components/milestones{/number}","notifications_url":"https://api.github.com/repos/macropodhq/macropod-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/macropodhq/macropod-components/labels{/name}","releases_url":"https://api.github.com/repos/macropodhq/macropod-components/releases{/id}","created_at":"2014-09-05T04:58:27Z","updated_at":"2015-06-25T03:38:41Z","pushed_at":"2015-08-06T07:02:36Z","git_url":"git://github.com/macropodhq/macropod-components.git","ssh_url":"git@github.com:macropodhq/macropod-components.git","clone_url":"https://github.com/macropodhq/macropod-components.git","svn_url":"https://github.com/macropodhq/macropod-components","homepage":"http://macropodhq.github.io/macropod-components/","size":20666,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/macropodhq/macropod-components/pulls/338"},"html":{"href":"https://github.com/macropodhq/macropod-components/pull/338"},"issue":{"href":"https://api.github.com/repos/macropodhq/macropod-components/issues/338"},"comments":{"href":"https://api.github.com/repos/macropodhq/macropod-components/issues/338/comments"},"review_comments":{"href":"https://api.github.com/repos/macropodhq/macropod-components/pulls/338/comments"},"review_comment":{"href":"https://api.github.com/repos/macropodhq/macropod-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/macropodhq/macropod-components/pulls/338/commits"},"statuses":{"href":"https://api.github.com/repos/macropodhq/macropod-components/statuses/2618b515497fa248739014ab7bf2ace03a6d650f"}}}}