{"action":"created","issue":{"url":"https://api.github.com/repos/Laverna/laverna/issues/361","labels_url":"https://api.github.com/repos/Laverna/laverna/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/Laverna/laverna/issues/361/comments","events_url":"https://api.github.com/repos/Laverna/laverna/issues/361/events","html_url":"https://github.com/Laverna/laverna/issues/361","id":127483349,"number":361,"title":"add entry in favorites doesn't add the entry to favorites","user":{"login":"DavidWiesner","id":243115,"avatar_url":"https://avatars.githubusercontent.com/u/243115?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidWiesner","html_url":"https://github.com/DavidWiesner","followers_url":"https://api.github.com/users/DavidWiesner/followers","following_url":"https://api.github.com/users/DavidWiesner/following{/other_user}","gists_url":"https://api.github.com/users/DavidWiesner/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWiesner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWiesner/subscriptions","organizations_url":"https://api.github.com/users/DavidWiesner/orgs","repos_url":"https://api.github.com/users/DavidWiesner/repos","events_url":"https://api.github.com/users/DavidWiesner/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWiesner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-19T16:23:11Z","updated_at":"2016-01-19T17:21:14Z","closed_at":null,"body":"## Steps to reproduce\r\n1. go to favourites\r\n2. click add note button\r\n3. fill in a title\r\n4. hit enter\r\n\r\n##  expected behaviour\r\n- a new entry added\r\n- the new entry marked as favourite and so appears in the list of favourites\r\n\r\n## actual behaviour\r\n- only a new entry was added\r\n- **not** marked as favourite and so **doesn't** appear in the list of favourites\r\n\r\n### Version\r\nVersion on https://laverna.cc/ at 2016-01-19\r\nBrowser Chrome 47.0 \r\n"},"comment":{"url":"https://api.github.com/repos/Laverna/laverna/issues/comments/172924200","html_url":"https://github.com/Laverna/laverna/issues/361#issuecomment-172924200","issue_url":"https://api.github.com/repos/Laverna/laverna/issues/361","id":172924200,"user":{"login":"DavidWiesner","id":243115,"avatar_url":"https://avatars.githubusercontent.com/u/243115?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidWiesner","html_url":"https://github.com/DavidWiesner","followers_url":"https://api.github.com/users/DavidWiesner/followers","following_url":"https://api.github.com/users/DavidWiesner/following{/other_user}","gists_url":"https://api.github.com/users/DavidWiesner/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWiesner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWiesner/subscriptions","organizations_url":"https://api.github.com/users/DavidWiesner/orgs","repos_url":"https://api.github.com/users/DavidWiesner/repos","events_url":"https://api.github.com/users/DavidWiesner/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWiesner/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T17:21:14Z","updated_at":"2016-01-19T17:21:14Z","body":"is a question on user expectation. My answer would be yes, this entry also should be marked as favourite. Since you switch to the context favourites and you can add a note directly in the context of favourites, this new note also should be marked as an favourite. \r\nAnd the second reason is to get a direct feedback. So know that adding a note was successful. Normally this feedback is that the new added note will appear in the list. But in this case this list isn't visible to the user, because the new note will only add to the \"normal\" note list. "}}