...
New feature flag for front-end
New feature flag for back-end
Task 2— Create Shared Schemas
Should settings schemas to service mode and duration times. (intl-sanity-shared-schemas)
Task 3— Create Sanity settings
Configuration of service modes
Duration of bottom sticker - refill drinks
Duration of recent order - refill drinks
...
(intl-whitelabel-cms)
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.
Integration intl-sanity-shared-schemas with intl-whitelabel-cms:
Checkout na main
Git pull
yarn build
git tag com a versão nova
git push das tags (git push --tags)
npm publish
Task 4— Create Bottom Sheet with QRCode in Home Page and Finish Order.
path:
workspaces/frontend/src/components/layout/index.tsx
Should create a new component 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
...
Task
...
5 — Create componente to show QRCode in Recent Orders.
path:
workspaces/frontend/src/components/layout/index.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
...
Task
...
6 — Validations of durations of QR code - Recent Order
if hash is expired, should not show on the QRCode card.
Should not removed hash the LocalStorage.
The order must have status equal to INSERT_SUCCESSFUL or UPDATE_SUCCESSFUL
The createAt updateAt field in the Order must be the calculation basis. (Raphael Ferreira Gomes I need to confirm with you if the field will be createAt)
Task
...
7 — Validations of durations of QR code - Home Page and Finish Order (little Chicken)
if hash is expired, should not show bottom sheet.
Should not removed hash the LocalStorage.
The order must have status equal to INSERT_SUCCESSFUL or UPDATE_SUCCESSFUL
The createAt updateAt field in the Order must be the calculation basis.(Raphael Ferreira Gomes I need to confirm with you if the field will be createAt)
Task 8 — Validate Sanity if save hash in LocalStorage
After finishing Order, must save hash in LocalStorage, according to service mode settings
RBI::ORDER_REFILL_ID
key in LocalStorage.
Impact Analysis
Hero component
...