{"action":"created","issue":{"url":"https://api.github.com/repos/cben/mathdown/issues/56","labels_url":"https://api.github.com/repos/cben/mathdown/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/cben/mathdown/issues/56/comments","events_url":"https://api.github.com/repos/cben/mathdown/issues/56/events","html_url":"https://github.com/cben/mathdown/issues/56","id":44794700,"number":56,"title":"User-visible warning for disconnected/not saving state ","user":{"login":"cben","id":273688,"avatar_url":"https://avatars.githubusercontent.com/u/273688?v=3","gravatar_id":"","url":"https://api.github.com/users/cben","html_url":"https://github.com/cben","followers_url":"https://api.github.com/users/cben/followers","following_url":"https://api.github.com/users/cben/following{/other_user}","gists_url":"https://api.github.com/users/cben/gists{/gist_id}","starred_url":"https://api.github.com/users/cben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cben/subscriptions","organizations_url":"https://api.github.com/users/cben/orgs","repos_url":"https://api.github.com/users/cben/repos","events_url":"https://api.github.com/users/cben/events{/privacy}","received_events_url":"https://api.github.com/users/cben/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cben/mathdown/labels/4%20-%20Working","name":"4 - Working","color":"009800"},{"url":"https://api.github.com/repos/cben/mathdown/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-10-03T11:43:35Z","updated_at":"2015-06-04T10:51:33Z","closed_at":null,"body":"Yesterday I pushed broken CM/firepad combo such that pages loaded, you could edit but edits weren't saved!  There was no user-visible indication this is the case.\r\nBut simply being offline gives a similar result.\r\n\r\n - [x] Visible indication that firebase is offline and not syncing.\r\n - [ ] Close the loop verifying edits really made it into firebase (REST api?), such that unsaved edits — for **any** reason — for several seconds give the warning.\r\n    It's not enough to check firepad's idea of version made it to the server; I suspect in this case there was an exception early in firepad such that it's version.  Ideal might be comparing full text (not too frequently)?\r\n\r\nLocal storage backup wouldn't hurt too, but that's another story."},"comment":{"url":"https://api.github.com/repos/cben/mathdown/issues/comments/108838572","html_url":"https://github.com/cben/mathdown/issues/56#issuecomment-108838572","issue_url":"https://api.github.com/repos/cben/mathdown/issues/56","id":108838572,"user":{"login":"cben","id":273688,"avatar_url":"https://avatars.githubusercontent.com/u/273688?v=3","gravatar_id":"","url":"https://api.github.com/users/cben","html_url":"https://github.com/cben","followers_url":"https://api.github.com/users/cben/followers","following_url":"https://api.github.com/users/cben/following{/other_user}","gists_url":"https://api.github.com/users/cben/gists{/gist_id}","starred_url":"https://api.github.com/users/cben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cben/subscriptions","organizations_url":"https://api.github.com/users/cben/orgs","repos_url":"https://api.github.com/users/cben/repos","events_url":"https://api.github.com/users/cben/events{/privacy}","received_events_url":"https://api.github.com/users/cben/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T10:51:33Z","updated_at":"2015-06-04T10:51:33Z","body":"https://groups.google.com/forum/#!topic/firebase-talk/AEDekJ_B480 is interesting.\r\nIt's likely that `new Firepad.Headless()` registers new firebase callbacks that never go away (and keep the Headless itself alive and updating...)"}}