Versions Compared

Key

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

...

After the change is implemented and the feature toggle is activated, PT market can update sanity “Livro de Reclamações“ image with the appropriate link (and remove the extra text link that exists today, if desired) to solve the issue.

We consider this the preferred solution, taking into consideration the following Pros and Cons:

Pros:

...

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:

...

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