{"action":"created","comment":{"url":"https://api.github.com/repos/appnexus/lucid/pulls/comments/68272462","id":68272462,"diff_hunk":"@@ -0,0 +1,221 @@\n+import _ from 'lodash';\n+import React from 'react';\n+import { lucidClassNames } from '../../util/style-helpers';\n+import { createClass, filterTypes, findTypes, omitProps } from '../../util/component-types';\n+import * as reducers from './Sidebar.reducers';\n+import SplitVertical from '../SplitVertical/SplitVertical';\n+import ChevronIcon  from '../Icon/ChevronIcon/ChevronIcon';\n+import GripperVerticalIcon  from '../Icon/GripperVerticalIcon/GripperVerticalIcon';\n+\n+const cx = lucidClassNames.bind('&-Sidebar');\n+\n+const {\n+\tany,\n+\tbool,\n+\tfunc,\n+\tnode,\n+\tnumber,\n+\tstring,\n+\toneOf,\n+\toneOfType,\n+} = React.PropTypes;\n+\n+/**\n+ * {\"categories\": [\"layout\"]}\n+ *\n+ * `Sidebar` renders a collapsible, resizeable side bar panel next to primary content.\n+ */\n+const Sidebar = createClass({\n+\tdisplayName: 'Sidebar',\n+\n+\treducers,\n+\n+\tpropTypes: {\n+\t\t/**\n+\t\t * Appended to the component-specific class names set on the root\n+\t\t * element. Value is run through the `classnames` library.\n+\t\t */\n+\t\tclassName: string,\n+\t\t/**\n+\t\t * Direct children must be types {Sidebar.Primary, Sidebar.Bar, Sidebar.Title}.\n+\t\t * All content is composed as children of these respective elements.\n+\t\t */\n+\t\tchildren: node,\n+\t\t/**\n+\t\t * Sets the starting width of the Bar.\n+\t\t */\n+\t\twidth: oneOfType([number, string]),\n+\t\t/**\n+\t\t * Force the Sidebar to be expanded or collapsed.\n+\t\t */\n+\t\tisExpanded: bool,\n+\t\t/**\n+\t\t * Allows animated expand and collapse behavior.\n+\t\t */\n+\t\tisAnimated: bool,\n+\t\t/**\n+\t\t * Render the Sidebar to the left or right of primary content.\n+\t\t */\n+\t\tposition: oneOf(['left', 'right']),\n+\t\t/**\n+\t\t * Disable user resizing of the Sidebar.\n+\t\t */\n+\t\tisResizeDisabled: bool,\n+\t\t/**\n+\t\t * Set the title of the Sidebar. (alias for `Title` and `Sidebar.Title`)","path":"src/components/Sidebar/Sidebar.jsx","position":65,"original_position":65,"commit_id":"61ea84b2d72d515da43149ac8f09bcc71c0b6edb","original_commit_id":"61ea84b2d72d515da43149ac8f09bcc71c0b6edb","user":{"login":"ogupte","id":1967266,"avatar_url":"https://avatars.githubusercontent.com/u/1967266?v=3","gravatar_id":"","url":"https://api.github.com/users/ogupte","html_url":"https://github.com/ogupte","followers_url":"https://api.github.com/users/ogupte/followers","following_url":"https://api.github.com/users/ogupte/following{/other_user}","gists_url":"https://api.github.com/users/ogupte/gists{/gist_id}","starred_url":"https://api.github.com/users/ogupte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogupte/subscriptions","organizations_url":"https://api.github.com/users/ogupte/orgs","repos_url":"https://api.github.com/users/ogupte/repos","events_url":"https://api.github.com/users/ogupte/events{/privacy}","received_events_url":"https://api.github.com/users/ogupte/received_events","type":"User","site_admin":false},"body":"we haven't done it anywhere else because we never supported alias propNames until recently. I kept the upperCase propName to be in line with our other components, but i actually wanted to encourage consumers to use the prop in this case, which is why i also defined the lowercase propName.","created_at":"2016-06-23T16:58:48Z","updated_at":"2016-06-23T16:58:48Z","html_url":"https://github.com/appnexus/lucid/pull/367#discussion_r68272462","pull_request_url":"https://api.github.com/repos/appnexus/lucid/pulls/367","_links":{"self":{"href":"https://api.github.com/repos/appnexus/lucid/pulls/comments/68272462"},"html":{"href":"https://github.com/appnexus/lucid/pull/367#discussion_r68272462"},"pull_request":{"href":"https://api.github.com/repos/appnexus/lucid/pulls/367"}}},"pull_request":{"url":"https://api.github.com/repos/appnexus/lucid/pulls/367","id":74865462,"html_url":"https://github.com/appnexus/lucid/pull/367","diff_url":"https://github.com/appnexus/lucid/pull/367.diff","patch_url":"https://github.com/appnexus/lucid/pull/367.patch","issue_url":"https://api.github.com/repos/appnexus/lucid/issues/367","number":367,"state":"open","locked":false,"title":"feature/Sidebar","user":{"login":"ogupte","id":1967266,"avatar_url":"https://avatars.githubusercontent.com/u/1967266?v=3","gravatar_id":"","url":"https://api.github.com/users/ogupte","html_url":"https://github.com/ogupte","followers_url":"https://api.github.com/users/ogupte/followers","following_url":"https://api.github.com/users/ogupte/following{/other_user}","gists_url":"https://api.github.com/users/ogupte/gists{/gist_id}","starred_url":"https://api.github.com/users/ogupte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogupte/subscriptions","organizations_url":"https://api.github.com/users/ogupte/orgs","repos_url":"https://api.github.com/users/ogupte/repos","events_url":"https://api.github.com/users/ogupte/events{/privacy}","received_events_url":"https://api.github.com/users/ogupte/received_events","type":"User","site_admin":false},"body":"## PR Checklist\n\n- Manually tested across supported browsers\n  - [x] Chrome\n  - [ ] Firefox\n  - [ ] Safari\n  - [ ] IE11 (Win 7)\n  - [ ] Edge (Win 10)\n- [x] Unit tests written (`common` at minimum)\n- [x] PR has one of the `semver-` labels\n- [ ] Two core team engineer approvals\n- [ ] One core team UX approval\n\nFixes #235","created_at":"2016-06-22T22:01:36Z","updated_at":"2016-06-23T16:58:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"594ea9c0c645a17670db3d5cc8c55267921f3d51","assignee":{"login":"ogupte","id":1967266,"avatar_url":"https://avatars.githubusercontent.com/u/1967266?v=3","gravatar_id":"","url":"https://api.github.com/users/ogupte","html_url":"https://github.com/ogupte","followers_url":"https://api.github.com/users/ogupte/followers","following_url":"https://api.github.com/users/ogupte/following{/other_user}","gists_url":"https://api.github.com/users/ogupte/gists{/gist_id}","starred_url":"https://api.github.com/users/ogupte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogupte/subscriptions","organizations_url":"https://api.github.com/users/ogupte/orgs","repos_url":"https://api.github.com/users/ogupte/repos","events_url":"https://api.github.com/users/ogupte/events{/privacy}","received_events_url":"https://api.github.com/users/ogupte/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/appnexus/lucid/pulls/367/commits","review_comments_url":"https://api.github.com/repos/appnexus/lucid/pulls/367/comments","review_comment_url":"https://api.github.com/repos/appnexus/lucid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appnexus/lucid/issues/367/comments","statuses_url":"https://api.github.com/repos/appnexus/lucid/statuses/61ea84b2d72d515da43149ac8f09bcc71c0b6edb","head":{"label":"appnexus:feature/Sidebar","ref":"feature/Sidebar","sha":"61ea84b2d72d515da43149ac8f09bcc71c0b6edb","user":{"login":"appnexus","id":1664176,"avatar_url":"https://avatars.githubusercontent.com/u/1664176?v=3","gravatar_id":"","url":"https://api.github.com/users/appnexus","html_url":"https://github.com/appnexus","followers_url":"https://api.github.com/users/appnexus/followers","following_url":"https://api.github.com/users/appnexus/following{/other_user}","gists_url":"https://api.github.com/users/appnexus/gists{/gist_id}","starred_url":"https://api.github.com/users/appnexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appnexus/subscriptions","organizations_url":"https://api.github.com/users/appnexus/orgs","repos_url":"https://api.github.com/users/appnexus/repos","events_url":"https://api.github.com/users/appnexus/events{/privacy}","received_events_url":"https://api.github.com/users/appnexus/received_events","type":"Organization","site_admin":false},"repo":{"id":51951143,"name":"lucid","full_name":"appnexus/lucid","owner":{"login":"appnexus","id":1664176,"avatar_url":"https://avatars.githubusercontent.com/u/1664176?v=3","gravatar_id":"","url":"https://api.github.com/users/appnexus","html_url":"https://github.com/appnexus","followers_url":"https://api.github.com/users/appnexus/followers","following_url":"https://api.github.com/users/appnexus/following{/other_user}","gists_url":"https://api.github.com/users/appnexus/gists{/gist_id}","starred_url":"https://api.github.com/users/appnexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appnexus/subscriptions","organizations_url":"https://api.github.com/users/appnexus/orgs","repos_url":"https://api.github.com/users/appnexus/repos","events_url":"https://api.github.com/users/appnexus/events{/privacy}","received_events_url":"https://api.github.com/users/appnexus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appnexus/lucid","description":"A UI component library from AppNexus.","fork":false,"url":"https://api.github.com/repos/appnexus/lucid","forks_url":"https://api.github.com/repos/appnexus/lucid/forks","keys_url":"https://api.github.com/repos/appnexus/lucid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appnexus/lucid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appnexus/lucid/teams","hooks_url":"https://api.github.com/repos/appnexus/lucid/hooks","issue_events_url":"https://api.github.com/repos/appnexus/lucid/issues/events{/number}","events_url":"https://api.github.com/repos/appnexus/lucid/events","assignees_url":"https://api.github.com/repos/appnexus/lucid/assignees{/user}","branches_url":"https://api.github.com/repos/appnexus/lucid/branches{/branch}","tags_url":"https://api.github.com/repos/appnexus/lucid/tags","blobs_url":"https://api.github.com/repos/appnexus/lucid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appnexus/lucid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appnexus/lucid/git/refs{/sha}","trees_url":"https://api.github.com/repos/appnexus/lucid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appnexus/lucid/statuses/{sha}","languages_url":"https://api.github.com/repos/appnexus/lucid/languages","stargazers_url":"https://api.github.com/repos/appnexus/lucid/stargazers","contributors_url":"https://api.github.com/repos/appnexus/lucid/contributors","subscribers_url":"https://api.github.com/repos/appnexus/lucid/subscribers","subscription_url":"https://api.github.com/repos/appnexus/lucid/subscription","commits_url":"https://api.github.com/repos/appnexus/lucid/commits{/sha}","git_commits_url":"https://api.github.com/repos/appnexus/lucid/git/commits{/sha}","comments_url":"https://api.github.com/repos/appnexus/lucid/comments{/number}","issue_comment_url":"https://api.github.com/repos/appnexus/lucid/issues/comments{/number}","contents_url":"https://api.github.com/repos/appnexus/lucid/contents/{+path}","compare_url":"https://api.github.com/repos/appnexus/lucid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appnexus/lucid/merges","archive_url":"https://api.github.com/repos/appnexus/lucid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appnexus/lucid/downloads","issues_url":"https://api.github.com/repos/appnexus/lucid/issues{/number}","pulls_url":"https://api.github.com/repos/appnexus/lucid/pulls{/number}","milestones_url":"https://api.github.com/repos/appnexus/lucid/milestones{/number}","notifications_url":"https://api.github.com/repos/appnexus/lucid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appnexus/lucid/labels{/name}","releases_url":"https://api.github.com/repos/appnexus/lucid/releases{/id}","deployments_url":"https://api.github.com/repos/appnexus/lucid/deployments","created_at":"2016-02-17T19:59:27Z","updated_at":"2016-06-16T13:33:18Z","pushed_at":"2016-06-23T16:58:42Z","git_url":"git://github.com/appnexus/lucid.git","ssh_url":"git@github.com:appnexus/lucid.git","clone_url":"https://github.com/appnexus/lucid.git","svn_url":"https://github.com/appnexus/lucid","homepage":"http://appnexus.github.io/lucid","size":2801,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":47,"forks":13,"open_issues":47,"watchers":28,"default_branch":"master"}},"base":{"label":"appnexus:master","ref":"master","sha":"9459c8684a9f23806140b8b85056349a385a0049","user":{"login":"appnexus","id":1664176,"avatar_url":"https://avatars.githubusercontent.com/u/1664176?v=3","gravatar_id":"","url":"https://api.github.com/users/appnexus","html_url":"https://github.com/appnexus","followers_url":"https://api.github.com/users/appnexus/followers","following_url":"https://api.github.com/users/appnexus/following{/other_user}","gists_url":"https://api.github.com/users/appnexus/gists{/gist_id}","starred_url":"https://api.github.com/users/appnexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appnexus/subscriptions","organizations_url":"https://api.github.com/users/appnexus/orgs","repos_url":"https://api.github.com/users/appnexus/repos","events_url":"https://api.github.com/users/appnexus/events{/privacy}","received_events_url":"https://api.github.com/users/appnexus/received_events","type":"Organization","site_admin":false},"repo":{"id":51951143,"name":"lucid","full_name":"appnexus/lucid","owner":{"login":"appnexus","id":1664176,"avatar_url":"https://avatars.githubusercontent.com/u/1664176?v=3","gravatar_id":"","url":"https://api.github.com/users/appnexus","html_url":"https://github.com/appnexus","followers_url":"https://api.github.com/users/appnexus/followers","following_url":"https://api.github.com/users/appnexus/following{/other_user}","gists_url":"https://api.github.com/users/appnexus/gists{/gist_id}","starred_url":"https://api.github.com/users/appnexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appnexus/subscriptions","organizations_url":"https://api.github.com/users/appnexus/orgs","repos_url":"https://api.github.com/users/appnexus/repos","events_url":"https://api.github.com/users/appnexus/events{/privacy}","received_events_url":"https://api.github.com/users/appnexus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appnexus/lucid","description":"A UI component library from AppNexus.","fork":false,"url":"https://api.github.com/repos/appnexus/lucid","forks_url":"https://api.github.com/repos/appnexus/lucid/forks","keys_url":"https://api.github.com/repos/appnexus/lucid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appnexus/lucid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appnexus/lucid/teams","hooks_url":"https://api.github.com/repos/appnexus/lucid/hooks","issue_events_url":"https://api.github.com/repos/appnexus/lucid/issues/events{/number}","events_url":"https://api.github.com/repos/appnexus/lucid/events","assignees_url":"https://api.github.com/repos/appnexus/lucid/assignees{/user}","branches_url":"https://api.github.com/repos/appnexus/lucid/branches{/branch}","tags_url":"https://api.github.com/repos/appnexus/lucid/tags","blobs_url":"https://api.github.com/repos/appnexus/lucid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appnexus/lucid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appnexus/lucid/git/refs{/sha}","trees_url":"https://api.github.com/repos/appnexus/lucid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appnexus/lucid/statuses/{sha}","languages_url":"https://api.github.com/repos/appnexus/lucid/languages","stargazers_url":"https://api.github.com/repos/appnexus/lucid/stargazers","contributors_url":"https://api.github.com/repos/appnexus/lucid/contributors","subscribers_url":"https://api.github.com/repos/appnexus/lucid/subscribers","subscription_url":"https://api.github.com/repos/appnexus/lucid/subscription","commits_url":"https://api.github.com/repos/appnexus/lucid/commits{/sha}","git_commits_url":"https://api.github.com/repos/appnexus/lucid/git/commits{/sha}","comments_url":"https://api.github.com/repos/appnexus/lucid/comments{/number}","issue_comment_url":"https://api.github.com/repos/appnexus/lucid/issues/comments{/number}","contents_url":"https://api.github.com/repos/appnexus/lucid/contents/{+path}","compare_url":"https://api.github.com/repos/appnexus/lucid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appnexus/lucid/merges","archive_url":"https://api.github.com/repos/appnexus/lucid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appnexus/lucid/downloads","issues_url":"https://api.github.com/repos/appnexus/lucid/issues{/number}","pulls_url":"https://api.github.com/repos/appnexus/lucid/pulls{/number}","milestones_url":"https://api.github.com/repos/appnexus/lucid/milestones{/number}","notifications_url":"https://api.github.com/repos/appnexus/lucid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appnexus/lucid/labels{/name}","releases_url":"https://api.github.com/repos/appnexus/lucid/releases{/id}","deployments_url":"https://api.github.com/repos/appnexus/lucid/deployments","created_at":"2016-02-17T19:59:27Z","updated_at":"2016-06-16T13:33:18Z","pushed_at":"2016-06-23T16:58:42Z","git_url":"git://github.com/appnexus/lucid.git","ssh_url":"git@github.com:appnexus/lucid.git","clone_url":"https://github.com/appnexus/lucid.git","svn_url":"https://github.com/appnexus/lucid","homepage":"http://appnexus.github.io/lucid","size":2801,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":47,"forks":13,"open_issues":47,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appnexus/lucid/pulls/367"},"html":{"href":"https://github.com/appnexus/lucid/pull/367"},"issue":{"href":"https://api.github.com/repos/appnexus/lucid/issues/367"},"comments":{"href":"https://api.github.com/repos/appnexus/lucid/issues/367/comments"},"review_comments":{"href":"https://api.github.com/repos/appnexus/lucid/pulls/367/comments"},"review_comment":{"href":"https://api.github.com/repos/appnexus/lucid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appnexus/lucid/pulls/367/commits"},"statuses":{"href":"https://api.github.com/repos/appnexus/lucid/statuses/61ea84b2d72d515da43149ac8f09bcc71c0b6edb"}}}}
{"actor":{"display_login":"ogupte"}}