{"action":"created","issue":{"url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/issues/88","repository_url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained","labels_url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/issues/88/comments","events_url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/issues/88/events","html_url":"https://github.com/CUModSquad/Camelot-Unchained/issues/88","id":195569772,"number":88,"title":"Building Tree View","user":{"login":"codecorsair","id":9878445,"avatar_url":"https://avatars.githubusercontent.com/u/9878445?v=3","gravatar_id":"","url":"https://api.github.com/users/codecorsair","html_url":"https://github.com/codecorsair","followers_url":"https://api.github.com/users/codecorsair/followers","following_url":"https://api.github.com/users/codecorsair/following{/other_user}","gists_url":"https://api.github.com/users/codecorsair/gists{/gist_id}","starred_url":"https://api.github.com/users/codecorsair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecorsair/subscriptions","organizations_url":"https://api.github.com/users/codecorsair/orgs","repos_url":"https://api.github.com/users/codecorsair/repos","events_url":"https://api.github.com/users/codecorsair/events{/privacy}","received_events_url":"https://api.github.com/users/codecorsair/received_events","type":"User","site_admin":false},"labels":[{"id":445593146,"url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/labels/new%20features","name":"new features","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/milestones/1","html_url":"https://github.com/CUModSquad/Camelot-Unchained/milestone/1","labels_url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/milestones/1/labels","id":2014980,"number":1,"title":"In-Game UI","description":"The in-game user interface for Camelot Unchained","creator":{"login":"codecorsair","id":9878445,"avatar_url":"https://avatars.githubusercontent.com/u/9878445?v=3","gravatar_id":"","url":"https://api.github.com/users/codecorsair","html_url":"https://github.com/codecorsair","followers_url":"https://api.github.com/users/codecorsair/followers","following_url":"https://api.github.com/users/codecorsair/following{/other_user}","gists_url":"https://api.github.com/users/codecorsair/gists{/gist_id}","starred_url":"https://api.github.com/users/codecorsair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecorsair/subscriptions","organizations_url":"https://api.github.com/users/codecorsair/orgs","repos_url":"https://api.github.com/users/codecorsair/repos","events_url":"https://api.github.com/users/codecorsair/events{/privacy}","received_events_url":"https://api.github.com/users/codecorsair/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":5,"state":"open","created_at":"2016-09-19T20:37:26Z","updated_at":"2016-12-14T17:50:18Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-12-14T15:57:52Z","updated_at":"2016-12-19T18:21:03Z","closed_at":null,"body":"> Quote from Brad:\r\n\r\nAt the very basic I need something like this.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9878445/21189230/06ac7b40-c1ec-11e6-8146-6e399bdd3b8e.png)\r\n\r\nThe tree will be small, so the whole thing can be pushed to the UI anytime it is changed.  I just need to know what format that would take.  Also, when the selected item changes, I would need some callback with some form of identifier.  I'm not sure how that works in TypeScript or whatever.  I can keep a map of unique name to tree position on my side if necessary.  Or we could encode position in the name by something like Grandson == 1_1_1 and StepChild = 1_2_1.  Doesn't matter.\r\n\r\n\r\nThe more complicated problem is when you click on 'Add Child', I need to be able to let the user decide what to add.  At the simplest this could just be a couple droplist that you select before clicking 'Add Child' but the permutations are large.\r\n\r\nHere are the options:\r\n```\r\nMorphType - Scale or Cylinder.\r\n  Scale - scale amount.  1/4, 1/2.\r\n  Cylinder - no options at the moment.\r\nTransform Type - Rotate or Skew\r\n  Rotate - Axis (X, Y, Z) and Amount (multiples of 45 degrees.  45, 90, 135, etc.)\r\n  Skew - Axis.\r\n```\r\n\r\n~~Even more complicated is they transforms can be a stack (not tree) themselves.  So you could combine a Rotate and Skew or something.  Initially we can just have them add another child on the tree above but that means an extra, unused Morph.  Not a problem for prototyping.  I'm just putting it out there for consideration.~~\r\n\r\n\r\nThanks,\r\n--Brad\r\n"},"comment":{"url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/issues/comments/268038037","html_url":"https://github.com/CUModSquad/Camelot-Unchained/issues/88#issuecomment-268038037","issue_url":"https://api.github.com/repos/CUModSquad/Camelot-Unchained/issues/88","id":268038037,"user":{"login":"WheezardX","id":8354148,"avatar_url":"https://avatars.githubusercontent.com/u/8354148?v=3","gravatar_id":"","url":"https://api.github.com/users/WheezardX","html_url":"https://github.com/WheezardX","followers_url":"https://api.github.com/users/WheezardX/followers","following_url":"https://api.github.com/users/WheezardX/following{/other_user}","gists_url":"https://api.github.com/users/WheezardX/gists{/gist_id}","starred_url":"https://api.github.com/users/WheezardX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WheezardX/subscriptions","organizations_url":"https://api.github.com/users/WheezardX/orgs","repos_url":"https://api.github.com/users/WheezardX/repos","events_url":"https://api.github.com/users/WheezardX/events{/privacy}","received_events_url":"https://api.github.com/users/WheezardX/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T18:21:03Z","updated_at":"2016-12-19T18:21:03Z","body":"So, the design of this is really up in the air.  For now all I really need is the tree control, with callbacks when the selected item in the tree changes, and the add/remove buttons.\r\n\r\nWhen you click on Add button, we need to determine what to add.  The only existing options are 'scale' and 'cylinder'.  To future proof it (some), we should also probably add 'rotate'.  These can be a different control, like a droplist or something, that is fine.  Or even 3 Add buttons, one for each. \r\n\r\nI'm thinking we should keep it as simple as possible for now, until I better know what we need.  \r\n\r\nIt should be a new floating/resizable window, like the other parts of the Building UI.\r\n"}}
{"actor":{"display_login":"WheezardX"}}