...
Configuration of service modes (intl-whitelabel-cms)
Should to be create a new feature in Marketing Content / Features/ Feature QR Code Refill Drinks
Should create settings to service mode. (pick-up, diner, etc)
Should create two new field time to Bottom Sheets and Recente Order in minutes.
Should to be create a new feature in Marketing Content / Features/ Feature QR Code Refill Drinks / List of storesShould create a new field items to set restaurants.Should create settings to service mode.Should create two new field time to Bottom Sheets and Recente Order by service mode in minutes.
...
Codegen should not be broken and
apollo:generate
command should works work without problem after add the new graphql files
...
Display Bottom Sheet with QR only on home screen
Show this component just has HashCode in LocalStorage
Show this component while the time configured in sanity does not expire
Show this component just Home Page
Show this component if new feature flag “
ENABLE_QRCODE_REFILL
" is activated.Expand content on click
The Start Order should appear just above the bottom sheet, but when the bottom sheet is expanded the start order button should be overlaid by the bottom sheet and the background has to be obscured, to highlight the qrcode. Attention, the POC don’t doesn’t have this comportment, so we need to implement this.
Feature flag
ENABLE_BOTTOM_SERVICE_MODE
must continue to work , because this flag active other actives another component in footer.Should show this QRCode only on mobile devices.
...
Task 6 - Create
...
a component to show QRCode in Recent Orders and Finish Order
path:
workspaces/frontend/src/pages/account/account-orders/index.tsx
path finish order:
workspaces/frontend/src/pages/order-confirmation/order-confirmation.tsx
Should create a new card component in Recent Order to show QRCode with hash value, this hash must get the Storage using a key
Should use QRCode component in
workspaces/frontend/src/components/qrcode/qr-code.tsx
...
if hash is expired, should not show on the QRCode card
Should not removed remove hash the LocalStorage
The order must have status equal to INSERT_SUCCESSFUL or UPDATE_SUCCESSFUL
The updateAt field in the Order must be the calculation basis
...
if hash is expired, should not show bottom sheet
Should not removed remove hash the LocalStorage
The order must have status equal to INSERT_SUCCESSFUL or UPDATE_SUCCESSFUL
The updateAt field in the Order must be the calculation basis
Task 9 - Validate Sanity if
...
hash value is saved in LocalStorage (back-end necessary)
After finishing Order, must save hash value in LocalStorage, according to service mode settings
RBI::ORDER_REFILL_ID
key in LocalStorage
...