{"action":"created","issue":{"url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/170","labels_url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/170/comments","events_url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/170/events","html_url":"https://github.com/EmmittJ/PoESkillTree/issues/170","id":94963784,"number":170,"title":"Link representation of character class should be centralized to one place","user":{"login":"SpaceOgre","id":381657,"avatar_url":"https://avatars.githubusercontent.com/u/381657?v=3","gravatar_id":"","url":"https://api.github.com/users/SpaceOgre","html_url":"https://github.com/SpaceOgre","followers_url":"https://api.github.com/users/SpaceOgre/followers","following_url":"https://api.github.com/users/SpaceOgre/following{/other_user}","gists_url":"https://api.github.com/users/SpaceOgre/gists{/gist_id}","starred_url":"https://api.github.com/users/SpaceOgre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpaceOgre/subscriptions","organizations_url":"https://api.github.com/users/SpaceOgre/orgs","repos_url":"https://api.github.com/users/SpaceOgre/repos","events_url":"https://api.github.com/users/SpaceOgre/events{/privacy}","received_events_url":"https://api.github.com/users/SpaceOgre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-14T14:52:31Z","updated_at":"2015-07-14T18:14:07Z","closed_at":null,"body":"In MainWindow.xml.cs we have a method to swap between classes, the problem is that it is using hard coded strings for the start of the build link. Instead we should create a method that calculates that part and use it both there and in SaveToUrl. So move part of the SaveToUrl method to a new one and use that in MainWindow.xml.cs when changing class."},"comment":{"url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/comments/121327770","html_url":"https://github.com/EmmittJ/PoESkillTree/issues/170#issuecomment-121327770","issue_url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/170","id":121327770,"user":{"login":"EmmittJ","id":7478125,"avatar_url":"https://avatars.githubusercontent.com/u/7478125?v=3","gravatar_id":"","url":"https://api.github.com/users/EmmittJ","html_url":"https://github.com/EmmittJ","followers_url":"https://api.github.com/users/EmmittJ/followers","following_url":"https://api.github.com/users/EmmittJ/following{/other_user}","gists_url":"https://api.github.com/users/EmmittJ/gists{/gist_id}","starred_url":"https://api.github.com/users/EmmittJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmmittJ/subscriptions","organizations_url":"https://api.github.com/users/EmmittJ/orgs","repos_url":"https://api.github.com/users/EmmittJ/repos","events_url":"https://api.github.com/users/EmmittJ/events{/privacy}","received_events_url":"https://api.github.com/users/EmmittJ/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T18:14:07Z","updated_at":"2015-07-14T18:14:07Z","body":"Actually you could modify the saveToUrl function to accept a class you want\na url for. You can't really remove the class calculation from that function\nsince it has to be converted to base64 all at once.\nOn Jul 14, 2015 8:57 AM, \"Daniel Mauritzson\" <notifications@github.com>\nwrote:\n\n> This should also be applied to the default tree for the build class\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/EmmittJ/PoESkillTree/issues/170#issuecomment-121289057>\n> .\n>\n"}}