Versions Compared

Key

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

...

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 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.

Pros:

  • Doesn’t impact the existing Footer ImageWidgets, since either a new field is added, or an entire new object is created.

Cons:

  • If the footer is automatically synchronized by other systems (eg. MDM), the synchronization process will also have to be updated (more investigation is needed).

  • Changes span more than one repository and requires manual update of packages.