From 13fdf60840a3a970924cdf83113b496d2bd5b085 Mon Sep 17 00:00:00 2001 From: Oyinlola Olasunkanmi Raymond <60177090+olasunkanmi-SE@users.noreply.github.com> Date: Sun, 21 Jan 2024 17:30:48 +0800 Subject: [PATCH] Development (#486) * include restaurant information as part of the menu response (#471) * include restaurant information as part of the menu response * fix build errors * fix build errors --------- Co-authored-by: Olasunkanmi Oyinlola * 349 place order (#473) * include restaurant information as part of the menu response * fix build errors * fix build errors * fix the create order flow, from frontend to backend --------- Co-authored-by: Olasunkanmi Oyinlola * 349 place order (#476) * 349 place order (#478) * include restaurant information as part of the menu response * fix build errors * fix build errors * fix the create order flow, from frontend to backend * place order, add success animation and clear local storage if the cart has been filled for an hr and more * fix build errors * fix build errors * move the implementation of adding expiry to cart to addItemToCart handler * fix issues with creating notes when none was passwd * npm audit to upgrade packages with issues --------- Co-authored-by: Olasunkanmi Oyinlola * display api error message * display api error message * save the ordersummary of each order, to recreate the order in order history * include mogoDB transaction during order creation * fix build error * 349 place order (#473) * include restaurant information as part of the menu response * fix build errors * fix build errors * fix the create order flow, from frontend to backend --------- Co-authored-by: Olasunkanmi Oyinlola * rebase dev branch with release * 349 place order (#478) * include restaurant information as part of the menu response * fix build errors * fix build errors * fix the create order flow, from frontend to backend * place order, add success animation and clear local storage if the cart has been filled for an hr and more * fix build errors * fix build errors * move the implementation of adding expiry to cart to addItemToCart handler * fix issues with creating notes when none was passwd * npm audit to upgrade packages with issues --------- Co-authored-by: Olasunkanmi Oyinlola * display api error message * display api error message --------- Co-authored-by: Olasunkanmi Oyinlola --- backend/src/restaurant/restaurant.mapper.ts | 1 - frontend/package-lock.json | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/restaurant/restaurant.mapper.ts b/backend/src/restaurant/restaurant.mapper.ts index 4fea14f8..8ffacf44 100644 --- a/backend/src/restaurant/restaurant.mapper.ts +++ b/backend/src/restaurant/restaurant.mapper.ts @@ -7,7 +7,6 @@ import { RestaurantData } from './../infrastructure/data_access/repositories/sch import { LocationMapper } from './../location/location.mapper'; import { SingleClientMapper } from './../singleclient/singleclient.mapper'; import { Restaurant } from './restaurant'; - @Injectable() export class RestaurantMapper implements IMapper { constructor( diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 33b59e6f..573bb1ec 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -19,6 +19,7 @@ "lodash": "^4.17.21", "lodash.get": "4.4.2", "lottie-react": "^2.4.0", + "lottie-react": "^2.4.0", "nanoid": "^4.0.2", "react": "^18.2.0", "react-bootstrap": "^2.7.0",