{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/54425217","id":54425217,"diff_hunk":"@@ -1,43 +1,45 @@\n /**\n  * External dependencies\n  */\n-var ReactDom = require( 'react-dom' ),\n-\tReact = require( 'react' ),\n-\tqs = require( 'qs' ),\n-\tdebounce = require( 'lodash/debounce' ),\n-\tpage = require( 'page' ),\n-\tReduxProvider = require( 'react-redux' ).Provider,\n-\tsetSection = require( 'state/ui/actions' ).setSection,\n-\tEmptyContent = require( 'components/empty-content' );\n+import ReactDom from 'react-dom';\n+import React from 'react';\n+import qs from 'qs';\n+import debounce from 'lodash/debounce';\n+import page from 'page';\n+import { Provider } from 'react-redux';\n+import { setSection } from 'state/ui/actions';","path":"client/devdocs/controller.js","position":18,"original_position":18,"commit_id":"5bbbc879266964c478981e5cf728c96a486ee2cd","original_commit_id":"5bbbc879266964c478981e5cf728c96a486ee2cd","user":{"login":"mtias","id":548849,"avatar_url":"https://avatars.githubusercontent.com/u/548849?v=3","gravatar_id":"","url":"https://api.github.com/users/mtias","html_url":"https://github.com/mtias","followers_url":"https://api.github.com/users/mtias/followers","following_url":"https://api.github.com/users/mtias/following{/other_user}","gists_url":"https://api.github.com/users/mtias/gists{/gist_id}","starred_url":"https://api.github.com/users/mtias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtias/subscriptions","organizations_url":"https://api.github.com/users/mtias/orgs","repos_url":"https://api.github.com/users/mtias/repos","events_url":"https://api.github.com/users/mtias/events{/privacy}","received_events_url":"https://api.github.com/users/mtias/received_events","type":"User","site_admin":false},"body":"Not new, but this one and `EmptyContent` should be in the internal dependencies block.","created_at":"2016-02-29T15:32:47Z","updated_at":"2016-02-29T15:32:47Z","html_url":"https://github.com/Automattic/wp-calypso/pull/3652#discussion_r54425217","pull_request_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3652","_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/54425217"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/3652#discussion_r54425217"},"pull_request":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3652"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3652","id":61034530,"html_url":"https://github.com/Automattic/wp-calypso/pull/3652","diff_url":"https://github.com/Automattic/wp-calypso/pull/3652.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/3652.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/3652","number":3652,"state":"open","locked":false,"title":"DevDocs: Fix the Sidebar to highlight the currently selected menu","user":{"login":"afsheenirani","id":14303849,"avatar_url":"https://avatars.githubusercontent.com/u/14303849?v=3","gravatar_id":"","url":"https://api.github.com/users/afsheenirani","html_url":"https://github.com/afsheenirani","followers_url":"https://api.github.com/users/afsheenirani/followers","following_url":"https://api.github.com/users/afsheenirani/following{/other_user}","gists_url":"https://api.github.com/users/afsheenirani/gists{/gist_id}","starred_url":"https://api.github.com/users/afsheenirani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afsheenirani/subscriptions","organizations_url":"https://api.github.com/users/afsheenirani/orgs","repos_url":"https://api.github.com/users/afsheenirani/repos","events_url":"https://api.github.com/users/afsheenirani/events{/privacy}","received_events_url":"https://api.github.com/users/afsheenirani/received_events","type":"User","site_admin":false},"body":"## Background\r\nThe DevDocs sidebar does not show the sidebar menu item that is currently selected.\r\n\r\n## Testing\r\n1. Launch the [devdocs](http://calypso.localhost:3000/devdocs?) link.\r\n2. Click each menu item to make sure it navigates to the right destination and correctly highlights as being selected.\r\n\r\n - [Search](http://calypso.localhost:3000/devdocs?)\r\n - [The Calypso Guide](http://calypso.localhost:3000/devdocs/docs/guide/index.md)\r\n - [Contributing](http://calypso.localhost:3000/devdocs/CONTRIBUTING.md)\r\n - [UI Components](http://calypso.localhost:3000/devdocs/design)\r\n - [App Components](http://calypso.localhost:3000/devdocs/app-components)\r\n - [Typography](http://calypso.localhost:3000/devdocs/design/typography)\r\n - [Icons](http://calypso.localhost:3000/devdocs/docs/icons.md)\r\n\r\n## Reviewers\r\n@lancewillett @nb \r\n\r\n## Issues\r\nCloses [DevDocs: sidebar navigation should highlight the selected element](https://github.com/Automattic/wp-calypso/issues/1422)","created_at":"2016-02-29T06:37:33Z","updated_at":"2016-02-29T15:32:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bcfcf09bfc6f11cbafc518ab4bfda18f000fd0c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3652/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3652/comments","review_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/3652/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/5bbbc879266964c478981e5cf728c96a486ee2cd","head":{"label":"afsheenirani:add/devdocs-sidebar-selected","ref":"add/devdocs-sidebar-selected","sha":"5bbbc879266964c478981e5cf728c96a486ee2cd","user":{"login":"afsheenirani","id":14303849,"avatar_url":"https://avatars.githubusercontent.com/u/14303849?v=3","gravatar_id":"","url":"https://api.github.com/users/afsheenirani","html_url":"https://github.com/afsheenirani","followers_url":"https://api.github.com/users/afsheenirani/followers","following_url":"https://api.github.com/users/afsheenirani/following{/other_user}","gists_url":"https://api.github.com/users/afsheenirani/gists{/gist_id}","starred_url":"https://api.github.com/users/afsheenirani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afsheenirani/subscriptions","organizations_url":"https://api.github.com/users/afsheenirani/orgs","repos_url":"https://api.github.com/users/afsheenirani/repos","events_url":"https://api.github.com/users/afsheenirani/events{/privacy}","received_events_url":"https://api.github.com/users/afsheenirani/received_events","type":"User","site_admin":false},"repo":{"id":52487474,"name":"wp-calypso","full_name":"afsheenirani/wp-calypso","owner":{"login":"afsheenirani","id":14303849,"avatar_url":"https://avatars.githubusercontent.com/u/14303849?v=3","gravatar_id":"","url":"https://api.github.com/users/afsheenirani","html_url":"https://github.com/afsheenirani","followers_url":"https://api.github.com/users/afsheenirani/followers","following_url":"https://api.github.com/users/afsheenirani/following{/other_user}","gists_url":"https://api.github.com/users/afsheenirani/gists{/gist_id}","starred_url":"https://api.github.com/users/afsheenirani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afsheenirani/subscriptions","organizations_url":"https://api.github.com/users/afsheenirani/orgs","repos_url":"https://api.github.com/users/afsheenirani/repos","events_url":"https://api.github.com/users/afsheenirani/events{/privacy}","received_events_url":"https://api.github.com/users/afsheenirani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/afsheenirani/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":true,"url":"https://api.github.com/repos/afsheenirani/wp-calypso","forks_url":"https://api.github.com/repos/afsheenirani/wp-calypso/forks","keys_url":"https://api.github.com/repos/afsheenirani/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afsheenirani/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afsheenirani/wp-calypso/teams","hooks_url":"https://api.github.com/repos/afsheenirani/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/afsheenirani/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/afsheenirani/wp-calypso/events","assignees_url":"https://api.github.com/repos/afsheenirani/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/afsheenirani/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/afsheenirani/wp-calypso/tags","blobs_url":"https://api.github.com/repos/afsheenirani/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afsheenirani/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afsheenirani/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/afsheenirani/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afsheenirani/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/afsheenirani/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/afsheenirani/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/afsheenirani/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/afsheenirani/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/afsheenirani/wp-calypso/subscription","commits_url":"https://api.github.com/repos/afsheenirani/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/afsheenirani/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/afsheenirani/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/afsheenirani/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/afsheenirani/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/afsheenirani/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afsheenirani/wp-calypso/merges","archive_url":"https://api.github.com/repos/afsheenirani/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afsheenirani/wp-calypso/downloads","issues_url":"https://api.github.com/repos/afsheenirani/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/afsheenirani/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/afsheenirani/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/afsheenirani/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afsheenirani/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/afsheenirani/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/afsheenirani/wp-calypso/deployments","created_at":"2016-02-25T01:31:30Z","updated_at":"2016-02-25T01:31:36Z","pushed_at":"2016-02-29T06:22:24Z","git_url":"git://github.com/afsheenirani/wp-calypso.git","ssh_url":"git@github.com:afsheenirani/wp-calypso.git","clone_url":"https://github.com/afsheenirani/wp-calypso.git","svn_url":"https://github.com/afsheenirani/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":13630,"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":"Automattic:master","ref":"master","sha":"944a5f663636fbb1290f0ae25717895e675f4bec","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2016-02-29T08:49:38Z","pushed_at":"2016-02-29T15:21:00Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":56814,"stargazers_count":6889,"watchers_count":6889,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":798,"mirror_url":null,"open_issues_count":1255,"forks":798,"open_issues":1255,"watchers":6889,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3652"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/3652"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/3652"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/3652/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3652/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3652/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/5bbbc879266964c478981e5cf728c96a486ee2cd"}}}}