{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls/22","id":129215271,"html_url":"https://github.com/cfpb/ccdb5-ui/pull/22","diff_url":"https://github.com/cfpb/ccdb5-ui/pull/22.diff","patch_url":"https://github.com/cfpb/ccdb5-ui/pull/22.patch","issue_url":"https://api.github.com/repos/cfpb/ccdb5-ui/issues/22","number":22,"state":"closed","locked":false,"title":"Typeahead","user":{"login":"JeffreyMFarley","id":8754176,"avatar_url":"https://avatars1.githubusercontent.com/u/8754176?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffreyMFarley","html_url":"https://github.com/JeffreyMFarley","followers_url":"https://api.github.com/users/JeffreyMFarley/followers","following_url":"https://api.github.com/users/JeffreyMFarley/following{/other_user}","gists_url":"https://api.github.com/users/JeffreyMFarley/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffreyMFarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffreyMFarley/subscriptions","organizations_url":"https://api.github.com/users/JeffreyMFarley/orgs","repos_url":"https://api.github.com/users/JeffreyMFarley/repos","events_url":"https://api.github.com/users/JeffreyMFarley/events{/privacy}","received_events_url":"https://api.github.com/users/JeffreyMFarley/received_events","type":"User","site_admin":false},"body":"Typeahead!\r\n\r\n## Testing\r\n\r\n- Testing remains at 100%\r\n\r\n## Review\r\n\r\n- @sephcoster @kurzn \r\n\r\n## Screenshots\r\n\r\n#### One character typed\r\n![screen shot 2017-07-07 at 4 07 40 pm](https://user-images.githubusercontent.com/8754176/27975102-d52c1aaa-632e-11e7-962c-fd62ce2aceaa.png)\r\n\r\n#### Two characters typed\r\n![screen shot 2017-07-07 at 4 08 01 pm](https://user-images.githubusercontent.com/8754176/27975113-e4adec06-632e-11e7-9dea-84a900bbd7c8.png)\r\n\r\n#### Less than 5 results\r\n![screen shot 2017-07-07 at 4 08 27 pm](https://user-images.githubusercontent.com/8754176/27975135-f8986f20-632e-11e7-900e-bb73b8c2253d.png)\r\n\r\n#### Arrow key selecting an option\r\n![screen shot 2017-07-07 at 4 08 45 pm](https://user-images.githubusercontent.com/8754176/27975153-0c7bc172-632f-11e7-88ec-368cf99bd52b.png)\r\n\r\n#### Arrow key selecting one item, mouse hover over another\r\n![screen shot 2017-07-07 at 4 09 01 pm](https://user-images.githubusercontent.com/8754176/27975164-1b607b6a-632f-11e7-9431-80c40bb9bebe.png)\r\n\r\n#### After the user has selected an option\r\n![screen shot 2017-07-07 at 4 09 18 pm](https://user-images.githubusercontent.com/8754176/27975173-29cf1c92-632f-11e7-980e-4cbf3211705b.png)\r\n\r\n## To Dos (in another PR)\r\n\r\n- [ ] Support for asynchronous callbacks (like when calling the suggest endpoint)\r\n- [ ] Enter and Tab will work differently when the typeahead is used with the search suggester.  Currently, the user _must_ select an option. Free form values are not allowed\r\n- [ ] May need an option to not clear the results after selecting\r\n\r\n## Checklist\r\n\r\n* [x] Changes are limited to a single goal (no scope creep)\r\n* [x] Code can be automatically merged (no conflicts)\r\n* [x] Code follows the standards laid out in the [front end playbook](https://github.com/cfpb/front-end)\r\n* [x] Passes all existing automated tests\r\n* [x] New functions include new tests\r\n* [x] New functions are documented (with a description, list of inputs, and expected output)\r\n* [x] Placeholder code is flagged\r\n* [x] Visually tested in supported browsers and devices\r\n* [ ] Project documentation has been updated (including the \"Unreleased\" section of the CHANGELOG)\r\n","created_at":"2017-07-06T15:31:06Z","updated_at":"2017-07-10T12:52:41Z","closed_at":"2017-07-10T12:52:41Z","merged_at":"2017-07-10T12:52:41Z","merge_commit_sha":"dc42a7963d10167fc34f95d4b389b7bbd12c021b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kurzn","id":10562534,"avatar_url":"https://avatars2.githubusercontent.com/u/10562534?v=3","gravatar_id":"","url":"https://api.github.com/users/kurzn","html_url":"https://github.com/kurzn","followers_url":"https://api.github.com/users/kurzn/followers","following_url":"https://api.github.com/users/kurzn/following{/other_user}","gists_url":"https://api.github.com/users/kurzn/gists{/gist_id}","starred_url":"https://api.github.com/users/kurzn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurzn/subscriptions","organizations_url":"https://api.github.com/users/kurzn/orgs","repos_url":"https://api.github.com/users/kurzn/repos","events_url":"https://api.github.com/users/kurzn/events{/privacy}","received_events_url":"https://api.github.com/users/kurzn/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls/22/commits","review_comments_url":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls/22/comments","review_comment_url":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfpb/ccdb5-ui/issues/22/comments","statuses_url":"https://api.github.com/repos/cfpb/ccdb5-ui/statuses/605a782a01c0da6a9d8e962eef641d6361bd90a1","head":{"label":"JeffreyMFarley:typeahead","ref":"typeahead","sha":"605a782a01c0da6a9d8e962eef641d6361bd90a1","user":{"login":"JeffreyMFarley","id":8754176,"avatar_url":"https://avatars1.githubusercontent.com/u/8754176?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffreyMFarley","html_url":"https://github.com/JeffreyMFarley","followers_url":"https://api.github.com/users/JeffreyMFarley/followers","following_url":"https://api.github.com/users/JeffreyMFarley/following{/other_user}","gists_url":"https://api.github.com/users/JeffreyMFarley/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffreyMFarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffreyMFarley/subscriptions","organizations_url":"https://api.github.com/users/JeffreyMFarley/orgs","repos_url":"https://api.github.com/users/JeffreyMFarley/repos","events_url":"https://api.github.com/users/JeffreyMFarley/events{/privacy}","received_events_url":"https://api.github.com/users/JeffreyMFarley/received_events","type":"User","site_admin":false},"repo":{"id":92427381,"name":"ccdb5-ui","full_name":"JeffreyMFarley/ccdb5-ui","owner":{"login":"JeffreyMFarley","id":8754176,"avatar_url":"https://avatars1.githubusercontent.com/u/8754176?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffreyMFarley","html_url":"https://github.com/JeffreyMFarley","followers_url":"https://api.github.com/users/JeffreyMFarley/followers","following_url":"https://api.github.com/users/JeffreyMFarley/following{/other_user}","gists_url":"https://api.github.com/users/JeffreyMFarley/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffreyMFarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffreyMFarley/subscriptions","organizations_url":"https://api.github.com/users/JeffreyMFarley/orgs","repos_url":"https://api.github.com/users/JeffreyMFarley/repos","events_url":"https://api.github.com/users/JeffreyMFarley/events{/privacy}","received_events_url":"https://api.github.com/users/JeffreyMFarley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JeffreyMFarley/ccdb5-ui","description":null,"fork":true,"url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui","forks_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/forks","keys_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/teams","hooks_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/hooks","issue_events_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/issues/events{/number}","events_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/events","assignees_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/assignees{/user}","branches_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/branches{/branch}","tags_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/tags","blobs_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/languages","stargazers_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/stargazers","contributors_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/contributors","subscribers_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/subscribers","subscription_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/subscription","commits_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/contents/{+path}","compare_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/merges","archive_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/downloads","issues_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/issues{/number}","pulls_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/labels{/name}","releases_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/releases{/id}","deployments_url":"https://api.github.com/repos/JeffreyMFarley/ccdb5-ui/deployments","created_at":"2017-05-25T17:25:53Z","updated_at":"2017-05-31T18:28:53Z","pushed_at":"2017-07-07T20:06:32Z","git_url":"git://github.com/JeffreyMFarley/ccdb5-ui.git","ssh_url":"git@github.com:JeffreyMFarley/ccdb5-ui.git","clone_url":"https://github.com/JeffreyMFarley/ccdb5-ui.git","svn_url":"https://github.com/JeffreyMFarley/ccdb5-ui","homepage":null,"size":1550,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"cfpb:master","ref":"master","sha":"5e7f94050aea69da4a67a8b4622002f835cacec9","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars1.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":92427103,"name":"ccdb5-ui","full_name":"cfpb/ccdb5-ui","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars1.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/ccdb5-ui","description":null,"fork":false,"url":"https://api.github.com/repos/cfpb/ccdb5-ui","forks_url":"https://api.github.com/repos/cfpb/ccdb5-ui/forks","keys_url":"https://api.github.com/repos/cfpb/ccdb5-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/ccdb5-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/ccdb5-ui/teams","hooks_url":"https://api.github.com/repos/cfpb/ccdb5-ui/hooks","issue_events_url":"https://api.github.com/repos/cfpb/ccdb5-ui/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/ccdb5-ui/events","assignees_url":"https://api.github.com/repos/cfpb/ccdb5-ui/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/ccdb5-ui/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/ccdb5-ui/tags","blobs_url":"https://api.github.com/repos/cfpb/ccdb5-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/ccdb5-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/ccdb5-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/ccdb5-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/ccdb5-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/ccdb5-ui/languages","stargazers_url":"https://api.github.com/repos/cfpb/ccdb5-ui/stargazers","contributors_url":"https://api.github.com/repos/cfpb/ccdb5-ui/contributors","subscribers_url":"https://api.github.com/repos/cfpb/ccdb5-ui/subscribers","subscription_url":"https://api.github.com/repos/cfpb/ccdb5-ui/subscription","commits_url":"https://api.github.com/repos/cfpb/ccdb5-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/ccdb5-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/ccdb5-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/ccdb5-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/ccdb5-ui/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/ccdb5-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/ccdb5-ui/merges","archive_url":"https://api.github.com/repos/cfpb/ccdb5-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/ccdb5-ui/downloads","issues_url":"https://api.github.com/repos/cfpb/ccdb5-ui/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/ccdb5-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/ccdb5-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/ccdb5-ui/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/ccdb5-ui/releases{/id}","deployments_url":"https://api.github.com/repos/cfpb/ccdb5-ui/deployments","created_at":"2017-05-25T17:22:23Z","updated_at":"2017-05-31T18:25:20Z","pushed_at":"2017-07-10T12:52:41Z","git_url":"git://github.com/cfpb/ccdb5-ui.git","ssh_url":"git@github.com:cfpb/ccdb5-ui.git","clone_url":"https://github.com/cfpb/ccdb5-ui.git","svn_url":"https://github.com/cfpb/ccdb5-ui","homepage":null,"size":1514,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls/22"},"html":{"href":"https://github.com/cfpb/ccdb5-ui/pull/22"},"issue":{"href":"https://api.github.com/repos/cfpb/ccdb5-ui/issues/22"},"comments":{"href":"https://api.github.com/repos/cfpb/ccdb5-ui/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfpb/ccdb5-ui/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/ccdb5-ui/statuses/605a782a01c0da6a9d8e962eef641d6361bd90a1"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"JeffreyMFarley","id":8754176,"avatar_url":"https://avatars1.githubusercontent.com/u/8754176?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffreyMFarley","html_url":"https://github.com/JeffreyMFarley","followers_url":"https://api.github.com/users/JeffreyMFarley/followers","following_url":"https://api.github.com/users/JeffreyMFarley/following{/other_user}","gists_url":"https://api.github.com/users/JeffreyMFarley/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffreyMFarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffreyMFarley/subscriptions","organizations_url":"https://api.github.com/users/JeffreyMFarley/orgs","repos_url":"https://api.github.com/users/JeffreyMFarley/repos","events_url":"https://api.github.com/users/JeffreyMFarley/events{/privacy}","received_events_url":"https://api.github.com/users/JeffreyMFarley/received_events","type":"User","site_admin":false},"comments":3,"review_comments":5,"maintainer_can_modify":false,"commits":8,"additions":1086,"deletions":54,"changed_files":16}}
{"actor":{"display_login":"JeffreyMFarley"}}