Versions Compared

Key

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

...

  • We need change or create a new component for show message about closed restaurant. In this POC I’m use the component src/components/modal-no-delivery-stores-open/no-stores-open-delivery-modal.tsx this component don’t is used currently in the app, so we can change some thing and use, this is a example of component:

  • In the file of this component we need to change some things for work, for example we need to transform in a React component and pass the attribute for next open date.

  • The component to be create is this:

...

  • Create this component in src/components/address-modal/new-component

  • We need to pass the next open date and next Day Open

  • The button "Use Different Address“ return to screen of search delivery.

...

  • Need to validate if restaurant has a service mode "Order Pickup", case not we need to disable this button

    • validate if it has service mode correct

    • validate if this service mode is opened

  • Get information that back-end returned, you can get a storeId and source the information in Sanity, or get the RestaurantData of back-end and search in this object

POC - intl-whitelabel-app

...