Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Cons:

  • If a bussiness case where an Footer Image Widget One possible con could be a business requirement in which the image cannot be a link, but the field attributionLink still has to have a link but cannot be clickable exists, this solution won’t workvalue. However, we can be certain this is not the case today since the WL GraphQL query doesn’t include it.

Create a new Option object for ImageLinks or add a new toggle field to imageWidget. The first requires adding a new case in the footer column switch, and implementing a new component for images with link. The second is very similar to Option 1, except that the condition for the link would be the new field toggle instead of attributionLink. Both cases will require changes in the sanity schema, that in turn, might impact any automatic synchronization between sanity and other systems.

...