{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8694","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8694/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8694/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8694/events","html_url":"https://github.com/Automattic/wp-calypso/pull/8694","id":182641257,"number":8694,"title":"Components: Resolve warnings logged from AuthorSelector component","user":{"login":"aduth","id":1779930,"avatar_url":"https://avatars.githubusercontent.com/u/1779930?v=3","gravatar_id":"","url":"https://api.github.com/users/aduth","html_url":"https://github.com/aduth","followers_url":"https://api.github.com/users/aduth/followers","following_url":"https://api.github.com/users/aduth/following{/other_user}","gists_url":"https://api.github.com/users/aduth/gists{/gist_id}","starred_url":"https://api.github.com/users/aduth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aduth/subscriptions","organizations_url":"https://api.github.com/users/aduth/orgs","repos_url":"https://api.github.com/users/aduth/repos","events_url":"https://api.github.com/users/aduth/events{/privacy}","received_events_url":"https://api.github.com/users/aduth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Components","name":"Components","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Editor","name":"Editor","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Ready%20to%20Merge","name":"[Status] Ready to Merge","color":"d4fb79"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Janitorial","name":"[Type] Janitorial","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-12T21:40:25Z","updated_at":"2016-10-20T18:14:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8694","html_url":"https://github.com/Automattic/wp-calypso/pull/8694","diff_url":"https://github.com/Automattic/wp-calypso/pull/8694.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/8694.patch"},"body":"Related: #7413\r\n\r\nThis pull request seeks to resolve warnings logged to the console when the AuthorSelector component is rendered.\r\n\r\n![Warnings](https://cloud.githubusercontent.com/assets/1779930/19328697/ea4fc440-90a2-11e6-8ebc-50fbc09b9a32.png)\r\n\r\nSpecifically, it resolves:\r\n\r\n- An unknown `namespace` prop being passed to a rendered `div` element, per #7413 \r\n- Refs being assigned to a stateless function component (used by the `<InfiniteList />` component)\r\n\r\nThe `<PopoverMenuItem />` component was refactored into a stateless function component in #7866, but unfortunately stateless function components cannot be assigned refs. A `ref` is for items rendered in an `<InfiniteList />` is necessary to be able to calculate its bounds for rendering. Therefore, the changes here rewrite `<PopoverMenuItem />` to a `Component` class. In the future, we may consider dropping `<InfiniteList />` in favor of `<ReactVirtualized />`, used elsewhere for infinite scrolling.\r\n\r\n__Testing Instructions:__\r\n\r\nVerify that there are no regressions in the display and behavior of the `<AuthorSelector />` component. Notably, you'll find this on the post editor when there are multiple users for a site.\r\n\r\ncc @retrofox @hoverduck "},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/255184931","html_url":"https://github.com/Automattic/wp-calypso/pull/8694#issuecomment-255184931","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8694","id":255184931,"user":{"login":"hoverduck","id":7233112,"avatar_url":"https://avatars.githubusercontent.com/u/7233112?v=3","gravatar_id":"","url":"https://api.github.com/users/hoverduck","html_url":"https://github.com/hoverduck","followers_url":"https://api.github.com/users/hoverduck/followers","following_url":"https://api.github.com/users/hoverduck/following{/other_user}","gists_url":"https://api.github.com/users/hoverduck/gists{/gist_id}","starred_url":"https://api.github.com/users/hoverduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoverduck/subscriptions","organizations_url":"https://api.github.com/users/hoverduck/orgs","repos_url":"https://api.github.com/users/hoverduck/repos","events_url":"https://api.github.com/users/hoverduck/events{/privacy}","received_events_url":"https://api.github.com/users/hoverduck/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T18:14:26Z","updated_at":"2016-10-20T18:14:26Z","body":"Looks good to me...Checked in devdocs and post editor, didn't see any problems with rendering or functionality"}}
{"actor":{"display_login":"hoverduck"}}