{"action":"created","comment":{"url":"https://api.github.com/repos/Insightpool/orchestra/pulls/comments/74319672","id":74319672,"diff_hunk":"@@ -0,0 +1,138 @@\n+/* global React, document */\n+\n+import classnames from 'classnames';\n+import Chevron from 'icons/Chevron.jsx';\n+\n+class Dropdown extends React.Component {\n+\tstatic propTypes = {\n+\t\tdisabled: React.PropTypes.bool,\n+\t\titems: React.PropTypes.arrayOf(\n+\t\t\tReact.PropTypes.shape({\n+\t\t\t\tlabel: React.PropTypes.string,\n+\t\t\t\tvalue: React.PropTypes.any.isRequired\n+\t\t\t})\n+\t\t),\n+\t\tlabel: React.PropTypes.string,\n+\t\tonChange: React.PropTypes.func,\n+\t\tselected: React.PropTypes.any\n+\t};\n+\n+\tstatic defaultProps = {\n+\t\titems: [],\n+\t\tdisabled: false\n+\t}\n+\n+\tconstructor(props) {\n+\t\tsuper(props);\n+\n+\t\tthis.state = {\n+\t\t\tdropDownVisible: false","path":"src/components/form/Dropdown.jsx","position":29,"original_position":29,"commit_id":"22da1f743a9e64b6005d5608f81b2cc30003b3ad","original_commit_id":"22da1f743a9e64b6005d5608f81b2cc30003b3ad","user":{"login":"sethen","id":1493530,"avatar_url":"https://avatars.githubusercontent.com/u/1493530?v=3","gravatar_id":"","url":"https://api.github.com/users/sethen","html_url":"https://github.com/sethen","followers_url":"https://api.github.com/users/sethen/followers","following_url":"https://api.github.com/users/sethen/following{/other_user}","gists_url":"https://api.github.com/users/sethen/gists{/gist_id}","starred_url":"https://api.github.com/users/sethen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethen/subscriptions","organizations_url":"https://api.github.com/users/sethen/orgs","repos_url":"https://api.github.com/users/sethen/repos","events_url":"https://api.github.com/users/sethen/events{/privacy}","received_events_url":"https://api.github.com/users/sethen/received_events","type":"User","site_admin":false},"body":"Oh, oh, right.  I was thinking that the `onToggle` prop would be used for like doing something when the menu opened.  That's fine.","created_at":"2016-08-10T20:06:07Z","updated_at":"2016-08-10T20:06:07Z","html_url":"https://github.com/Insightpool/orchestra/pull/13#discussion_r74319672","pull_request_url":"https://api.github.com/repos/Insightpool/orchestra/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/Insightpool/orchestra/pulls/comments/74319672"},"html":{"href":"https://github.com/Insightpool/orchestra/pull/13#discussion_r74319672"},"pull_request":{"href":"https://api.github.com/repos/Insightpool/orchestra/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/Insightpool/orchestra/pulls/13","id":80667137,"html_url":"https://github.com/Insightpool/orchestra/pull/13","diff_url":"https://github.com/Insightpool/orchestra/pull/13.diff","patch_url":"https://github.com/Insightpool/orchestra/pull/13.patch","issue_url":"https://api.github.com/repos/Insightpool/orchestra/issues/13","number":13,"state":"open","locked":false,"title":"Add Dropdown Component","user":{"login":"colbydehart","id":5997481,"avatar_url":"https://avatars.githubusercontent.com/u/5997481?v=3","gravatar_id":"","url":"https://api.github.com/users/colbydehart","html_url":"https://github.com/colbydehart","followers_url":"https://api.github.com/users/colbydehart/followers","following_url":"https://api.github.com/users/colbydehart/following{/other_user}","gists_url":"https://api.github.com/users/colbydehart/gists{/gist_id}","starred_url":"https://api.github.com/users/colbydehart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colbydehart/subscriptions","organizations_url":"https://api.github.com/users/colbydehart/orgs","repos_url":"https://api.github.com/users/colbydehart/repos","events_url":"https://api.github.com/users/colbydehart/events{/privacy}","received_events_url":"https://api.github.com/users/colbydehart/received_events","type":"User","site_admin":false},"body":"This DropDown component is based off of the `DropDown` component in the `dumb/ui` in the client application at https://github.com/colbydehart/insightpool-client/blob/development/app/js/components/dumb/ui/DropDown.jsx \r\n\r\nThe only major change I made property-wise is removing the `dropDownVisible` and the `onToggle` properties. I figured that `<select>` components already manage whether the list is visible or not and we could take this out of redux state to simplify things, but if you think this should stay in I can easily add it back, not a big deal. ","created_at":"2016-08-09T18:07:16Z","updated_at":"2016-08-10T20:06:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1aab2397d9d7b86df8ae5ac1b5b7c514a1bf32bb","assignee":{"login":"sethen","id":1493530,"avatar_url":"https://avatars.githubusercontent.com/u/1493530?v=3","gravatar_id":"","url":"https://api.github.com/users/sethen","html_url":"https://github.com/sethen","followers_url":"https://api.github.com/users/sethen/followers","following_url":"https://api.github.com/users/sethen/following{/other_user}","gists_url":"https://api.github.com/users/sethen/gists{/gist_id}","starred_url":"https://api.github.com/users/sethen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethen/subscriptions","organizations_url":"https://api.github.com/users/sethen/orgs","repos_url":"https://api.github.com/users/sethen/repos","events_url":"https://api.github.com/users/sethen/events{/privacy}","received_events_url":"https://api.github.com/users/sethen/received_events","type":"User","site_admin":false},"assignees":[{"login":"sethen","id":1493530,"avatar_url":"https://avatars.githubusercontent.com/u/1493530?v=3","gravatar_id":"","url":"https://api.github.com/users/sethen","html_url":"https://github.com/sethen","followers_url":"https://api.github.com/users/sethen/followers","following_url":"https://api.github.com/users/sethen/following{/other_user}","gists_url":"https://api.github.com/users/sethen/gists{/gist_id}","starred_url":"https://api.github.com/users/sethen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethen/subscriptions","organizations_url":"https://api.github.com/users/sethen/orgs","repos_url":"https://api.github.com/users/sethen/repos","events_url":"https://api.github.com/users/sethen/events{/privacy}","received_events_url":"https://api.github.com/users/sethen/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Insightpool/orchestra/pulls/13/commits","review_comments_url":"https://api.github.com/repos/Insightpool/orchestra/pulls/13/comments","review_comment_url":"https://api.github.com/repos/Insightpool/orchestra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Insightpool/orchestra/issues/13/comments","statuses_url":"https://api.github.com/repos/Insightpool/orchestra/statuses/22da1f743a9e64b6005d5608f81b2cc30003b3ad","head":{"label":"colbydehart:master","ref":"master","sha":"22da1f743a9e64b6005d5608f81b2cc30003b3ad","user":{"login":"colbydehart","id":5997481,"avatar_url":"https://avatars.githubusercontent.com/u/5997481?v=3","gravatar_id":"","url":"https://api.github.com/users/colbydehart","html_url":"https://github.com/colbydehart","followers_url":"https://api.github.com/users/colbydehart/followers","following_url":"https://api.github.com/users/colbydehart/following{/other_user}","gists_url":"https://api.github.com/users/colbydehart/gists{/gist_id}","starred_url":"https://api.github.com/users/colbydehart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colbydehart/subscriptions","organizations_url":"https://api.github.com/users/colbydehart/orgs","repos_url":"https://api.github.com/users/colbydehart/repos","events_url":"https://api.github.com/users/colbydehart/events{/privacy}","received_events_url":"https://api.github.com/users/colbydehart/received_events","type":"User","site_admin":false},"repo":{"id":63901712,"name":"orchestra","full_name":"colbydehart/orchestra","owner":{"login":"colbydehart","id":5997481,"avatar_url":"https://avatars.githubusercontent.com/u/5997481?v=3","gravatar_id":"","url":"https://api.github.com/users/colbydehart","html_url":"https://github.com/colbydehart","followers_url":"https://api.github.com/users/colbydehart/followers","following_url":"https://api.github.com/users/colbydehart/following{/other_user}","gists_url":"https://api.github.com/users/colbydehart/gists{/gist_id}","starred_url":"https://api.github.com/users/colbydehart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colbydehart/subscriptions","organizations_url":"https://api.github.com/users/colbydehart/orgs","repos_url":"https://api.github.com/users/colbydehart/repos","events_url":"https://api.github.com/users/colbydehart/events{/privacy}","received_events_url":"https://api.github.com/users/colbydehart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colbydehart/orchestra","description":"Insightpool's official UI kit","fork":true,"url":"https://api.github.com/repos/colbydehart/orchestra","forks_url":"https://api.github.com/repos/colbydehart/orchestra/forks","keys_url":"https://api.github.com/repos/colbydehart/orchestra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colbydehart/orchestra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colbydehart/orchestra/teams","hooks_url":"https://api.github.com/repos/colbydehart/orchestra/hooks","issue_events_url":"https://api.github.com/repos/colbydehart/orchestra/issues/events{/number}","events_url":"https://api.github.com/repos/colbydehart/orchestra/events","assignees_url":"https://api.github.com/repos/colbydehart/orchestra/assignees{/user}","branches_url":"https://api.github.com/repos/colbydehart/orchestra/branches{/branch}","tags_url":"https://api.github.com/repos/colbydehart/orchestra/tags","blobs_url":"https://api.github.com/repos/colbydehart/orchestra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colbydehart/orchestra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colbydehart/orchestra/git/refs{/sha}","trees_url":"https://api.github.com/repos/colbydehart/orchestra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colbydehart/orchestra/statuses/{sha}","languages_url":"https://api.github.com/repos/colbydehart/orchestra/languages","stargazers_url":"https://api.github.com/repos/colbydehart/orchestra/stargazers","contributors_url":"https://api.github.com/repos/colbydehart/orchestra/contributors","subscribers_url":"https://api.github.com/repos/colbydehart/orchestra/subscribers","subscription_url":"https://api.github.com/repos/colbydehart/orchestra/subscription","commits_url":"https://api.github.com/repos/colbydehart/orchestra/commits{/sha}","git_commits_url":"https://api.github.com/repos/colbydehart/orchestra/git/commits{/sha}","comments_url":"https://api.github.com/repos/colbydehart/orchestra/comments{/number}","issue_comment_url":"https://api.github.com/repos/colbydehart/orchestra/issues/comments{/number}","contents_url":"https://api.github.com/repos/colbydehart/orchestra/contents/{+path}","compare_url":"https://api.github.com/repos/colbydehart/orchestra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colbydehart/orchestra/merges","archive_url":"https://api.github.com/repos/colbydehart/orchestra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colbydehart/orchestra/downloads","issues_url":"https://api.github.com/repos/colbydehart/orchestra/issues{/number}","pulls_url":"https://api.github.com/repos/colbydehart/orchestra/pulls{/number}","milestones_url":"https://api.github.com/repos/colbydehart/orchestra/milestones{/number}","notifications_url":"https://api.github.com/repos/colbydehart/orchestra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colbydehart/orchestra/labels{/name}","releases_url":"https://api.github.com/repos/colbydehart/orchestra/releases{/id}","deployments_url":"https://api.github.com/repos/colbydehart/orchestra/deployments","created_at":"2016-07-21T20:53:41Z","updated_at":"2016-07-21T20:53:42Z","pushed_at":"2016-08-10T18:24:23Z","git_url":"git://github.com/colbydehart/orchestra.git","ssh_url":"git@github.com:colbydehart/orchestra.git","clone_url":"https://github.com/colbydehart/orchestra.git","svn_url":"https://github.com/colbydehart/orchestra","homepage":"","size":19488,"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":"Insightpool:master","ref":"master","sha":"04177ed17f3f13ba480311a97a95e2d6d0caf8fd","user":{"login":"Insightpool","id":2676266,"avatar_url":"https://avatars.githubusercontent.com/u/2676266?v=3","gravatar_id":"","url":"https://api.github.com/users/Insightpool","html_url":"https://github.com/Insightpool","followers_url":"https://api.github.com/users/Insightpool/followers","following_url":"https://api.github.com/users/Insightpool/following{/other_user}","gists_url":"https://api.github.com/users/Insightpool/gists{/gist_id}","starred_url":"https://api.github.com/users/Insightpool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insightpool/subscriptions","organizations_url":"https://api.github.com/users/Insightpool/orgs","repos_url":"https://api.github.com/users/Insightpool/repos","events_url":"https://api.github.com/users/Insightpool/events{/privacy}","received_events_url":"https://api.github.com/users/Insightpool/received_events","type":"Organization","site_admin":false},"repo":{"id":56899648,"name":"orchestra","full_name":"Insightpool/orchestra","owner":{"login":"Insightpool","id":2676266,"avatar_url":"https://avatars.githubusercontent.com/u/2676266?v=3","gravatar_id":"","url":"https://api.github.com/users/Insightpool","html_url":"https://github.com/Insightpool","followers_url":"https://api.github.com/users/Insightpool/followers","following_url":"https://api.github.com/users/Insightpool/following{/other_user}","gists_url":"https://api.github.com/users/Insightpool/gists{/gist_id}","starred_url":"https://api.github.com/users/Insightpool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insightpool/subscriptions","organizations_url":"https://api.github.com/users/Insightpool/orgs","repos_url":"https://api.github.com/users/Insightpool/repos","events_url":"https://api.github.com/users/Insightpool/events{/privacy}","received_events_url":"https://api.github.com/users/Insightpool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Insightpool/orchestra","description":"Insightpool's official UI kit","fork":false,"url":"https://api.github.com/repos/Insightpool/orchestra","forks_url":"https://api.github.com/repos/Insightpool/orchestra/forks","keys_url":"https://api.github.com/repos/Insightpool/orchestra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Insightpool/orchestra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Insightpool/orchestra/teams","hooks_url":"https://api.github.com/repos/Insightpool/orchestra/hooks","issue_events_url":"https://api.github.com/repos/Insightpool/orchestra/issues/events{/number}","events_url":"https://api.github.com/repos/Insightpool/orchestra/events","assignees_url":"https://api.github.com/repos/Insightpool/orchestra/assignees{/user}","branches_url":"https://api.github.com/repos/Insightpool/orchestra/branches{/branch}","tags_url":"https://api.github.com/repos/Insightpool/orchestra/tags","blobs_url":"https://api.github.com/repos/Insightpool/orchestra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Insightpool/orchestra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Insightpool/orchestra/git/refs{/sha}","trees_url":"https://api.github.com/repos/Insightpool/orchestra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Insightpool/orchestra/statuses/{sha}","languages_url":"https://api.github.com/repos/Insightpool/orchestra/languages","stargazers_url":"https://api.github.com/repos/Insightpool/orchestra/stargazers","contributors_url":"https://api.github.com/repos/Insightpool/orchestra/contributors","subscribers_url":"https://api.github.com/repos/Insightpool/orchestra/subscribers","subscription_url":"https://api.github.com/repos/Insightpool/orchestra/subscription","commits_url":"https://api.github.com/repos/Insightpool/orchestra/commits{/sha}","git_commits_url":"https://api.github.com/repos/Insightpool/orchestra/git/commits{/sha}","comments_url":"https://api.github.com/repos/Insightpool/orchestra/comments{/number}","issue_comment_url":"https://api.github.com/repos/Insightpool/orchestra/issues/comments{/number}","contents_url":"https://api.github.com/repos/Insightpool/orchestra/contents/{+path}","compare_url":"https://api.github.com/repos/Insightpool/orchestra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Insightpool/orchestra/merges","archive_url":"https://api.github.com/repos/Insightpool/orchestra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Insightpool/orchestra/downloads","issues_url":"https://api.github.com/repos/Insightpool/orchestra/issues{/number}","pulls_url":"https://api.github.com/repos/Insightpool/orchestra/pulls{/number}","milestones_url":"https://api.github.com/repos/Insightpool/orchestra/milestones{/number}","notifications_url":"https://api.github.com/repos/Insightpool/orchestra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Insightpool/orchestra/labels{/name}","releases_url":"https://api.github.com/repos/Insightpool/orchestra/releases{/id}","deployments_url":"https://api.github.com/repos/Insightpool/orchestra/deployments","created_at":"2016-04-23T04:05:34Z","updated_at":"2016-04-25T22:54:34Z","pushed_at":"2016-08-10T18:24:24Z","git_url":"git://github.com/Insightpool/orchestra.git","ssh_url":"git@github.com:Insightpool/orchestra.git","clone_url":"https://github.com/Insightpool/orchestra.git","svn_url":"https://github.com/Insightpool/orchestra","homepage":"","size":19491,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Insightpool/orchestra/pulls/13"},"html":{"href":"https://github.com/Insightpool/orchestra/pull/13"},"issue":{"href":"https://api.github.com/repos/Insightpool/orchestra/issues/13"},"comments":{"href":"https://api.github.com/repos/Insightpool/orchestra/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/Insightpool/orchestra/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/Insightpool/orchestra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Insightpool/orchestra/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/Insightpool/orchestra/statuses/22da1f743a9e64b6005d5608f81b2cc30003b3ad"}}}}
{"actor":{"display_login":"sethen"}}