{"action":"created","issue":{"url":"https://api.github.com/repos/bwdinc/simmer/issues/52","labels_url":"https://api.github.com/repos/bwdinc/simmer/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/bwdinc/simmer/issues/52/comments","events_url":"https://api.github.com/repos/bwdinc/simmer/issues/52/events","html_url":"https://github.com/bwdinc/simmer/issues/52","id":73472241,"number":52,"title":"Improved ingredients & instructions UI","user":{"login":"ChaseWiseman","id":999301,"avatar_url":"https://avatars.githubusercontent.com/u/999301?v=3","gravatar_id":"","url":"https://api.github.com/users/ChaseWiseman","html_url":"https://github.com/ChaseWiseman","followers_url":"https://api.github.com/users/ChaseWiseman/followers","following_url":"https://api.github.com/users/ChaseWiseman/following{/other_user}","gists_url":"https://api.github.com/users/ChaseWiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaseWiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaseWiseman/subscriptions","organizations_url":"https://api.github.com/users/ChaseWiseman/orgs","repos_url":"https://api.github.com/users/ChaseWiseman/repos","events_url":"https://api.github.com/users/ChaseWiseman/events{/privacy}","received_events_url":"https://api.github.com/users/ChaseWiseman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bwdinc/simmer/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/bwdinc/simmer/labels/refactor","name":"refactor","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-06T00:26:52Z","updated_at":"2015-05-11T16:45:46Z","closed_at":null,"body":"I'd like to kick off work on an updated admin UI for managing ingredients and instructions here. Now that the new Items API is in place, we have the database support needed to allow for complex ingredient/instruction information to be added by third-party extensions, and it's time to update the UI to support that. I've mocked up the attached image which is a pretty solid first pass. The main points being:\r\n\r\n* Click _Edit_ next to any ingredient to expand a row of available actions. Core will only feature \"Delete\" as is currently the case, but this would allow extensions to add custom action links as you can see from the examples in the mockup. These would then trigger their own UIs, defined by the extension.\r\n* I'd like to also enable selecting multiple line items at once to drag/drop as a group, which would make reordering large ingredient lists much easier.\r\n* Heading line items would disable the other fields to just allow a single text input. Any further suggestions on how to highlight heading items in the UI?\r\n* *Live Updating* - Another goal I want to shoot for is building in live updating via AJAX to the ingredients & instructions lists. Any changes made will be saved as they are made. This would definitely cut down on users losing long lists of data because of an accidentally closed window. Any articles or thoughts on the pros/cons of doing this?\r\n\r\nThis will incorporate or otherwise cover the changes discussed in #43, #47, and #50 as well.\r\n\r\n![edit-ingredients-ui](https://cloud.githubusercontent.com/assets/999301/7485519/cfc20480-f34b-11e4-9c0c-316875cf1be4.png)\r\n"},"comment":{"url":"https://api.github.com/repos/bwdinc/simmer/issues/comments/100975251","html_url":"https://github.com/bwdinc/simmer/issues/52#issuecomment-100975251","issue_url":"https://api.github.com/repos/bwdinc/simmer/issues/52","id":100975251,"user":{"login":"laralfield","id":1518034,"avatar_url":"https://avatars.githubusercontent.com/u/1518034?v=3","gravatar_id":"","url":"https://api.github.com/users/laralfield","html_url":"https://github.com/laralfield","followers_url":"https://api.github.com/users/laralfield/followers","following_url":"https://api.github.com/users/laralfield/following{/other_user}","gists_url":"https://api.github.com/users/laralfield/gists{/gist_id}","starred_url":"https://api.github.com/users/laralfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laralfield/subscriptions","organizations_url":"https://api.github.com/users/laralfield/orgs","repos_url":"https://api.github.com/users/laralfield/repos","events_url":"https://api.github.com/users/laralfield/events{/privacy}","received_events_url":"https://api.github.com/users/laralfield/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T16:45:46Z","updated_at":"2015-05-11T16:45:46Z","body":"Just wanted to add another comment on the heading line items: I think this current iteration looks great with the 2 prior fields just greyed out. It keeps everything still really seamless, while introducing the great organization that a sub-heading can provide. "}}