{"action":"created","issue":{"url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org/issues/2518","repository_url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org","labels_url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org/issues/2518/labels{/name}","comments_url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org/issues/2518/comments","events_url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org/issues/2518/events","html_url":"https://github.com/wellcometrust/wellcomecollection.org/issues/2518","id":316894124,"number":2518,"title":"Generic site content model","user":{"login":"jamesgorrie","id":31692,"avatar_url":"https://avatars3.githubusercontent.com/u/31692?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesgorrie","html_url":"https://github.com/jamesgorrie","followers_url":"https://api.github.com/users/jamesgorrie/followers","following_url":"https://api.github.com/users/jamesgorrie/following{/other_user}","gists_url":"https://api.github.com/users/jamesgorrie/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesgorrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesgorrie/subscriptions","organizations_url":"https://api.github.com/users/jamesgorrie/orgs","repos_url":"https://api.github.com/users/jamesgorrie/repos","events_url":"https://api.github.com/users/jamesgorrie/events{/privacy}","received_events_url":"https://api.github.com/users/jamesgorrie/received_events","type":"User","site_admin":false},"labels":[{"id":540778350,"url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org/labels/feature","name":"feature","color":"5cb8bf","default":false},{"id":757806178,"url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org/labels/thisquarter","name":"thisquarter","color":"fff98e","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-23T16:45:13Z","updated_at":"2018-05-04T14:44:48Z","closed_at":"2018-05-04T14:44:48Z","author_association":"CONTRIBUTOR","body":"# Proposal for generic site content model\r\n\r\nTo be discussed at content meeting if possible.\r\n\r\nWe currently have a model for the different parts that are included on our site, but we don't really have a model for the (templates / containers / pages) of that content.\r\n\r\nTL;DR; We haven't quite nailed the site-content model.\r\n\r\nI am proposing each piece of content has, besides it's normal content:\r\n* Title\r\n* Promo text\r\n  As in the case of installation, would this be best called `summary`? We have `intro` in the exhibition model, but `summary` sounds more correct as it feel like we're asking for \"If you had 10 seconds of someone's time, how would you explain this to them\". To be used in promos, and potentially on the page too for when people haven't come from our list pages.\r\n\r\n* Promo image\r\n  This can or cannot be used in the header. I propose we do until we need a difference, as I am not sure that we have any cases where the content team doesn't do this anyway.\r\n\r\n  Again, name is up for grabs.\r\n\r\n* Body\r\n  A list of slices, currently\r\n  * Text: Multiline, HTML text\r\n  * Captioned Image\r\n  * Captioned image gallery\r\n  * Content list: a list of links to content (currently only Prismic content)\r\n\r\nWhen we use it in this context, promo does really stand out as a weird word.\r\nWe could just have summary and image?\r\n\r\n--- \r\n\r\nThe above isn't new, except for the body bit.\r\n\r\nIt is incredibly easy to get the body into the model of different pieces of content.\r\n\r\nThe piece that has made it hard is that we have not considered it when creating the new templates. \r\n\r\nTo have the ability to add image galleries to exhibitions, and events we have to build the image gallery twice as those two templates are different. So far we've almost got it into events (and thus installations), but events is a big harder.\r\n\r\n---\r\n\r\nI thought this worth raising as when we start looking at templates, it would be good to think about how we render rich content, as well as the normal , standard text stuff.\r\n\r\nAs a point, we have a tool that can remap content if we want to retro-reshape the content:\r\nhttps://github.com/wellcometrust/wellcomecollection.org/tree/master/prismic_remapper"},"comment":{"url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org/issues/comments/386624033","html_url":"https://github.com/wellcometrust/wellcomecollection.org/issues/2518#issuecomment-386624033","issue_url":"https://api.github.com/repos/wellcometrust/wellcomecollection.org/issues/2518","id":386624033,"user":{"login":"jamesgorrie","id":31692,"avatar_url":"https://avatars3.githubusercontent.com/u/31692?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesgorrie","html_url":"https://github.com/jamesgorrie","followers_url":"https://api.github.com/users/jamesgorrie/followers","following_url":"https://api.github.com/users/jamesgorrie/following{/other_user}","gists_url":"https://api.github.com/users/jamesgorrie/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesgorrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesgorrie/subscriptions","organizations_url":"https://api.github.com/users/jamesgorrie/orgs","repos_url":"https://api.github.com/users/jamesgorrie/repos","events_url":"https://api.github.com/users/jamesgorrie/events{/privacy}","received_events_url":"https://api.github.com/users/jamesgorrie/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T14:44:48Z","updated_at":"2018-05-04T14:44:48Z","author_association":"CONTRIBUTOR","body":"This is now happening with the `pages` content type."}}
{"actor":{"display_login":"jamesgorrie"}}