{"action":"created","issue":{"url":"https://api.github.com/repos/NAVADMC/ADSM/issues/389","labels_url":"https://api.github.com/repos/NAVADMC/ADSM/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/NAVADMC/ADSM/issues/389/comments","events_url":"https://api.github.com/repos/NAVADMC/ADSM/issues/389/events","html_url":"https://github.com/NAVADMC/ADSM/issues/389","id":54521807,"number":389,"title":"Multilevel Priority Widget","user":{"login":"josiahseaman","id":2256148,"avatar_url":"https://avatars.githubusercontent.com/u/2256148?v=3","gravatar_id":"","url":"https://api.github.com/users/josiahseaman","html_url":"https://github.com/josiahseaman","followers_url":"https://api.github.com/users/josiahseaman/followers","following_url":"https://api.github.com/users/josiahseaman/following{/other_user}","gists_url":"https://api.github.com/users/josiahseaman/gists{/gist_id}","starred_url":"https://api.github.com/users/josiahseaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josiahseaman/subscriptions","organizations_url":"https://api.github.com/users/josiahseaman/orgs","repos_url":"https://api.github.com/users/josiahseaman/repos","events_url":"https://api.github.com/users/josiahseaman/events{/privacy}","received_events_url":"https://api.github.com/users/josiahseaman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NAVADMC/ADSM/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"josiahseaman","id":2256148,"avatar_url":"https://avatars.githubusercontent.com/u/2256148?v=3","gravatar_id":"","url":"https://api.github.com/users/josiahseaman","html_url":"https://github.com/josiahseaman","followers_url":"https://api.github.com/users/josiahseaman/followers","following_url":"https://api.github.com/users/josiahseaman/following{/other_user}","gists_url":"https://api.github.com/users/josiahseaman/gists{/gist_id}","starred_url":"https://api.github.com/users/josiahseaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josiahseaman/subscriptions","organizations_url":"https://api.github.com/users/josiahseaman/orgs","repos_url":"https://api.github.com/users/josiahseaman/repos","events_url":"https://api.github.com/users/josiahseaman/events{/privacy}","received_events_url":"https://api.github.com/users/josiahseaman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NAVADMC/ADSM/milestones/29","html_url":"https://github.com/NAVADMC/ADSM/milestones/V3.3.1%20Vaccination%20Priorities%20and%20Variable%20Rings","labels_url":"https://api.github.com/repos/NAVADMC/ADSM/milestones/29/labels","id":939164,"number":29,"title":"V3.3.1 Vaccination Priorities and Variable Rings","description":"","creator":{"login":"josiahseaman","id":2256148,"avatar_url":"https://avatars.githubusercontent.com/u/2256148?v=3","gravatar_id":"","url":"https://api.github.com/users/josiahseaman","html_url":"https://github.com/josiahseaman","followers_url":"https://api.github.com/users/josiahseaman/followers","following_url":"https://api.github.com/users/josiahseaman/following{/other_user}","gists_url":"https://api.github.com/users/josiahseaman/gists{/gist_id}","starred_url":"https://api.github.com/users/josiahseaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josiahseaman/subscriptions","organizations_url":"https://api.github.com/users/josiahseaman/orgs","repos_url":"https://api.github.com/users/josiahseaman/repos","events_url":"https://api.github.com/users/josiahseaman/events{/privacy}","received_events_url":"https://api.github.com/users/josiahseaman/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":14,"state":"open","created_at":"2015-01-16T20:16:09Z","updated_at":"2015-08-05T16:54:18Z","due_on":"2015-07-31T06:00:00Z","closed_at":null},"comments":7,"created_at":"2015-01-15T23:47:49Z","updated_at":"2015-08-12T19:32:22Z","closed_at":null,"body":"Hierarchical Priorities are used several places in the program for Destruction and Vaccination prioritization based on a number of factors.  Currently these are handled in the program by requiring the user to type out the text string of priorities they want.  It'd be much better to have a widget which encapsulates the range of possibilities.  See [Vaccination Priorities ](https://github.com/NAVADMC/ADSM/wiki/RFC-20121101:-New-Vaccination-Priorities) for an example.  \r\n\r\n![](https://camo.githubusercontent.com/9f74d5964ca5ef08f444bf028de62620ad8799b2/687474703a2f2f6e617661646d632e6769746875622e696f2f4144534d2f696d616765732f766163635f7072696f726974795f6f6c642e737667)\r\n\r\n\"The 3 large green pieces can be shuffled into any order. And the blue pieces can be shuffled within their containing green piece. (Right now there is only 1 blue piece inside “Reason for vaccination” — inclusion in a ring vaccination strategy — but the idea was that there might be more reasons for vaccination in the future.) In “Days holding”, older requests always have priority over newer ones — that order cannot be reversed.\""},"comment":{"url":"https://api.github.com/repos/NAVADMC/ADSM/issues/comments/130420407","html_url":"https://github.com/NAVADMC/ADSM/issues/389#issuecomment-130420407","issue_url":"https://api.github.com/repos/NAVADMC/ADSM/issues/389","id":130420407,"user":{"login":"josiahseaman","id":2256148,"avatar_url":"https://avatars.githubusercontent.com/u/2256148?v=3","gravatar_id":"","url":"https://api.github.com/users/josiahseaman","html_url":"https://github.com/josiahseaman","followers_url":"https://api.github.com/users/josiahseaman/followers","following_url":"https://api.github.com/users/josiahseaman/following{/other_user}","gists_url":"https://api.github.com/users/josiahseaman/gists{/gist_id}","starred_url":"https://api.github.com/users/josiahseaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josiahseaman/subscriptions","organizations_url":"https://api.github.com/users/josiahseaman/orgs","repos_url":"https://api.github.com/users/josiahseaman/repos","events_url":"https://api.github.com/users/josiahseaman/events{/privacy}","received_events_url":"https://api.github.com/users/josiahseaman/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T19:32:22Z","updated_at":"2015-08-12T19:32:22Z","body":"Here's an interesting side effect I got along the way.  These are nested list elements and the sort function picks up the whole list:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2256148/9234513/7ff93484-40f6-11e5-9401-582a63211410.png)\r\n\r\nThe plan is for the secondary lists to be shifted to the side, but I thought this was an interesting effect."}}