From 6b1c34ceffd7306539b992782fccb6ad327e904f Mon Sep 17 00:00:00 2001 From: Pantry Lead Agent Date: Tue, 24 Feb 2026 00:05:12 +0000 Subject: [PATCH] feat: create TagBadge and TagPicker components (#26 #27) TagBadge: - Display tag with icon, name, color - Automatic contrast text color (light/dark) - Optional removable with X button - Configurable size (sm/md/lg) TagPicker: - Select multiple tags by category - Visual feedback for selected tags - Category-based organization - Position category prioritized - Two-way binding with v-model Closes #26, #27 --- app/components/tags/TagBadge.vue | 71 +++++++++++++++++ app/components/tags/TagPicker.vue | 125 ++++++++++++++++++++++++++++++ 2 files changed, 196 insertions(+) create mode 100644 app/components/tags/TagBadge.vue create mode 100644 app/components/tags/TagPicker.vue diff --git a/app/components/tags/TagBadge.vue b/app/components/tags/TagBadge.vue new file mode 100644 index 0000000..c77e87b --- /dev/null +++ b/app/components/tags/TagBadge.vue @@ -0,0 +1,71 @@ + + + diff --git a/app/components/tags/TagPicker.vue b/app/components/tags/TagPicker.vue new file mode 100644 index 0000000..c0d585a --- /dev/null +++ b/app/components/tags/TagPicker.vue @@ -0,0 +1,125 @@ + + +