From 080d2424c857d96005103765d884f43ccb5abb17 Mon Sep 17 00:00:00 2001 From: Pantry Lead Agent Date: Tue, 24 Feb 2026 00:05:44 +0000 Subject: [PATCH] feat: integrate TagBadge and TagPicker in inventory (#28 #29) Issue #28 - Tag assignment in AddItemForm: - Replace custom tag selection with TagPicker component - Simplified code (removed manual tag state management) - Cleaner UI with reusable component Issue #29 - Display tags in InventoryList: - Replace UBadge with TagBadge in InventoryCard - Automatic contrast color for readability - Consistent tag display across app Closes #28, #29 --- app/components/inventory/AddItemForm.vue | 76 +--------------------- app/components/inventory/InventoryCard.vue | 13 ++-- 2 files changed, 8 insertions(+), 81 deletions(-) diff --git a/app/components/inventory/AddItemForm.vue b/app/components/inventory/AddItemForm.vue index 3fe8082..cf16d44 100644 --- a/app/components/inventory/AddItemForm.vue +++ b/app/components/inventory/AddItemForm.vue @@ -68,37 +68,7 @@ -
- -
- - {{ tag.icon }} {{ tag.name }} ✕ - -
- - -
-

{{ category.name }}

-
- - {{ tag.icon }} {{ tag.name }} - -
-
-
+
@@ -129,7 +99,6 @@