{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/590","labels_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/590/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/590/comments","events_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/590/events","html_url":"https://github.com/mozilla/thimble.webmaker.org/issues/590","id":90165579,"number":590,"title":"Refreshing the browser shouldn't cause the editor settings to reset","user":{"login":"flukeout","id":25212,"avatar_url":"https://avatars.githubusercontent.com/u/25212?v=3","gravatar_id":"","url":"https://api.github.com/users/flukeout","html_url":"https://github.com/flukeout","followers_url":"https://api.github.com/users/flukeout/followers","following_url":"https://api.github.com/users/flukeout/following{/other_user}","gists_url":"https://api.github.com/users/flukeout/gists{/gist_id}","starred_url":"https://api.github.com/users/flukeout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flukeout/subscriptions","organizations_url":"https://api.github.com/users/flukeout/orgs","repos_url":"https://api.github.com/users/flukeout/repos","events_url":"https://api.github.com/users/flukeout/events{/privacy}","received_events_url":"https://api.github.com/users/flukeout/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-22T17:49:48Z","updated_at":"2015-06-22T17:58:41Z","closed_at":null,"body":"When using the dark theme, refresh the browser. It resets back to the light theme, which is a little jarring. \r\n\r\n**Let's remember**\r\n* Editor font size\r\n* Editor theme\r\n* File tray open vs closed\r\n\r\nWhen I reload, the editor should look the same. \r\n\r\nThe only conflict here is that we already have some functionality around determining the file tray state based on the number of files in a project. Is there a way to solve this gracefully?\r\n\r\nMaybe we only do the number-of-files detection when...\r\n* You remix a project\r\n* Load up one of your existing projects\r\n\r\nPossible?\r\n\r\ncc @JordanTheriault \r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/comments/114199776","html_url":"https://github.com/mozilla/thimble.webmaker.org/issues/590#issuecomment-114199776","issue_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/590","id":114199776,"user":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T17:58:41Z","updated_at":"2015-06-22T17:58:41Z","body":"@gideonthomas: where do you think we should be dealing with state?  Should we have Thimble remember this (localStorage) and pass it into `Bramble.load()` as options?  Or should we turn on Bracket's `state.json` stuff?"}}