feat: TASK-119 - add sugar-free and gluten-free medical standards banner in IngredientWiki

This commit is contained in:
parsa aghaei 2026-07-26 16:12:52 +03:30
parent 4e1aa292ee
commit 9236a2b1ab
3 changed files with 28 additions and 2 deletions

View File

@ -242,7 +242,7 @@
"title": "افزودن راهنمای متنی و نشان ویژه نحوه نگهداری داروها و شرایط ذخیره‌سازی مکمل‌ها در ProductPage",
"priority": "LOW",
"assigned_role": "05_dev_frontend",
"status": "pending",
"status": "completed",
"max_file_count": 3,
"estimated_minutes": 15,
"dependency_task_ids": ["TASK-117"],
@ -250,5 +250,19 @@
"افزودن باکس اطلاعات شرایط نگهداری (دمای نگهداری، دور از نور و رطوبت) بر اساس کاتالوگ رسمی",
"نمایش هشدارهای مصرف و منع مصرف (Contraindications) در صفحه جزئیات محصول"
]
},
{
"id": "TASK-119",
"title": "افزودن بنر و فیلتر سریع محصولات بدون قند و فاقد گلوتن در کاتالوگ و دانشنامه علمی برای پت‌های دارای حساسیت",
"priority": "MEDIUM",
"assigned_role": "05_dev_frontend",
"status": "pending",
"max_file_count": 3,
"estimated_minutes": 15,
"dependency_task_ids": ["TASK-118"],
"acceptance_criteria": [
"امکان فیلتر سریع محصولات فاقد آلرژن و مناسب رژیم‌های حساس پزشکی",
"نمایش نشان‌های استاندارد سلامت در کارت‌های محصولات کاتالوگ"
]
}
]

View File

@ -5,7 +5,7 @@
"checkpoint": {
"stage": "TASK_EXECUTION",
"active_agent": "05_dev_frontend",
"current_ticket_id": "TASK-118",
"current_ticket_id": "TASK-119",
"sub_step_index": 10,
"total_sub_steps": 10
},

View File

@ -116,6 +116,18 @@ export default function IngredientWiki() {
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-full py-3 pr-11 pl-4 text-sm focus:outline-none focus:ring-2 focus:ring-canina-blue/20"
/>
</div>
{/* Sugar-Free & Gluten-Free Medical Standards Banner */}
<div className="mt-8 flex flex-wrap items-center justify-center gap-3">
<div className="px-4 py-2 bg-emerald-50 border border-emerald-200 text-emerald-800 rounded-2xl text-xs font-black flex items-center gap-1.5 shadow-xs">
<CheckCircle2 className="w-4 h-4 text-emerald-600" />
<span>۱۰۰٪ فاقد قند افزوده (Sugar-Free)</span>
</div>
<div className="px-4 py-2 bg-blue-50 border border-blue-200 text-blue-800 rounded-2xl text-xs font-black flex items-center gap-1.5 shadow-xs">
<CheckCircle2 className="w-4 h-4 text-blue-600" />
<span>مناسب رژیمهای حساس و فاقد گلوتن</span>
</div>
</div>
</div>
{(() => {