Commit Graph

655 Commits

Author SHA1 Message Date
parsa aghaei
d08cacad47 ci(deploy): trigger CI/CD pipeline test for node:20-alpine and set -e deployment script
Some checks failed
Deploy Canina / deploy (push) Failing after 1m17s
2026-07-27 14:30:34 +03:30
parsa aghaei
1ba944733c merge: merge develop into main with full-stack Video management, UI/UX fixes, Refill Cashback Loyalty, and Header Mega-Menu
All checks were successful
Deploy Canina / deploy (push) Successful in 44s
2026-07-27 13:57:01 +03:30
parsa aghaei
eb6318ecc1 feat(catalog-drag-scroll): add interactive mouse drag-to-scroll and wheel scroll handlers to catalog category pills 2026-07-27 13:40:43 +03:30
parsa aghaei
f089f7ed91 fix(prisma-videos-ide): resolve IDE TypeScript error by accessing video model through typed getter helper in VideosService 2026-07-27 13:39:35 +03:30
parsa aghaei
5c4a553f0c fix(catalog-hscroll-cms-buttons): add sleek custom horizontal scrollbar for catalog categories and fix high-contrast purple styling for admin CMS buttons 2026-07-27 12:36:23 +03:30
parsa aghaei
3e9fffe71f feat(cms-builder-videos-hydration-catalog): resolve IDE Prisma types, fix Header hydration error, add Media Upload & Aparat embed to Admin Videos, fix Catalog scrollbar/spacing, and overhaul CMS into section-by-section Visual Page Builder 2026-07-27 12:25:36 +03:30
parsa aghaei
2b1bd9efcb feat(header-refill-videos): restore full DB seeding, wire homepage videos to backend API, upgrade Refill to Cashback Loyalty system, and refactor Header into 2-tier Mega-Menu layout 2026-07-27 12:07:29 +03:30
parsa aghaei
83ccdc19ef fix(imports): add missing useSettingsStore import in VetGallery.tsx 2026-07-27 11:56:18 +03:30
parsa aghaei
b66fb9f564 fix(imports): add missing SafeImage import in VetGallery.tsx 2026-07-27 11:55:57 +03:30
parsa aghaei
d608c48c09 fix(imports): add missing Link import in SmartAdvisor.tsx 2026-07-27 11:54:59 +03:30
parsa aghaei
52f0caccfc feat(videos): add Video module in NestJS, build Video CRUD in Admin Panel, sync dynamic video fetching on frontend, and update catalog links to /catalog 2026-07-27 11:54:16 +03:30
parsa aghaei
85d5a11a5e feat(refill): overhaul subscription model to Smart Course Reservation & 5% Next-Order Loyalty Voucher reward 2026-07-27 11:46:45 +03:30
parsa aghaei
b5650c4cbb feat(refill): map refill state in cartStore, clarify free loyalty 5% discount UX, and render Refill badges across full app and admin 2026-07-27 11:39:23 +03:30
parsa aghaei
24c361c4ff feat(admin): overhaul orders management page with interactive modal, postal tracking code editor, inline status selector and invoice print 2026-07-27 11:27:47 +03:30
parsa aghaei
d1802581eb fix(dashboard): unify order status badge labels with details modal 2026-07-27 11:21:14 +03:30
parsa aghaei
dca72c768b fix(invoice,order): display readable tracking ID, delay print dialog until images load, fix CANINA brand & nameFa, and add payment breakdown 2026-07-26 20:52:43 +03:30
parsa aghaei
a0145ffd9a fix(pets): persist supplement consumptions array in usePetStore and update target pet on checkout 2026-07-26 20:44:55 +03:30
parsa aghaei
5be2b9693d fix(dashboard): calculate total charity dynamically from order history and profile total 2026-07-26 20:41:14 +03:30
parsa aghaei
377ec7fb34 fix(orders,wallet): implement full-stack wallet deduction in PostgreSQL and sync charity donation total in user profile 2026-07-26 20:40:01 +03:30
parsa aghaei
51b2f811fa fix(orders): add type assertion to order creation payload to eliminate IDE TS server cache warning 2026-07-26 20:34:07 +03:30
parsa aghaei
55f5a5570c fix(prisma,admin,auth): regenerate prisma client for isRefill, make charity round step configurable in admin, and fix root cause pet store reset 2026-07-26 20:32:15 +03:30
parsa aghaei
bdf8856883 fix(auth,checkout): add Axios 401/403 auto-logout response interceptor and fix charity round-up 10k exact math 2026-07-26 20:23:27 +03:30
parsa aghaei
72badb1a7b fix(auth,backend): synchronize auth state across stores, reset guest profile data, and resolve backend spec compilation 2026-07-26 20:18:35 +03:30
parsa aghaei
4979d4120c fix(checkout,orders,admin): resolve guest checkout address bug, persist refill and charity in DB, and fix admin media thumbnail cropping 2026-07-26 20:11:26 +03:30
parsa aghaei
989f77e106 fix(shop): map requiresRx in productService, enable backend query param filtering, and classify 11 prescription vs 24 OTC products 2026-07-26 20:03:45 +03:30
parsa aghaei
df6c56b1e8 fix(frontend): resolve dosage_logic property type check in CatalogClient.tsx 2026-07-26 19:54:22 +03:30
parsa aghaei
6932f091c4 feat(frontend): create user-facing interactive catalog page (/catalog) with PDF print exporter and remove internal PDF link 2026-07-26 19:53:34 +03:30
parsa aghaei
abf22cc18d fix: sync db schema via prisma db push, add suppressHydrationWarning, and handle 401 profile errors gracefully 2026-07-26 19:46:36 +03:30
parsa aghaei
73e26d8f12 feat: complete end-to-end sync across NestJS backend, Next.js app, and React admin panel 2026-07-26 19:38:34 +03:30
parsa aghaei
510c2f90de feat(admin): add WholesaleApplications page for B2B clinic license review and role approval 2026-07-26 19:37:01 +03:30
parsa aghaei
a999627d28 feat(admin): build CMS management page for dynamic Hero Banners and Vet Testimonials 2026-07-26 19:31:36 +03:30
parsa aghaei
f6bc0b0e42 feat(frontend): wire PrescriptionUploadModal to media API and verify Next.js build 2026-07-26 19:30:21 +03:30
parsa aghaei
3cfa99766c feat(frontend): integrate B2B wholesale license application form with NestJS API 2026-07-26 19:29:38 +03:30
parsa aghaei
b1027903d6 feat(frontend): map SmartAdvisor rules dynamically from backend API with medical rationale rendering 2026-07-26 19:24:50 +03:30
parsa aghaei
2ec77f0e1a feat(frontend): connect VetGallery to live API testimonials and verify production build 2026-07-26 19:22:44 +03:30
parsa aghaei
0bdb500554 feat(backend): support prescriptionUrl attachment in CreateOrderDto and OrdersService 2026-07-26 19:21:46 +03:30
parsa aghaei
7cc5c7d176 feat(backend): implement WholesaleModule for B2B wholesale applications and admin approvals 2026-07-26 19:20:29 +03:30
parsa aghaei
0046fb7106 feat(backend): implement CmsModule for full CRUD of HeroBanners, VetTestimonials, and SmartAdvisorRules 2026-07-26 19:17:23 +03:30
parsa aghaei
0162bc7b6d fix: resolve TypeScript build error in SmartAdvisor, wire live API products, and verify 3-app production build 2026-07-26 18:42:32 +03:30
parsa aghaei
6a8d20f81a feat: add SeoModule, rate limiting, and complete agency task backlog execution 2026-07-26 17:55:54 +03:30
parsa aghaei
0a04bac013 feat: complete specialist review and initial agency alignment for Canina Iran 2026-07-26 17:54:46 +03:30
parsa aghaei
5e8a919dd0 fix: renumber agents — 00_intake stays 00, others shift +1
00_auditor -> 01_auditor
01_ceo     -> 02_ceo
02_product_manager -> 03_product_manager
03_architect       -> 04_architect
04_dev_backend     -> 05_dev_backend
05_dev_frontend    -> 06_dev_frontend
06_qa_engineer     -> 07_qa_engineer
07_visual_qa       -> 08_visual_qa
08_devops_security -> 09_devops_security
09_tech_writer     -> 10_tech_writer
10_deploy          -> 11_deploy
11_seo_content     -> 12_seo_content

Update all references in AGENCY.md, state.json, backlog.json
2026-07-26 17:34:50 +03:30
parsa aghaei
f437f46e2e feat: AI Software Agency v3 — complete overhaul
- Add AGENCY.md: master orchestration protocol (universal AI editor entry point)
- Add 00_intake.md: user requirements & intent detection agent
- Add 10_deploy.md: production deployment agent
- Add 11_seo_content.md: SEO specialist & content writer agent (dual mode)
- Add specs/reviews/: directory for specialist review reports

REVIEW PIPELINE (new):
- Each specialist reviews ONLY their own domain:
  - 04_dev_backend: API, services, DB, auth, DTOs
  - 05_dev_frontend: components, state, UX code, performance
  - 07_visual_qa: UX patterns, a11y, responsive, design system
  - 08_devops_security: secrets, Docker, CVEs, CI/CD
  - 11_seo_content: meta tags, content quality, structured data
- 02_product_manager: synthesis mode reads all findings, deduplicates,
  creates unified prioritized backlog

All agents now support dual modes (REVIEW + IMPLEMENT/ENFORCE/CREATE/INSPECT)
state.json v3: adds project_intent, review_phase tracking, resume_context
backlog.json: fixed structure {tasks: [...]}, added sub_steps per task
orchestrate.py: simplified to state management utility (no fake AI calls)
2026-07-26 17:30:05 +03:30
parsa aghaei
08c968300f feat: TASK-101 - optimize Prisma schema, compound indexes, wholesale price and Rx fields 2026-07-26 16:25:01 +03:30
parsa aghaei
5377ddbfbf docs: audit and re-prioritize backlog across database, NestJS backend, admin panel, and testing layers 2026-07-26 16:20:59 +03:30
parsa aghaei
a7abd9a389 feat: TASK-121 - add official Germany catalog dosage table link to SmartAdvisor 2026-07-26 16:19:46 +03:30
parsa aghaei
167983bbbb feat: TASK-120 - add quick share dosage and product info button to ProductPage 2026-07-26 16:15:44 +03:30
parsa aghaei
9236a2b1ab feat: TASK-119 - add sugar-free and gluten-free medical standards banner in IngredientWiki 2026-07-26 16:12:52 +03:30
parsa aghaei
4e1aa292ee feat: TASK-118 - add storage conditions and contraindications bar to ProductPage 2026-07-26 16:10:07 +03:30
parsa aghaei
17372f9d4d feat: TASK-117 - add official Germany catalog authenticity badge & hotline to CartDrawer 2026-07-26 16:08:22 +03:30