{"action":"created","issue":{"url":"https://api.github.com/repos/billthefarmer/editor/issues/19","repository_url":"https://api.github.com/repos/billthefarmer/editor","labels_url":"https://api.github.com/repos/billthefarmer/editor/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/billthefarmer/editor/issues/19/comments","events_url":"https://api.github.com/repos/billthefarmer/editor/issues/19/events","html_url":"https://github.com/billthefarmer/editor/issues/19","id":271280602,"number":19,"title":"Handling files that have been modified and more careful auto-saving","user":{"login":"Markus00000","id":985977,"avatar_url":"https://avatars2.githubusercontent.com/u/985977?v=4","gravatar_id":"","url":"https://api.github.com/users/Markus00000","html_url":"https://github.com/Markus00000","followers_url":"https://api.github.com/users/Markus00000/followers","following_url":"https://api.github.com/users/Markus00000/following{/other_user}","gists_url":"https://api.github.com/users/Markus00000/gists{/gist_id}","starred_url":"https://api.github.com/users/Markus00000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Markus00000/subscriptions","organizations_url":"https://api.github.com/users/Markus00000/orgs","repos_url":"https://api.github.com/users/Markus00000/repos","events_url":"https://api.github.com/users/Markus00000/events{/privacy}","received_events_url":"https://api.github.com/users/Markus00000/received_events","type":"User","site_admin":false},"labels":[{"id":642781627,"url":"https://api.github.com/repos/billthefarmer/editor/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-05T14:19:30Z","updated_at":"2017-11-10T02:24:21Z","closed_at":null,"author_association":"NONE","body":"Could there be checks whether a file has been modified before saving?\r\n\r\n* When Editor is un-paused, it could check if it is still showing the current version of the file and prompt for a reload if it is not.\r\n* When the user tries to save or Editor wants to auto-save, it could check if the file has been modified before overwriting it and ask for confirmation.\r\n\r\nUse case: I am editing text files that are synchronized between my phone and computer. Only after losing data several times, I noticed that Editor was overwriting my changes with outdated data."},"comment":{"url":"https://api.github.com/repos/billthefarmer/editor/issues/comments/343355972","html_url":"https://github.com/billthefarmer/editor/issues/19#issuecomment-343355972","issue_url":"https://api.github.com/repos/billthefarmer/editor/issues/19","id":343355972,"user":{"login":"monolifed","id":6624464,"avatar_url":"https://avatars1.githubusercontent.com/u/6624464?v=4","gravatar_id":"","url":"https://api.github.com/users/monolifed","html_url":"https://github.com/monolifed","followers_url":"https://api.github.com/users/monolifed/followers","following_url":"https://api.github.com/users/monolifed/following{/other_user}","gists_url":"https://api.github.com/users/monolifed/gists{/gist_id}","starred_url":"https://api.github.com/users/monolifed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monolifed/subscriptions","organizations_url":"https://api.github.com/users/monolifed/orgs","repos_url":"https://api.github.com/users/monolifed/repos","events_url":"https://api.github.com/users/monolifed/events{/privacy}","received_events_url":"https://api.github.com/users/monolifed/received_events","type":"User","site_admin":false},"created_at":"2017-11-10T02:24:21Z","updated_at":"2017-11-10T02:24:21Z","author_association":"NONE","body":"One can also use the hash(like sha1 md5) of the text file to check for modifications."}}
{"actor":{"display_login":"monolifed"}}