{"action":"opened","issue":{"url":"https://api.github.com/repos/skycoin/skycoin-web/issues/367","repository_url":"https://api.github.com/repos/skycoin/skycoin-web","labels_url":"https://api.github.com/repos/skycoin/skycoin-web/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/skycoin/skycoin-web/issues/367/comments","events_url":"https://api.github.com/repos/skycoin/skycoin-web/issues/367/events","html_url":"https://github.com/skycoin/skycoin-web/issues/367","id":335572961,"node_id":"MDU6SXNzdWUzMzU1NzI5NjE=","number":367,"title":"Save the selected coin in every tab","user":{"login":"Senyoret1","id":34079003,"node_id":"MDQ6VXNlcjM0MDc5MDAz","avatar_url":"https://avatars0.githubusercontent.com/u/34079003?v=4","gravatar_id":"","url":"https://api.github.com/users/Senyoret1","html_url":"https://github.com/Senyoret1","followers_url":"https://api.github.com/users/Senyoret1/followers","following_url":"https://api.github.com/users/Senyoret1/following{/other_user}","gists_url":"https://api.github.com/users/Senyoret1/gists{/gist_id}","starred_url":"https://api.github.com/users/Senyoret1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Senyoret1/subscriptions","organizations_url":"https://api.github.com/users/Senyoret1/orgs","repos_url":"https://api.github.com/users/Senyoret1/repos","events_url":"https://api.github.com/users/Senyoret1/events{/privacy}","received_events_url":"https://api.github.com/users/Senyoret1/received_events","type":"User","site_admin":false},"labels":[{"id":963147649,"node_id":"MDU6TGFiZWw5NjMxNDc2NDk=","url":"https://api.github.com/repos/skycoin/skycoin-web/labels/UI/UX","name":"UI/UX","color":"b9f993","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T21:23:13Z","updated_at":"2018-06-25T21:23:13Z","closed_at":null,"author_association":"COLLABORATOR","body":"If a user opens 2 tabs, changes the coin in tab B and then refreshes the page in tab A, then tab A will show the same coin as tab B. This should not happen, a user should be able to open a tab for each coin and there should be no problems when refreshing the page.\r\n\r\nTo solve this, `CoinService` should save the current selection not only in `localStorage`, but also in `sessionStorage`. Additionally, when loading the current selection in `CoinService.loadCurrentCoin`, the value stored in `sessionStorage` should have priority, if it exists."}}
{"actor":{"display_login":"Senyoret1"}}