{"action":"created","issue":{"url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/108","labels_url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/108/comments","events_url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/108/events","html_url":"https://github.com/plone/plone.app.mosaic/issues/108","id":99660638,"number":108,"title":"User should be able to customize selected content layout","user":{"login":"vangheem","id":524413,"avatar_url":"https://avatars.githubusercontent.com/u/524413?v=3","gravatar_id":"","url":"https://api.github.com/users/vangheem","html_url":"https://github.com/vangheem","followers_url":"https://api.github.com/users/vangheem/followers","following_url":"https://api.github.com/users/vangheem/following{/other_user}","gists_url":"https://api.github.com/users/vangheem/gists{/gist_id}","starred_url":"https://api.github.com/users/vangheem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vangheem/subscriptions","organizations_url":"https://api.github.com/users/vangheem/orgs","repos_url":"https://api.github.com/users/vangheem/repos","events_url":"https://api.github.com/users/vangheem/events{/privacy}","received_events_url":"https://api.github.com/users/vangheem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plone/plone.app.mosaic/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/plone/plone.app.mosaic/milestones/2","html_url":"https://github.com/plone/plone.app.mosaic/milestones/1.0.0","labels_url":"https://api.github.com/repos/plone/plone.app.mosaic/milestones/2/labels","id":1062310,"number":2,"title":"1.0.0","description":null,"creator":{"login":"datakurre","id":160447,"avatar_url":"https://avatars.githubusercontent.com/u/160447?v=3","gravatar_id":"","url":"https://api.github.com/users/datakurre","html_url":"https://github.com/datakurre","followers_url":"https://api.github.com/users/datakurre/followers","following_url":"https://api.github.com/users/datakurre/following{/other_user}","gists_url":"https://api.github.com/users/datakurre/gists{/gist_id}","starred_url":"https://api.github.com/users/datakurre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datakurre/subscriptions","organizations_url":"https://api.github.com/users/datakurre/orgs","repos_url":"https://api.github.com/users/datakurre/repos","events_url":"https://api.github.com/users/datakurre/events{/privacy}","received_events_url":"https://api.github.com/users/datakurre/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":41,"state":"open","created_at":"2015-04-10T17:14:44Z","updated_at":"2015-08-17T15:03:17Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-08-07T14:42:18Z","updated_at":"2015-08-17T15:41:59Z","closed_at":null,"body":"It seems to me that there is no way to change the content layout used. \r\n\r\n1. content is created\r\n2. default layout value is set on creation\r\n3. user can then change selected layout\r\n4. since the layout value is stored on the content from the 2 previous steps, the new layout does not ever get activated\r\n\r\nAm I missing something here?\r\n\r\nSeems to me like I should not be using the view_methods FTI information (with aliases) to provide more layout options.\r\n\r\nThere should be something in the mosaic editor to select the \"custom layout\" for it and then some sort of tile merging and a warning to the user.\r\n\r\nAlso, before you start editing content, you should select the layout.\r\n\r\nThis line is also problematic: https://github.com/plone/plone.app.mosaic/blob/master/src/plone/app/mosaic/widget.py#L52\r\n\r\nI feel like I'm mis-understanding how layouts are supposed to be integrated here though.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/comments/131867159","html_url":"https://github.com/plone/plone.app.mosaic/issues/108#issuecomment-131867159","issue_url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/108","id":131867159,"user":{"login":"vangheem","id":524413,"avatar_url":"https://avatars.githubusercontent.com/u/524413?v=3","gravatar_id":"","url":"https://api.github.com/users/vangheem","html_url":"https://github.com/vangheem","followers_url":"https://api.github.com/users/vangheem/followers","following_url":"https://api.github.com/users/vangheem/following{/other_user}","gists_url":"https://api.github.com/users/vangheem/gists{/gist_id}","starred_url":"https://api.github.com/users/vangheem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vangheem/subscriptions","organizations_url":"https://api.github.com/users/vangheem/orgs","repos_url":"https://api.github.com/users/vangheem/repos","events_url":"https://api.github.com/users/vangheem/events{/privacy}","received_events_url":"https://api.github.com/users/vangheem/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T15:41:59Z","updated_at":"2015-08-17T15:41:59Z","body":"I'm a bit confused on what is going on with the panel work. It seems like I should drop this branch since you'd prefer to keep going using the display drop down with content type aliases to select layout.\r\n\r\nMoreover, it's becoming more obvious that mosiac won't be able to hit my use-case. At least not in a way that seems sane to me. I need static layouts with tiles where the layouts can be changed centrally and it updates the layouts of all the content using that layout. \r\n\r\nIf you're interested, I'm going to look into a different implementation outside of mosaic that allows storage tile configuration outside of the layout. "}}