From 96d7fe026319e763f0e38c038ac93d4972de2db4 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Sun, 12 Apr 2026 18:07:46 -0700 Subject: [PATCH] =?UTF-8?q?feat(community):=20Vue=203=20frontend=20?= =?UTF-8?q?=E2=80=94=20CommunityFeedPanel,=20PostCard,=20PublishPlanModal,?= =?UTF-8?q?=20Community=20tab=20in=20MealPlanView?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/CommunityFeedPanel.vue | 231 ++++++++++++++++++ frontend/src/components/CommunityPostCard.vue | 171 +++++++++++++ frontend/src/components/MealPlanView.vue | 18 +- frontend/src/components/PublishPlanModal.vue | 230 +++++++++++++++++ frontend/src/stores/community.ts | 123 ++++++++++ 5 files changed, 770 insertions(+), 3 deletions(-) create mode 100644 frontend/src/components/CommunityFeedPanel.vue create mode 100644 frontend/src/components/CommunityPostCard.vue create mode 100644 frontend/src/components/PublishPlanModal.vue create mode 100644 frontend/src/stores/community.ts diff --git a/frontend/src/components/CommunityFeedPanel.vue b/frontend/src/components/CommunityFeedPanel.vue new file mode 100644 index 0000000..915106a --- /dev/null +++ b/frontend/src/components/CommunityFeedPanel.vue @@ -0,0 +1,231 @@ + + + + + + diff --git a/frontend/src/components/CommunityPostCard.vue b/frontend/src/components/CommunityPostCard.vue new file mode 100644 index 0000000..5665c5d --- /dev/null +++ b/frontend/src/components/CommunityPostCard.vue @@ -0,0 +1,171 @@ + + + + + + diff --git a/frontend/src/components/MealPlanView.vue b/frontend/src/components/MealPlanView.vue index 7f6264e..f9b141f 100644 --- a/frontend/src/components/MealPlanView.vue +++ b/frontend/src/components/MealPlanView.vue @@ -26,7 +26,7 @@ @add-meal-type="onAddMealType" /> - +
+ +
+ +
@@ -76,10 +86,12 @@ import { useMealPlanStore } from '../stores/mealPlan' import MealPlanGrid from './MealPlanGrid.vue' import ShoppingListPanel from './ShoppingListPanel.vue' import PrepSessionView from './PrepSessionView.vue' +import CommunityFeedPanel from './CommunityFeedPanel.vue' const TABS = [ - { id: 'shopping', label: 'Shopping List' }, - { id: 'prep', label: 'Prep Schedule' }, + { id: 'shopping', label: 'Shopping List' }, + { id: 'prep', label: 'Prep Schedule' }, + { id: 'community', label: 'Community' }, ] as const type TabId = typeof TABS[number]['id'] diff --git a/frontend/src/components/PublishPlanModal.vue b/frontend/src/components/PublishPlanModal.vue new file mode 100644 index 0000000..d1831d5 --- /dev/null +++ b/frontend/src/components/PublishPlanModal.vue @@ -0,0 +1,230 @@ + + +