Versions Compared

Key

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

...

  • Task 1 - Create a Feature Flag

  • Task 2 - Add imagesByChannels in Graphql

  • Task 3 - Add new interfaces and changes

  • Task 4 - Implement logic to prepared image show per channel

...

Tasks breakdown

Intl Whitelabel APP

...

  • Should add new imagesByChannels interface with imageDelivery, imageKiosk and imageRestaurant.

  • Should add imagesByChannel in IPickerItem

  • Should add imagesByChannel in IBasePicker

  • Should add imagesByChannel in IBaseCombo

  • Should add imagesByChannel in IBaseItem

  • Should add imagesByChannel in IMainMenuPickerView

Task

...

4 - Implement logic to

...

image show per channel.

Link reference: https://github.com/rbilabs/intl-whitelabel-app/pull/1841/files#diff-4516aec29cee97c67b42f2b6e7ebb3e2a78da046f48149a0002e9cb815c0e505

  • Should create a new function to change image.

    • Example: changeImageByChannel

      • workspaces/frontend/src/state/main-menu/new-main-menu.tsx

    • This function should be used everywhere

DOD-LIKE

  • Should add Piotr and Marco in Code Review.

Task 3 - Implement logic to change image in the Ketchup

  • Must use image change function in Ketchup (implemented in the task 4)

...

POC:

https://github.com/rbilabs/intl-whitelabel-app/pull/1841