{"action":"created","issue":{"url":"https://api.github.com/repos/TailorDev/franklin/issues/32","repository_url":"https://api.github.com/repos/TailorDev/franklin","labels_url":"https://api.github.com/repos/TailorDev/franklin/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/TailorDev/franklin/issues/32/comments","events_url":"https://api.github.com/repos/TailorDev/franklin/issues/32/events","html_url":"https://github.com/TailorDev/franklin/issues/32","id":159106501,"number":32,"title":"Add a 'Clear selection' button","user":{"login":"jmaupetit","id":956157,"avatar_url":"https://avatars.githubusercontent.com/u/956157?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaupetit","html_url":"https://github.com/jmaupetit","followers_url":"https://api.github.com/users/jmaupetit/followers","following_url":"https://api.github.com/users/jmaupetit/following{/other_user}","gists_url":"https://api.github.com/users/jmaupetit/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaupetit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaupetit/subscriptions","organizations_url":"https://api.github.com/users/jmaupetit/orgs","repos_url":"https://api.github.com/users/jmaupetit/repos","events_url":"https://api.github.com/users/jmaupetit/events{/privacy}","received_events_url":"https://api.github.com/users/jmaupetit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TailorDev/franklin/labels/easy%20pick","name":"easy pick","color":"0e8a16"},{"url":"https://api.github.com/repos/TailorDev/franklin/labels/hacktoberfest","name":"hacktoberfest","color":"FFA500"},{"url":"https://api.github.com/repos/TailorDev/franklin/labels/improvement","name":"improvement","color":"9900ff"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-08T08:26:33Z","updated_at":"2016-10-03T09:34:30Z","closed_at":null,"body":"## Purpose\r\n\r\nRight now, it is possible to \"clear\" a selection by using <kbd>esc</kbd> or by double clicking on the same nucleotide (a letter), but we need to be able to easily clear the current selection with a button on the interface. \r\n\r\n## Proposal\r\n\r\nLet's add a `Clear current selection` sentence (with a nice \"cross\" icon) below the search bar. This sentence should be a **link**. When we click on the link, it should trigger the \"clear selection\" event (similar to [this](https://github.com/TailorDev/franklin/blob/0370dc12a5753754db0e243408325dcb728b678b/app/components/App.jsx#L57)). This link should only be displayed when there is a selection (or at least, it should be disabled).\r\n\r\n![screen shot 2016-09-29 at 15 34 19](https://cloud.githubusercontent.com/assets/217628/18956112/85c831b2-865a-11e6-9311-9ed9c049db00.png)\r\n\r\n---\r\nUpdated by @willdurand on 2016-09-29."},"comment":{"url":"https://api.github.com/repos/TailorDev/franklin/issues/comments/251064495","html_url":"https://github.com/TailorDev/franklin/issues/32#issuecomment-251064495","issue_url":"https://api.github.com/repos/TailorDev/franklin/issues/32","id":251064495,"user":{"login":"lodelestra","id":10141712,"avatar_url":"https://avatars.githubusercontent.com/u/10141712?v=3","gravatar_id":"","url":"https://api.github.com/users/lodelestra","html_url":"https://github.com/lodelestra","followers_url":"https://api.github.com/users/lodelestra/followers","following_url":"https://api.github.com/users/lodelestra/following{/other_user}","gists_url":"https://api.github.com/users/lodelestra/gists{/gist_id}","starred_url":"https://api.github.com/users/lodelestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lodelestra/subscriptions","organizations_url":"https://api.github.com/users/lodelestra/orgs","repos_url":"https://api.github.com/users/lodelestra/repos","events_url":"https://api.github.com/users/lodelestra/events{/privacy}","received_events_url":"https://api.github.com/users/lodelestra/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T09:34:30Z","updated_at":"2016-10-03T09:34:30Z","body":"hi,\r\n> \"Let's add a Clear current selection sentence (with a nice \"cross\" icon) below the search bar. This sentence should be a link.\"\r\n\r\nA link or a button with a cross icon? like this?\r\n\r\n<img width=\"606\" alt=\"screen shot 2016-10-03 at 11 23 39\" src=\"https://cloud.githubusercontent.com/assets/10141712/19032888/8b160d6a-895c-11e6-81ab-9f375ee5caac.png\">\r\n\r\n"}}
{"actor":{"display_login":"lodelestra"}}