Versions Compared

Key

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

Repos that we’ll change

Whitelabel: https://github.com/rbilabs/intl-whitelabel-app

Figma: https://www.figma.com/file/sfH3mHXoEUfHbm5qMul0Vn/branch/VNb1dzeeYVV0IphMPJo0lt/Popeyes?type=design&node-id=3189-125398&t=b8GDYgoS6YtWAr0K-0  

...

Task summary

Whitelabel:

  • Task 1: Create a new feature flag (enable-free-addon-on-cart)

    • This flag will condition the new logic added in the AddOnsItemsContainer

  • Task 2: Add a description on the AddOnsItemsContainer section for the addon-free items (canceled)

  • Task 3: Add a logic on AddOnsItemsContainer to show the free item or the paid item

...

Tasks breakdown

Task 2: Add a description on the AddOnsItemsContainer section for the addon-free items (CANCELED)

...

Rules:

  • If the add-on free toggle is ON we’ll show the description in the section

...

  • This change new feature will be made inside the AddOnsItemsContainer

  • The fixed text should be in Lokalize

 

DOD-LIKE

  • Respect all points from the Rules section

  • The styles should be as Figma

  • The fixed text should be in Lokalize

  • Implement the unit tests

  • Validate in web and native

OBS: Task 2 was canceled because will not make sense to show this desc if we can have more than 1 item free crated on Sanity. This desc will be on the cart item for each item in an isolated way. Aligned with Hainzenreder, Diego.

 

Task 3: Add a logic on AddOnsItemsContainer to show the free item and the paid item

...