{"action":"created","issue":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/405","labels_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/405/comments","events_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/405/events","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/405","id":88756149,"number":405,"title":"Feedback icons for geocoded search","user":{"login":"rajadain","id":1430060,"avatar_url":"https://avatars.githubusercontent.com/u/1430060?v=3","gravatar_id":"","url":"https://api.github.com/users/rajadain","html_url":"https://github.com/rajadain","followers_url":"https://api.github.com/users/rajadain/followers","following_url":"https://api.github.com/users/rajadain/following{/other_user}","gists_url":"https://api.github.com/users/rajadain/gists{/gist_id}","starred_url":"https://api.github.com/users/rajadain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajadain/subscriptions","organizations_url":"https://api.github.com/users/rajadain/orgs","repos_url":"https://api.github.com/users/rajadain/repos","events_url":"https://api.github.com/users/rajadain/events{/privacy}","received_events_url":"https://api.github.com/users/rajadain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/labels/in%20review","name":"in review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"kdeloach","id":43062,"avatar_url":"https://avatars.githubusercontent.com/u/43062?v=3","gravatar_id":"","url":"https://api.github.com/users/kdeloach","html_url":"https://github.com/kdeloach","followers_url":"https://api.github.com/users/kdeloach/followers","following_url":"https://api.github.com/users/kdeloach/following{/other_user}","gists_url":"https://api.github.com/users/kdeloach/gists{/gist_id}","starred_url":"https://api.github.com/users/kdeloach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdeloach/subscriptions","organizations_url":"https://api.github.com/users/kdeloach/orgs","repos_url":"https://api.github.com/users/kdeloach/repos","events_url":"https://api.github.com/users/kdeloach/events{/privacy}","received_events_url":"https://api.github.com/users/kdeloach/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-06-16T15:13:56Z","updated_at":"2015-06-16T19:57:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/pulls/405","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/405","diff_url":"https://github.com/WikiWatershed/model-my-watershed/pull/405.diff","patch_url":"https://github.com/WikiWatershed/model-my-watershed/pull/405.patch"},"body":"**Overview**\r\n\r\n * Add icon UI and configuration for various states of search, including\r\n   default, working, empty (no results), and error.\r\n * Tease out `message` from model into view, since its purpose is only\r\n   for presentation and not persistence / API access\r\n * Standardize and consolidate search box state manipulations to a small\r\n   number of `setState____` methods\r\n * Switch from using `emptyView` and `noResultsTmpl` to just the\r\n   `message` box as defined in `searchTmpl`, according to mockups\r\n * Style `message` box according to mockups, make dismiss button reset\r\n   search box state and hide `message` box\r\n * Add `ui-danger` style for errors\r\n\r\n**Screencaps**\r\n\r\nSearching for location with results:\r\n\r\n![search-main](https://cloud.githubusercontent.com/assets/1430060/8186433/45e99bb8-1418-11e5-85fb-03ea4d5007b5.gif)\r\n\r\nSearching for a location without results:\r\n\r\n![search-empty](https://cloud.githubusercontent.com/assets/1430060/8186440/519cdb28-1418-11e5-8fb2-e1f92203cd32.gif)\r\n\r\nError in search:\r\n\r\n![search-error](https://cloud.githubusercontent.com/assets/1430060/8186451/5ddce874-1418-11e5-814e-fd365ab2ceb2.gif)\r\n\r\n\r\n**Testing Instructions**\r\n\r\n * Search for a real location. Click the location. Try selecting a location by pressing Enter while searching.\r\n * Search for a fake location. Ensure you see the \"No results found.\" message\r\n * Disconnect internet and search for a location. Ensure you see the \"Oops! Something went wrong.\" message\r\n\r\n**Acknowledgements**\r\n\r\nThanks to @ctaylo37 for figuring out the Firefox and Safari issue.\r\n\r\nConnects #62 \r\n"},"comment":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/comments/112550874","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/405#issuecomment-112550874","issue_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/405","id":112550874,"user":{"login":"caseypt","id":1042475,"avatar_url":"https://avatars.githubusercontent.com/u/1042475?v=3","gravatar_id":"","url":"https://api.github.com/users/caseypt","html_url":"https://github.com/caseypt","followers_url":"https://api.github.com/users/caseypt/followers","following_url":"https://api.github.com/users/caseypt/following{/other_user}","gists_url":"https://api.github.com/users/caseypt/gists{/gist_id}","starred_url":"https://api.github.com/users/caseypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseypt/subscriptions","organizations_url":"https://api.github.com/users/caseypt/orgs","repos_url":"https://api.github.com/users/caseypt/repos","events_url":"https://api.github.com/users/caseypt/events{/privacy}","received_events_url":"https://api.github.com/users/caseypt/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T19:57:58Z","updated_at":"2015-06-16T19:57:58Z","body":"+1. Tested. Looks good. @ctaylo37 has a [different mock up](https://github.com/WikiWatershed/model-my-watershed/issues/62#issuecomment-112083471) for when you click on a result. I assume you guys discussed it, but just want to make sure."}}