{"action":"created","issue":{"url":"https://api.github.com/repos/publiclab/plots2/issues/4123","repository_url":"https://api.github.com/repos/publiclab/plots2","labels_url":"https://api.github.com/repos/publiclab/plots2/issues/4123/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/plots2/issues/4123/comments","events_url":"https://api.github.com/repos/publiclab/plots2/issues/4123/events","html_url":"https://github.com/publiclab/plots2/issues/4123","id":387815919,"node_id":"MDU6SXNzdWUzODc4MTU5MTk=","number":4123,"title":"Preserve editable search term in search results page","user":{"login":"jywarren","id":24359,"node_id":"MDQ6VXNlcjI0MzU5","avatar_url":"https://avatars1.githubusercontent.com/u/24359?v=4","gravatar_id":"","url":"https://api.github.com/users/jywarren","html_url":"https://github.com/jywarren","followers_url":"https://api.github.com/users/jywarren/followers","following_url":"https://api.github.com/users/jywarren/following{/other_user}","gists_url":"https://api.github.com/users/jywarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jywarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywarren/subscriptions","organizations_url":"https://api.github.com/users/jywarren/orgs","repos_url":"https://api.github.com/users/jywarren/repos","events_url":"https://api.github.com/users/jywarren/events{/privacy}","received_events_url":"https://api.github.com/users/jywarren/received_events","type":"User","site_admin":false},"labels":[{"id":476192506,"node_id":"MDU6TGFiZWw0NzYxOTI1MDY=","url":"https://api.github.com/repos/publiclab/plots2/labels/HTML","name":"HTML","color":"fbca04","default":false},{"id":42345820,"node_id":"MDU6TGFiZWw0MjM0NTgyMA==","url":"https://api.github.com/repos/publiclab/plots2/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":471889929,"node_id":"MDU6TGFiZWw0NzE4ODk5Mjk=","url":"https://api.github.com/repos/publiclab/plots2/labels/fto-candidate","name":"fto-candidate","color":"bfd4f2","default":false},{"id":1054549385,"node_id":"MDU6TGFiZWwxMDU0NTQ5Mzg1","url":"https://api.github.com/repos/publiclab/plots2/labels/gci-candidate","name":"gci-candidate","color":"16ba8b","default":false},{"id":173349489,"node_id":"MDU6TGFiZWwxNzMzNDk0ODk=","url":"https://api.github.com/repos/publiclab/plots2/labels/help-wanted","name":"help-wanted","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/publiclab/plots2/milestones/11","html_url":"https://github.com/publiclab/plots2/milestone/11","labels_url":"https://api.github.com/repos/publiclab/plots2/milestones/11/labels","id":3040832,"node_id":"MDk6TWlsZXN0b25lMzA0MDgzMg==","number":11,"title":"Search improvements","description":"Planning issue for UI here: #987","creator":{"login":"jywarren","id":24359,"node_id":"MDQ6VXNlcjI0MzU5","avatar_url":"https://avatars1.githubusercontent.com/u/24359?v=4","gravatar_id":"","url":"https://api.github.com/users/jywarren","html_url":"https://github.com/jywarren","followers_url":"https://api.github.com/users/jywarren/followers","following_url":"https://api.github.com/users/jywarren/following{/other_user}","gists_url":"https://api.github.com/users/jywarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jywarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywarren/subscriptions","organizations_url":"https://api.github.com/users/jywarren/orgs","repos_url":"https://api.github.com/users/jywarren/repos","events_url":"https://api.github.com/users/jywarren/events{/privacy}","received_events_url":"https://api.github.com/users/jywarren/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":12,"state":"open","created_at":"2018-01-17T01:14:07Z","updated_at":"2018-12-05T15:41:18Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-12-05T15:40:46Z","updated_at":"2018-12-07T16:14:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Working from a set of issues identified here: https://publiclab.org/questions/warren/10-29-2018/help-us-refine-the-search-interface-at-publiclab-org\r\n\r\nThis is an issue on pages like this, when you complete a search: https://publiclab.org/search/wikis/barnraising+texas\r\n\r\nI noticed that when you get to a search results page, there is nowhere on the page where you still see the search phrase in an editable input box, which would make it much easier to refine the search phrase:\r\n\r\n[![Screenshot_2018-12-05_at_10.33.49_AM.png](https://publiclab.org/i/28099)](https://publiclab.org/i/28099)\r\n\r\nMost search engines will keep the text you originally typed in a search box so editing your search to tweak results is easier: \r\n\r\n[![Screenshot_2018-12-05_at_10.38.00_AM.png](https://publiclab.org/i/28127)](https://publiclab.org/i/28127)\r\n\r\n![image](https://user-images.githubusercontent.com/24359/49524568-03e77880-f87a-11e8-9398-a12d36f5cb9f.png)\r\n\r\n### Code\r\n\r\nThe templates for these search results views are in this folder:\r\n\r\nhttps://github.com/publiclab/plots2/tree/master/app/views/search/\r\n\r\nAnd the search box at the top of the page is here, although perhaps we should make a new box? That's a good UI question - keep displaying text in the existing box or make an in-page box lower down?\r\n\r\nhttps://github.com/publiclab/plots2/blob/26079dbbc10e13ce1e1874b50faac3de1e47f8ea/app/views/layouts/_header.html.erb#L23"},"comment":{"url":"https://api.github.com/repos/publiclab/plots2/issues/comments/445282123","html_url":"https://github.com/publiclab/plots2/issues/4123#issuecomment-445282123","issue_url":"https://api.github.com/repos/publiclab/plots2/issues/4123","id":445282123,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTI4MjEyMw==","user":{"login":"SidharthBansal","id":20972099,"node_id":"MDQ6VXNlcjIwOTcyMDk5","avatar_url":"https://avatars0.githubusercontent.com/u/20972099?v=4","gravatar_id":"","url":"https://api.github.com/users/SidharthBansal","html_url":"https://github.com/SidharthBansal","followers_url":"https://api.github.com/users/SidharthBansal/followers","following_url":"https://api.github.com/users/SidharthBansal/following{/other_user}","gists_url":"https://api.github.com/users/SidharthBansal/gists{/gist_id}","starred_url":"https://api.github.com/users/SidharthBansal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SidharthBansal/subscriptions","organizations_url":"https://api.github.com/users/SidharthBansal/orgs","repos_url":"https://api.github.com/users/SidharthBansal/repos","events_url":"https://api.github.com/users/SidharthBansal/events{/privacy}","received_events_url":"https://api.github.com/users/SidharthBansal/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T16:14:40Z","updated_at":"2018-12-07T16:14:40Z","author_association":"MEMBER","body":"Yeah great work. Can you please claim the task on the gci dashboard so that I can give you rewards.\r\n@jywarren can we know close this issue as @kevinzluo has created first timer for this issue"}}
{"actor":{"display_login":"SidharthBansal"}}