From b29e17998de56e01c97fd1cdcc560548dc621821 Mon Sep 17 00:00:00 2001 From: Pantry Lead Agent Date: Wed, 25 Feb 2026 01:28:07 +0000 Subject: [PATCH 1/2] feat: create LowStockDashboard component (#68) --- .../inventory/LowStockDashboard.vue | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 app/components/inventory/LowStockDashboard.vue diff --git a/app/components/inventory/LowStockDashboard.vue b/app/components/inventory/LowStockDashboard.vue new file mode 100644 index 0000000..0d4e9c4 --- /dev/null +++ b/app/components/inventory/LowStockDashboard.vue @@ -0,0 +1,110 @@ + + + From d23644d90fdd09e10e6356f77cf87a2bac7efb0b Mon Sep 17 00:00:00 2001 From: Pantry Lead Agent Date: Wed, 25 Feb 2026 01:28:18 +0000 Subject: [PATCH 2/2] feat: integrate LowStockDashboard into inventory page (#68) --- app/pages/index.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/app/pages/index.vue b/app/pages/index.vue index d71f6e2..9cf9103 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -83,12 +83,20 @@ @updated="handleItemUpdated" /> - -
+ +
+ + + +
@@ -169,4 +177,9 @@ const handleItemUpdated = async (item: any) => { inventoryListRef.value?.reload() await loadInventoryData() } + +const handleRestockFromDashboard = (item: any) => { + // Open edit modal with the item (user can use Restock button there) + editingItem.value = item +}