{"action":"created","issue":{"url":"https://api.github.com/repos/Alamantus/Lexiconga/issues/16","repository_url":"https://api.github.com/repos/Alamantus/Lexiconga","labels_url":"https://api.github.com/repos/Alamantus/Lexiconga/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Alamantus/Lexiconga/issues/16/comments","events_url":"https://api.github.com/repos/Alamantus/Lexiconga/issues/16/events","html_url":"https://github.com/Alamantus/Lexiconga/issues/16","id":168610309,"number":16,"title":"When logged in, dictionary list under \"Change Dictionaries\" becomes randomly empty, and dictionary changes cannot be saved anymore","user":{"login":"tsela","id":475638,"avatar_url":"https://avatars.githubusercontent.com/u/475638?v=3","gravatar_id":"","url":"https://api.github.com/users/tsela","html_url":"https://github.com/tsela","followers_url":"https://api.github.com/users/tsela/followers","following_url":"https://api.github.com/users/tsela/following{/other_user}","gists_url":"https://api.github.com/users/tsela/gists{/gist_id}","starred_url":"https://api.github.com/users/tsela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsela/subscriptions","organizations_url":"https://api.github.com/users/tsela/orgs","repos_url":"https://api.github.com/users/tsela/repos","events_url":"https://api.github.com/users/tsela/events{/privacy}","received_events_url":"https://api.github.com/users/tsela/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Alamantus/Lexiconga/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Alamantus","id":7747935,"avatar_url":"https://avatars.githubusercontent.com/u/7747935?v=3","gravatar_id":"","url":"https://api.github.com/users/Alamantus","html_url":"https://github.com/Alamantus","followers_url":"https://api.github.com/users/Alamantus/followers","following_url":"https://api.github.com/users/Alamantus/following{/other_user}","gists_url":"https://api.github.com/users/Alamantus/gists{/gist_id}","starred_url":"https://api.github.com/users/Alamantus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alamantus/subscriptions","organizations_url":"https://api.github.com/users/Alamantus/orgs","repos_url":"https://api.github.com/users/Alamantus/repos","events_url":"https://api.github.com/users/Alamantus/events{/privacy}","received_events_url":"https://api.github.com/users/Alamantus/received_events","type":"User","site_admin":false},"assignees":[{"login":"Alamantus","id":7747935,"avatar_url":"https://avatars.githubusercontent.com/u/7747935?v=3","gravatar_id":"","url":"https://api.github.com/users/Alamantus","html_url":"https://github.com/Alamantus","followers_url":"https://api.github.com/users/Alamantus/followers","following_url":"https://api.github.com/users/Alamantus/following{/other_user}","gists_url":"https://api.github.com/users/Alamantus/gists{/gist_id}","starred_url":"https://api.github.com/users/Alamantus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alamantus/subscriptions","organizations_url":"https://api.github.com/users/Alamantus/orgs","repos_url":"https://api.github.com/users/Alamantus/repos","events_url":"https://api.github.com/users/Alamantus/events{/privacy}","received_events_url":"https://api.github.com/users/Alamantus/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-08-01T10:02:17Z","updated_at":"2016-08-25T14:45:08Z","closed_at":null,"body":"OK, this issue is weird, but I've seen it happen twice already, and it's made me lose half an hour of work already :(. The main problem is that I haven't been able to reproduce it. It just happens randomly so far.\r\n\r\nHere is what happens: I am logged in, and working on a dictionary. I then go to settings to go and save it (an UI issue I will talk about in another issue). What happens is that twice so far, when I go to settings, the \"Change Dictionaries\" field is empty, rather than containing the name of the dictionary I'm working on. When this happens, I cannot save the work to the cloud, and if I close the browser tab and get on Lexiconga again, I lose all the work I've done once I'm logging in. That's very annoying :(.\r\n\r\nI don't know why that problem happens, and I can't seem to be able to reproduce it, but it's happened to me twice already, so it's not just some one-off weirdness...\r\n\r\nAddition: just noticed that when this problem happens, closing the browser tab and reopening it brings me to a not-logged in session. while normally closing the browser tab and reopening while logged in should bring me to a logged in session. So it seems the actual issue is random unrequested logging out."},"comment":{"url":"https://api.github.com/repos/Alamantus/Lexiconga/issues/comments/242413973","html_url":"https://github.com/Alamantus/Lexiconga/issues/16#issuecomment-242413973","issue_url":"https://api.github.com/repos/Alamantus/Lexiconga/issues/16","id":242413973,"user":{"login":"Alamantus","id":7747935,"avatar_url":"https://avatars.githubusercontent.com/u/7747935?v=3","gravatar_id":"","url":"https://api.github.com/users/Alamantus","html_url":"https://github.com/Alamantus","followers_url":"https://api.github.com/users/Alamantus/followers","following_url":"https://api.github.com/users/Alamantus/following{/other_user}","gists_url":"https://api.github.com/users/Alamantus/gists{/gist_id}","starred_url":"https://api.github.com/users/Alamantus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alamantus/subscriptions","organizations_url":"https://api.github.com/users/Alamantus/orgs","repos_url":"https://api.github.com/users/Alamantus/repos","events_url":"https://api.github.com/users/Alamantus/events{/privacy}","received_events_url":"https://api.github.com/users/Alamantus/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T14:45:08Z","updated_at":"2016-08-25T14:45:08Z","body":"I finally just thought of a solution to gracefully reconnect logged in sessions: session tokens saved as browser cookies! If there is ever a disconnection while trying to save, it will attempt to reconnect using the token and upon successful reconnection, it will upload the whole dictionary to save any and all changes made while it was offline.\n\nI'll start working on this as soon as I am able."}}
{"actor":{"display_login":"Alamantus"}}