...
Show Restaurant List with validate have one.
Show Items List with validate have one.
Just add items of “item” type
Validate messages and layout with designers
Intl Whitelabel App
Task 1 - Update GraphQL Query to get new data
Add new objects stores and items in src/queries/sanity/feature-qr-code-refill-drinks.graphql query
DOD-LIKE
Codegen should not be broken and
apollo:generate
command should work without problem after add the new GraphQL files
Task 2 - Update hook for get new objects of sanity (validate cache)
...
Update src/hooks/use-feature-qrcode-refill-drinks/use-feature-qrcode-refill-drinks.ts hook for get stores and items of sanity.
Add this new data in cache.
DOD-LIKE
Get data with success;
Create or adjust unit tests for this flow;
Create cache with success
Task 3 - Validate if purchased products have a refill for this store
Validate if the items purchased have a refill drink and if this store gives a refill drink.
Task 3 - Create a new request for backend “intl-whitelabel-graphql” - GetRefillDrinkQRCode (Request GraphQL implementation)
...