{"action":"created","issue":{"url":"https://api.github.com/repos/Laverna/laverna/issues/917","repository_url":"https://api.github.com/repos/Laverna/laverna","labels_url":"https://api.github.com/repos/Laverna/laverna/issues/917/labels{/name}","comments_url":"https://api.github.com/repos/Laverna/laverna/issues/917/comments","events_url":"https://api.github.com/repos/Laverna/laverna/issues/917/events","html_url":"https://github.com/Laverna/laverna/issues/917","id":299682059,"node_id":"MDU6SXNzdWUyOTk2ODIwNTk=","number":917,"title":"New notes are trashed if hitting 'esc'","user":{"login":"sylv3r","id":3833987,"node_id":"MDQ6VXNlcjM4MzM5ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/3833987?v=4","gravatar_id":"","url":"https://api.github.com/users/sylv3r","html_url":"https://github.com/sylv3r","followers_url":"https://api.github.com/users/sylv3r/followers","following_url":"https://api.github.com/users/sylv3r/following{/other_user}","gists_url":"https://api.github.com/users/sylv3r/gists{/gist_id}","starred_url":"https://api.github.com/users/sylv3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylv3r/subscriptions","organizations_url":"https://api.github.com/users/sylv3r/orgs","repos_url":"https://api.github.com/users/sylv3r/repos","events_url":"https://api.github.com/users/sylv3r/events{/privacy}","received_events_url":"https://api.github.com/users/sylv3r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-23T11:30:32Z","updated_at":"2018-07-15T19:36:04Z","closed_at":null,"author_association":"NONE","body":"New notes are put in trash if during the edit 'esc' is hit and cancel at least once.\r\n\r\n## How to reproduce\r\n\r\n- Create a note\r\n- Select a notebook\r\n- Type whatever you want\r\n- Hit 'ESC' at least once before saving\r\n- Cancel the 'Are you sure ?' alert\r\n- Save your note\r\n- Find it in the Trash Notebook\r\n\r\n## Expected behavior\r\n\r\nNo matter how many times we can hit 'esc' (vim reflex...), the note should be saved in the right Notebook and not go in trash afterward."},"comment":{"url":"https://api.github.com/repos/Laverna/laverna/issues/comments/405112896","html_url":"https://github.com/Laverna/laverna/issues/917#issuecomment-405112896","issue_url":"https://api.github.com/repos/Laverna/laverna/issues/917","id":405112896,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTExMjg5Ng==","user":{"login":"daed","id":1466660,"node_id":"MDQ6VXNlcjE0NjY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1466660?v=4","gravatar_id":"","url":"https://api.github.com/users/daed","html_url":"https://github.com/daed","followers_url":"https://api.github.com/users/daed/followers","following_url":"https://api.github.com/users/daed/following{/other_user}","gists_url":"https://api.github.com/users/daed/gists{/gist_id}","starred_url":"https://api.github.com/users/daed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daed/subscriptions","organizations_url":"https://api.github.com/users/daed/orgs","repos_url":"https://api.github.com/users/daed/repos","events_url":"https://api.github.com/users/daed/events{/privacy}","received_events_url":"https://api.github.com/users/daed/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T19:36:04Z","updated_at":"2018-07-15T19:36:04Z","author_association":"NONE","body":"I can replicate the issue on the release version (the electron bundled one).  I might have a look at it to see if it's an easy fix, but I'd rather move the dev branch to something usable since it looks like a major rework of the old one.\r\n\r\n@morem0, installing off the dev branch doesn't use bower, but you do have to install mongodb.  Instructions are here: https://github.com/Laverna/laverna/tree/dev\r\n"}}
{"actor":{"display_login":"daed"}}