gbif / portal16

GBIF.org website
https://www.gbif.org
Apache License 2.0
24 stars 15 forks source link

CMS live preview #1859

Open gbif-portal opened 1 year ago

gbif-portal commented 1 year ago

CMS live preview

Contentful has recently added functionality to allow "live preview" of content. I'm not sure how much would be needed on our end to enable this, but here's the documentation:

https://www.contentful.com/developers/docs/tutorials/general/live-preview/


Github user: @dnoesgaard User: See in registry - Send email System: Chrome 113.0.0 / Mac OS X 10.15.7 Referer: https://www.gbif.org/user/profile Window size: width 1814 - height 1150 API log&_a=(columns:!(_source),filters:!(),index:'3390a910-fcda-11ea-a9ab-4375f2a9d11c',interval:auto,query:(language:kuery,query:''),sort:!())) Site log&_a=(columns:!(_source),filters:!(),index:'5c73f360-fce3-11ea-a9ab-4375f2a9d11c',interval:auto,query:(language:kuery,query:''),sort:!())) System health at time of feedback: OPERATIONAL

MortenHofft commented 1 year ago

Marking up the fields is probably straight forward. But we also process the fields (for markdown, formatting dates) and for that I would expect more work. As far as I remember we also merge different locales without keeping track of the individual fields - that sounds like it could also require some rewriting. How would you prioritise this? One version is that we simply keep it in mind when we implement new pages that use Contentful.

dnoesgaard commented 1 year ago

For now, I would put it in the nice-to-have category.