{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/239","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/239/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/239/events","html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/issues/239","id":103521992,"number":239,"title":"Add support for inserting galleries","user":{"login":"aforcier","id":9613966,"avatar_url":"https://avatars.githubusercontent.com/u/9613966?v=3","gravatar_id":"","url":"https://api.github.com/users/aforcier","html_url":"https://github.com/aforcier","followers_url":"https://api.github.com/users/aforcier/followers","following_url":"https://api.github.com/users/aforcier/following{/other_user}","gists_url":"https://api.github.com/users/aforcier/gists{/gist_id}","starred_url":"https://api.github.com/users/aforcier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aforcier/subscriptions","organizations_url":"https://api.github.com/users/aforcier/orgs","repos_url":"https://api.github.com/users/aforcier/repos","events_url":"https://api.github.com/users/aforcier/events{/privacy}","received_events_url":"https://api.github.com/users/aforcier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/labels/2%20-%20Working","name":"2 - Working","color":"CCCCCC"},{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/labels/media","name":"media","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"aforcier","id":9613966,"avatar_url":"https://avatars.githubusercontent.com/u/9613966?v=3","gravatar_id":"","url":"https://api.github.com/users/aforcier","html_url":"https://github.com/aforcier","followers_url":"https://api.github.com/users/aforcier/followers","following_url":"https://api.github.com/users/aforcier/following{/other_user}","gists_url":"https://api.github.com/users/aforcier/gists{/gist_id}","starred_url":"https://api.github.com/users/aforcier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aforcier/subscriptions","organizations_url":"https://api.github.com/users/aforcier/orgs","repos_url":"https://api.github.com/users/aforcier/repos","events_url":"https://api.github.com/users/aforcier/events{/privacy}","received_events_url":"https://api.github.com/users/aforcier/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/milestones/6","html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/milestones/0.5","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/milestones/6/labels","id":1275885,"number":6,"title":"0.5","description":"","creator":{"login":"aforcier","id":9613966,"avatar_url":"https://avatars.githubusercontent.com/u/9613966?v=3","gravatar_id":"","url":"https://api.github.com/users/aforcier","html_url":"https://github.com/aforcier","followers_url":"https://api.github.com/users/aforcier/followers","following_url":"https://api.github.com/users/aforcier/following{/other_user}","gists_url":"https://api.github.com/users/aforcier/gists{/gist_id}","starred_url":"https://api.github.com/users/aforcier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aforcier/subscriptions","organizations_url":"https://api.github.com/users/aforcier/orgs","repos_url":"https://api.github.com/users/aforcier/repos","events_url":"https://api.github.com/users/aforcier/events{/privacy}","received_events_url":"https://api.github.com/users/aforcier/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":2,"state":"open","created_at":"2015-08-27T14:22:26Z","updated_at":"2015-10-30T17:52:28Z","due_on":"2015-11-10T05:00:00Z","closed_at":null},"comments":5,"created_at":"2015-08-27T14:21:57Z","updated_at":"2015-11-18T01:49:32Z","closed_at":null,"body":"Make sure gallery insertion and adding multiple images with the new media picker are fully supported.\r\n\r\n- [ ] Adding galleries\r\n- [x] Adding multiple images\r\n\r\n<!---\r\n@huboard:{\"order\":243.0,\"milestone_order\":239,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/comments/157571129","html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/issues/239#issuecomment-157571129","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/239","id":157571129,"user":{"login":"meremagee","id":656741,"avatar_url":"https://avatars.githubusercontent.com/u/656741?v=3","gravatar_id":"","url":"https://api.github.com/users/meremagee","html_url":"https://github.com/meremagee","followers_url":"https://api.github.com/users/meremagee/followers","following_url":"https://api.github.com/users/meremagee/following{/other_user}","gists_url":"https://api.github.com/users/meremagee/gists{/gist_id}","starred_url":"https://api.github.com/users/meremagee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meremagee/subscriptions","organizations_url":"https://api.github.com/users/meremagee/orgs","repos_url":"https://api.github.com/users/meremagee/repos","events_url":"https://api.github.com/users/meremagee/events{/privacy}","received_events_url":"https://api.github.com/users/meremagee/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T01:49:32Z","updated_at":"2015-11-18T01:49:32Z","body":"I generally don't think exposing editable shortcodes to users doesn't make for a great UX. Best case, users are fluent in optional shortcode parameters and somehow know the image id for assets in their media library. Worst case, shortcodes look like a failure message or unfinished process, and users accidentally insert unwanted text or corrupt the editable shortcode. \r\n\r\nHere are various states in the legacy editor, none of which make sense or transition with any context: https://cloudup.com/c8Ti3nip0B0. I think inserting shortcode immediately in editor is an improvement over the current flow because it's consistent. But, I'm conflicted because I also believe shortcodes are poor UX. I would almost rather persist a placeholder/icon if possible post-publish (but I'm guessing it's not since those are real post artifacts and not placeholders once the post hits the server?).\r\n\r\nLet's go with this for the short term and clean it up (insert visual gallery) asap. Great work, @aforcier "}}