Versions Compared

Key

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

🔍 Problem Statement

  1. SPEQ process may not be complete by the time a new product needs to be launched. In that case the product nutritional information will not sync into Sanity

  2. Certain items don’t have nutritional information in SPEQ or have incorrect information (e.g. packaged goods). Those items require manual overwriting via MDS, bug the content team does not have access to MDS

  3. The nutritional information provided by suppliers may not be mathematically exact. The frontend calculates certain numbers assuming they’re exact. E.g. energy info - calorie (cal) vs kilojoule (kJ)

  4. Misconfigured MDS modifiers sync are added to items every time MDS sync runs. Content team does not have MDS access to reconfigure them and needs to manually delete them after every sync

🛠️ Proposed Solution Plan

Step

Outcome

Work Required

How to test

Eng Task

Owner

ETA

Status

1

Make N&A fields editable

Nutritional and allergen fields are editable in Sanity staging.

Menu sync still runs and overwrites those values.

  • Update Sanity config for N&A fields (read_only false)

N&A Fields can be edited in Sanity staging

Jira Legacy
serverSystem

JIRA

Jira
serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
keyTRX-598

Semih (dev)

Lionel (UAT)

📌 Available to test in Staging:
Jul 12th

✅ Release in Production:
18 Jul

2

Stop MDS Menu sync

(1) new menu items, (2) N&A information and (3) modifiers no longer sync from MDS to Sanity staging.

Content agency has full control of menu content in Sanity.

  • Disable the MDS menu sync and move market to MarketsWithoutMdm

Modifiers are deleted once and don’t sync anymore

Jira Legacy
serverSystem

JIRA

Jira
serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
keyTRX-598

Semih (dev)

Lionel & Silvia (UAT)

📌 Available to test in Staging:

Jul 19th

Jul 31th

✅ Menu Sync only happens in Staging.

3

Remove calculations from FE

Nutritional & allergen information in the frontend is read as-is from Sanity

  • Disable conversions (e.g. kJ, per 100g)

  • Disable rounding

Frontend displays numbers with multiple decimals (e.g. Salt 0.0025g).

Frontend displays different energy values for kJ and cal

Jira Legacy
serverSystem

JIRA

Jira
serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
keyTRX-598

Jira Legacy
serverSystem JIRA
serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
keyTRX-617

Semih (dev)

Lionel (UAT)

📌 Available to test in Staging:

Aug 15th

Aug 18th

🛠️ On Going

✅ Released in Production

4

Control displayed fields and their order

Content team can manage what nutritional fields are displayed in the N&A modal, and the order in which they’re shown. This is done at a market level, not product level

TBD

Change order of nutritional fields in Sanity. Choose nutritional fields to be displayed in Sanity

Jira Legacy
serverSystem

JIRA

Jira
serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
keyTRX-

617

598

Semih (dev)

Lionel (UAT)

📌 Available to test in Staging:

Sep 18th

Aug 18th

🛠️ On Going

✅ Released in Production