{"action":"created","issue":{"url":"https://api.github.com/repos/citizenparker/swsheets/issues/23","labels_url":"https://api.github.com/repos/citizenparker/swsheets/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/citizenparker/swsheets/issues/23/comments","events_url":"https://api.github.com/repos/citizenparker/swsheets/issues/23/events","html_url":"https://github.com/citizenparker/swsheets/issues/23","id":81705660,"number":23,"title":"Talents and Attacks are not guaranteed to come back in the same order you added them","user":{"login":"citizenparker","id":128267,"avatar_url":"https://avatars.githubusercontent.com/u/128267?v=3","gravatar_id":"","url":"https://api.github.com/users/citizenparker","html_url":"https://github.com/citizenparker","followers_url":"https://api.github.com/users/citizenparker/followers","following_url":"https://api.github.com/users/citizenparker/following{/other_user}","gists_url":"https://api.github.com/users/citizenparker/gists{/gist_id}","starred_url":"https://api.github.com/users/citizenparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citizenparker/subscriptions","organizations_url":"https://api.github.com/users/citizenparker/orgs","repos_url":"https://api.github.com/users/citizenparker/repos","events_url":"https://api.github.com/users/citizenparker/events{/privacy}","received_events_url":"https://api.github.com/users/citizenparker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/citizenparker/swsheets/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/citizenparker/swsheets/labels/Planned","name":"Planned","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-28T01:39:53Z","updated_at":"2015-05-28T03:55:56Z","closed_at":null,"body":"Ouch! Turns out that when you add your 10th talent or attack, you may run into ordering problems (at least in some browsers).\r\n\r\nThe root cause here is that the keys that are used to submit separate talents may be sorted on insertion order (great!) or alphabetically (boo!). In the latter case, that means the alphabetic order is 0, 1, 10, 11, 2, ...\r\n\r\nAdd an index that is submitted along with each that tracks its display order. (note to self: this should work more or less like `skill_position` on base skills.)\r\n\r\nFirst report: https://community.fantasyflightgames.com/index.php?/topic/178163-announcing-swsheetscom/?p=1637380"},"comment":{"url":"https://api.github.com/repos/citizenparker/swsheets/issues/comments/106163907","html_url":"https://github.com/citizenparker/swsheets/issues/23#issuecomment-106163907","issue_url":"https://api.github.com/repos/citizenparker/swsheets/issues/23","id":106163907,"user":{"login":"citizenparker","id":128267,"avatar_url":"https://avatars.githubusercontent.com/u/128267?v=3","gravatar_id":"","url":"https://api.github.com/users/citizenparker","html_url":"https://github.com/citizenparker","followers_url":"https://api.github.com/users/citizenparker/followers","following_url":"https://api.github.com/users/citizenparker/following{/other_user}","gists_url":"https://api.github.com/users/citizenparker/gists{/gist_id}","starred_url":"https://api.github.com/users/citizenparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citizenparker/subscriptions","organizations_url":"https://api.github.com/users/citizenparker/orgs","repos_url":"https://api.github.com/users/citizenparker/repos","events_url":"https://api.github.com/users/citizenparker/events{/privacy}","received_events_url":"https://api.github.com/users/citizenparker/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T03:55:56Z","updated_at":"2015-05-28T03:55:56Z","body":"Hmm, I'll think about sorting talents automatically. I'm not opposed to the idea, but I also don't want to surprise folks when the ordering changes.\r\n\r\nAs for having a database of talents, I probably won't do that unfortunately. My goal for this is to essentially have an online piece of paper rather that something with all the logic and features of a tool like OggDude. I'll calculate skill rolls, but that's as fancy as I'm likely to get in the foreseeable future. I don't want to be in a situation where each new splatbook requires updates to the tool."}}