From 4fde6357d1216ded4fbbb08630f4f7d51d0a8e89 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Sat, 1 Nov 2025 20:35:55 +0330 Subject: [PATCH] Updated --- frontend/NOTES.md | 24 ++-- frontend/components/global/CategoryCard.vue | 2 +- frontend/components/global/FilterButton.vue | 2 +- frontend/components/global/MegaMenu.vue | 31 ++--- frontend/components/global/ProductsGrid.vue | 10 +- .../product/ChatBox/ChatBoxContainer.vue | 1 + .../components/product/ProductHero/index.vue | 42 +++++-- .../profile/global/ProfileSidebar.vue | 27 ++--- frontend/composables/api/chat/useGetChat.ts | 27 ++--- .../composables/api/product/useSaveProduct.ts | 29 +++++ .../api/products/useSavedProducts.ts | 40 +++++++ frontend/constants/index.ts | 3 + frontend/layouts/Profile.vue | 4 +- .../profile/purchases-and-orders/[id].vue | 4 +- .../pages/profile/saved-products/index.vue | 108 ++++++++++++++++++ frontend/types/global.d.ts | 5 +- 16 files changed, 292 insertions(+), 67 deletions(-) create mode 100644 frontend/composables/api/product/useSaveProduct.ts create mode 100644 frontend/composables/api/products/useSavedProducts.ts create mode 100644 frontend/pages/profile/saved-products/index.vue diff --git a/frontend/NOTES.md b/frontend/NOTES.md index f568447..b767f73 100644 --- a/frontend/NOTES.md +++ b/frontend/NOTES.md @@ -1,8 +1,22 @@ # Todos -[ ] Mega menu for categories in menu +[x] Mega menu for categories in menu -[ ] Marquee animation bug ( Replace with nuxt ui marquee ) +[x] Marquee animation bug + +[x] Add favorite button for products + +[x] Change footer to a dynamic ray animation + +[x] Create saved products tab in user panel + +[x] Add save button to product page + +[x] Add save button to product page + +[x] Make mega menu responsive + +[x] Fix mega menu bugs [ ] Pause marquee on mouse hover @@ -14,8 +28,4 @@ Test showcase background with gradient -[ ] Add favorite button for products - -[x] Change footer to a dynamic ray animation - -[ ] Compress all large pictures and videos \ No newline at end of file +[ ] Compress all large pictures and videos diff --git a/frontend/components/global/CategoryCard.vue b/frontend/components/global/CategoryCard.vue index e3dd03f..b11fb07 100644 --- a/frontend/components/global/CategoryCard.vue +++ b/frontend/components/global/CategoryCard.vue @@ -26,7 +26,7 @@ const { colorObject } = useImageColor(`#category-image-${id.value}`);