{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/comments/226857195","pull_request_review_id":166779245,"id":226857195,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjg1NzE5NQ==","diff_hunk":"@@ -0,0 +1,78 @@\n+import React from 'react';\n+import PropTypes from 'prop-types';\n+import AutoComplete from '../AutoComplete';\n+import { noop } from '../../common/helpers';\n+import './form-autocomplete.scss';\n+\n+const FormAutocomplete = ({\n+  controller,\n+  searchQuery,\n+  error,\n+  results,\n+  status,\n+  resetData,\n+  getResults,\n+  initialUpdate,\n+  url,\n+  isDisabled,\n+  data,\n+}) => (\n+  <div className=\"form-group form-autocomplete\">\n+      <label className=\"col-md-2 control-label\" htmlFor=\"search\">Search</label>\n+      <div className=\"col-md-4\">","path":"webpack/assets/javascripts/react_app/components/FormAutocomplete/FormAutocomplete.js","position":22,"original_position":22,"commit_id":"37dcd92f097c3fa616ddc1383846d8186c66c9f9","original_commit_id":"37dcd92f097c3fa616ddc1383846d8186c66c9f9","user":{"login":"ohadlevy","id":20167,"node_id":"MDQ6VXNlcjIwMTY3","avatar_url":"https://avatars1.githubusercontent.com/u/20167?v=4","gravatar_id":"","url":"https://api.github.com/users/ohadlevy","html_url":"https://github.com/ohadlevy","followers_url":"https://api.github.com/users/ohadlevy/followers","following_url":"https://api.github.com/users/ohadlevy/following{/other_user}","gists_url":"https://api.github.com/users/ohadlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/ohadlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohadlevy/subscriptions","organizations_url":"https://api.github.com/users/ohadlevy/orgs","repos_url":"https://api.github.com/users/ohadlevy/repos","events_url":"https://api.github.com/users/ohadlevy/events{/privacy}","received_events_url":"https://api.github.com/users/ohadlevy/received_events","type":"User","site_admin":false},"body":"please use <Col> Component.","created_at":"2018-10-21T10:37:31Z","updated_at":"2018-10-21T10:38:58Z","html_url":"https://github.com/theforeman/foreman/pull/6142#discussion_r226857195","pull_request_url":"https://api.github.com/repos/theforeman/foreman/pulls/6142","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments/226857195"},"html":{"href":"https://github.com/theforeman/foreman/pull/6142#discussion_r226857195"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/6142"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/6142","id":222903525,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyOTAzNTI1","html_url":"https://github.com/theforeman/foreman/pull/6142","diff_url":"https://github.com/theforeman/foreman/pull/6142.diff","patch_url":"https://github.com/theforeman/foreman/pull/6142.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/6142","number":6142,"state":"open","locked":false,"title":"fixes #25205 - replace filters forms autocomplete with React.","user":{"login":"Laviro","id":26363699,"node_id":"MDQ6VXNlcjI2MzYzNjk5","avatar_url":"https://avatars1.githubusercontent.com/u/26363699?v=4","gravatar_id":"","url":"https://api.github.com/users/Laviro","html_url":"https://github.com/Laviro","followers_url":"https://api.github.com/users/Laviro/followers","following_url":"https://api.github.com/users/Laviro/following{/other_user}","gists_url":"https://api.github.com/users/Laviro/gists{/gist_id}","starred_url":"https://api.github.com/users/Laviro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laviro/subscriptions","organizations_url":"https://api.github.com/users/Laviro/orgs","repos_url":"https://api.github.com/users/Laviro/repos","events_url":"https://api.github.com/users/Laviro/events{/privacy}","received_events_url":"https://api.github.com/users/Laviro/received_events","type":"User","site_admin":false},"body":"After the new React SearchBar was introduced,\r\nwe can now replace some AutoComplete implementations.","created_at":"2018-10-15T13:20:14Z","updated_at":"2018-10-21T10:38:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e852f4637676958834941ff3b4bde228879d6b7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":79040160,"node_id":"MDU6TGFiZWw3OTA0MDE2MA==","url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20re-review","name":"Needs re-review","color":"0052cc","default":false},{"id":79040689,"node_id":"MDU6TGFiZWw3OTA0MDY4OQ==","url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20testing","name":"Needs testing","color":"fbca04","default":false},{"id":778856900,"node_id":"MDU6TGFiZWw3Nzg4NTY5MDA=","url":"https://api.github.com/repos/theforeman/foreman/labels/UI","name":"UI","color":"f7f29b","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/6142/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/6142/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/6142/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/37dcd92f097c3fa616ddc1383846d8186c66c9f9","head":{"label":"Laviro:feature/scoped_search","ref":"feature/scoped_search","sha":"37dcd92f097c3fa616ddc1383846d8186c66c9f9","user":{"login":"Laviro","id":26363699,"node_id":"MDQ6VXNlcjI2MzYzNjk5","avatar_url":"https://avatars1.githubusercontent.com/u/26363699?v=4","gravatar_id":"","url":"https://api.github.com/users/Laviro","html_url":"https://github.com/Laviro","followers_url":"https://api.github.com/users/Laviro/followers","following_url":"https://api.github.com/users/Laviro/following{/other_user}","gists_url":"https://api.github.com/users/Laviro/gists{/gist_id}","starred_url":"https://api.github.com/users/Laviro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laviro/subscriptions","organizations_url":"https://api.github.com/users/Laviro/orgs","repos_url":"https://api.github.com/users/Laviro/repos","events_url":"https://api.github.com/users/Laviro/events{/privacy}","received_events_url":"https://api.github.com/users/Laviro/received_events","type":"User","site_admin":false},"repo":{"id":137656469,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc2NTY0Njk=","name":"foreman","full_name":"Laviro/foreman","private":false,"owner":{"login":"Laviro","id":26363699,"node_id":"MDQ6VXNlcjI2MzYzNjk5","avatar_url":"https://avatars1.githubusercontent.com/u/26363699?v=4","gravatar_id":"","url":"https://api.github.com/users/Laviro","html_url":"https://github.com/Laviro","followers_url":"https://api.github.com/users/Laviro/followers","following_url":"https://api.github.com/users/Laviro/following{/other_user}","gists_url":"https://api.github.com/users/Laviro/gists{/gist_id}","starred_url":"https://api.github.com/users/Laviro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laviro/subscriptions","organizations_url":"https://api.github.com/users/Laviro/orgs","repos_url":"https://api.github.com/users/Laviro/repos","events_url":"https://api.github.com/users/Laviro/events{/privacy}","received_events_url":"https://api.github.com/users/Laviro/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Laviro/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/Laviro/foreman","forks_url":"https://api.github.com/repos/Laviro/foreman/forks","keys_url":"https://api.github.com/repos/Laviro/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Laviro/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Laviro/foreman/teams","hooks_url":"https://api.github.com/repos/Laviro/foreman/hooks","issue_events_url":"https://api.github.com/repos/Laviro/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/Laviro/foreman/events","assignees_url":"https://api.github.com/repos/Laviro/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/Laviro/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/Laviro/foreman/tags","blobs_url":"https://api.github.com/repos/Laviro/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Laviro/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Laviro/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/Laviro/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Laviro/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/Laviro/foreman/languages","stargazers_url":"https://api.github.com/repos/Laviro/foreman/stargazers","contributors_url":"https://api.github.com/repos/Laviro/foreman/contributors","subscribers_url":"https://api.github.com/repos/Laviro/foreman/subscribers","subscription_url":"https://api.github.com/repos/Laviro/foreman/subscription","commits_url":"https://api.github.com/repos/Laviro/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/Laviro/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/Laviro/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/Laviro/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/Laviro/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/Laviro/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Laviro/foreman/merges","archive_url":"https://api.github.com/repos/Laviro/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Laviro/foreman/downloads","issues_url":"https://api.github.com/repos/Laviro/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/Laviro/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/Laviro/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/Laviro/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Laviro/foreman/labels{/name}","releases_url":"https://api.github.com/repos/Laviro/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/Laviro/foreman/deployments","created_at":"2018-06-17T13:18:22Z","updated_at":"2018-09-20T08:13:51Z","pushed_at":"2018-10-21T07:26:13Z","git_url":"git://github.com/Laviro/foreman.git","ssh_url":"git@github.com:Laviro/foreman.git","clone_url":"https://github.com/Laviro/foreman.git","svn_url":"https://github.com/Laviro/foreman","homepage":"http://theforeman.org","size":80817,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"c2c05ee7a8eb6a35c6cb7a3416d1ff71085cfb91","user":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"node_id":"MDEwOlJlcG9zaXRvcnkyNTg3NTA=","name":"foreman","full_name":"theforeman/foreman","private":false,"owner":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman/deployments","created_at":"2009-07-23T15:07:00Z","updated_at":"2018-10-21T09:45:54Z","pushed_at":"2018-10-21T09:45:35Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":83419,"stargazers_count":1524,"watchers_count":1524,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":762,"mirror_url":null,"archived":false,"open_issues_count":115,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":762,"open_issues":115,"watchers":1524,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/6142"},"html":{"href":"https://github.com/theforeman/foreman/pull/6142"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/6142"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/6142/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/6142/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/6142/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/37dcd92f097c3fa616ddc1383846d8186c66c9f9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ohadlevy"}}