equinor / energyvision

Home of the equinor.com website
https://www.equinor.com
MIT License
33 stars 8 forks source link

Proofing metadata handling #502

Open nilsml opened 2 years ago

nilsml commented 2 years ago

Ensure that the editor experience for meta data is good enough(™) with fallbacks and defaults.

SvSven commented 2 years ago

From a technical perspective: We need to make sure each field has a fallback, for example meta title uses the page title, open graph image uses the hero image, etc.

In terms of UX: We can look into the new Field Groups feature by Sanity to provide a better UX than the collapsed fields we have now: https://www.sanity.io/docs/field-groups

We can have a look at the pages that have been published in Sanity now to see if/how these fields are being used so we have a better picture.

fernandolucchesi commented 1 year ago

@SvSven I believe we have a default meta in place today. don't we?

SvSven commented 1 year ago

Not in the query at least https://github.com/equinor/energyvision/blob/main/web/lib/queries/common/seoAndSomeFields.ts

nilsml commented 1 year ago

@fernando to check and see if we already have this