feat(admin): add full-size image preview lightbox modal on product image click in products list
Some checks failed
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s
Deploy Canina / deploy (push) Has been cancelled

This commit is contained in:
parsa aghaei 2026-09-02 10:54:16 +03:30
parent 3cbcad7b65
commit 6fa1f2c906
12 changed files with 5271 additions and 5192 deletions

View File

@ -28,6 +28,8 @@ import {
RotateCcw,
CheckCircle2,
Compass,
Maximize2,
ExternalLink,
} from 'lucide-react';
import { toast } from 'react-hot-toast';
import api, { BASE_DOMAIN } from '../services/api';
@ -208,6 +210,7 @@ export default function Products() {
// Modal State
const [isModalOpen, setIsModalOpen] = useState(false);
const [previewImage, setPreviewImage] = useState<{ url: string; title: string; subtitle?: string; artNo?: string } | null>(null);
const [isMediaSelectorOpen, setIsMediaSelectorOpen] = useState(false);
const [mediaTargetField, setMediaTargetField] = useState<'imageUrl' | 'ogImage' | 'podcastUrl' | 'podcastCover' | 'videoUrl' | 'videoCover' | 'pdfUrl' | 'pdfCover' | 'gallery'>('imageUrl');
const [editingProduct, setEditingProduct] = useState<Product | null>(null);
@ -1004,14 +1007,27 @@ export default function Products() {
<tr key={product.id} className="hover:bg-gray-50/50 transition-colors">
<td className="py-3 px-6">
{product.imageUrl && !imageErrors[product.id] ? (
<div className="w-12 h-12 rounded-xl bg-gray-50 border border-gray-200 p-1 flex items-center justify-center overflow-hidden">
<button
type="button"
onClick={() => setPreviewImage({
url: getProductImageUrl(product.imageUrl),
title: product.nameFa || product.name || '',
subtitle: product.nameEn,
artNo: product.artNo
})}
className="w-12 h-12 rounded-xl bg-gray-50 border border-gray-200 p-1 flex items-center justify-center overflow-hidden hover:scale-105 hover:border-purple-400 hover:shadow-md transition-all cursor-zoom-in group relative"
title="کلیک برای مشاهده تصویر در سایز بزرگ"
>
<img
src={getProductImageUrl(product.imageUrl)}
alt=""
onError={() => setImageErrors(prev => ({ ...prev, [product.id]: true }))}
className="max-w-full max-h-full object-contain object-center"
className="max-w-full max-h-full object-contain object-center transition-transform group-hover:scale-110"
/>
</div>
<div className="absolute inset-0 bg-purple-950/20 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center rounded-xl">
<Maximize2 className="w-4 h-4 text-white drop-shadow" />
</div>
</button>
) : (
<div className="w-12 h-12 rounded-xl bg-gray-100 flex items-center justify-center text-gray-400">
<ImageIcon className="w-5 h-5" />
@ -3201,6 +3217,81 @@ export default function Products() {
onConfirm={confirmDelete}
onCancel={() => setDeleteTargetId(null)}
/>
{/* Product Image Lightbox Modal */}
{previewImage && (
<div
className="fixed inset-0 z-50 flex items-center justify-center p-4 sm:p-6 bg-black/80 backdrop-blur-sm animate-in fade-in duration-200 font-vazir"
dir="rtl"
onClick={() => setPreviewImage(null)}
>
<div
className="bg-white rounded-3xl max-w-2xl w-full overflow-hidden shadow-2xl border border-gray-100 flex flex-col animate-in zoom-in-95 duration-200"
onClick={(e) => e.stopPropagation()}
>
{/* Header */}
<div className="px-6 py-4 border-b border-gray-100 flex items-center justify-between bg-white shrink-0">
<div className="flex flex-col gap-0.5 text-right">
<div className="flex items-center gap-2">
<h3 className="text-base font-black text-gray-900">
{previewImage.title || 'تصویر محصول'}
</h3>
{previewImage.artNo && (
<span className="px-2 py-0.5 bg-purple-50 text-purple-700 rounded-lg text-xs font-mono font-bold border border-purple-100">
{previewImage.artNo}
</span>
)}
</div>
{previewImage.subtitle && (
<span className="text-xs text-gray-400 font-mono" dir="ltr">
{previewImage.subtitle}
</span>
)}
</div>
<div className="flex items-center gap-2">
<a
href={previewImage.url}
target="_blank"
rel="noreferrer"
className="px-3 py-1.5 rounded-xl bg-gray-50 text-gray-600 hover:text-purple-600 hover:bg-purple-50 border border-gray-200 text-xs font-bold transition-all flex items-center gap-1.5"
title="باز کردن در تب جدید"
>
<span>باز کردن لینک اصلی</span>
<ExternalLink className="w-3.5 h-3.5" />
</a>
<button
type="button"
onClick={() => setPreviewImage(null)}
className="w-8 h-8 rounded-xl bg-gray-100 text-gray-400 hover:text-gray-700 hover:bg-gray-200 flex items-center justify-center transition-colors cursor-pointer"
>
<X className="w-4 h-4" />
</button>
</div>
</div>
{/* Image Preview Canvas */}
<div className="p-6 sm:p-10 bg-gray-50/70 flex items-center justify-center min-h-[320px] max-h-[70vh] overflow-auto select-none">
<img
src={previewImage.url}
alt={previewImage.title}
className="max-h-[60vh] max-w-full object-contain rounded-2xl drop-shadow-xl hover:scale-105 transition-transform duration-300"
/>
</div>
{/* Footer */}
<div className="px-6 py-3 bg-gray-50 border-t border-gray-100 flex items-center justify-between text-xs text-gray-500 font-medium">
<span>کیفیت استاندارد کاتالوگ کنینا</span>
<button
type="button"
onClick={() => setPreviewImage(null)}
className="px-4 py-2 bg-gray-900 text-white rounded-xl font-bold hover:bg-purple-600 transition-colors cursor-pointer"
>
بستن پنجره
</button>
</div>
</div>
</div>
)}
</div>
);
}

View File

@ -3,7 +3,7 @@
"1": "app.module.ts",
"2": "AdminTransactionFilterDto",
"3": "productService.ts",
"4": "api",
"4": "PetProfile.tsx",
"5": "CmsController",
"6": "TicketsService",
"7": "SmsSettingsPage.tsx",
@ -13,7 +13,7 @@
"11": "WikiController",
"12": "index.ts",
"13": "app-audit-verification.e2e-spec.js",
"14": "UserDashboard.tsx",
"14": "toPersian",
"15": "src/services/api.ts",
"16": "DoctorQueryDto",
"17": "schema.ts",
@ -57,7 +57,7 @@
"55": "UITexts.tsx",
"56": "Orders.tsx",
"57": "Role & Core Objective",
"58": "components/Skeleton.tsx",
"58": "UserDashboard.tsx",
"59": "compilerOptions",
"60": "CreateUserDto",
"61": "ProductPage.tsx",
@ -89,10 +89,10 @@
"87": "dependencies",
"88": "payment.controller.ts",
"89": "seed-products.ts",
"90": "useCartStore",
"90": "OrderService",
"91": "Reconciled Audit Roles & Assignments",
"92": "OrdersService",
"93": "HomeClient.tsx",
"93": "ArchivePage.tsx",
"94": "Phase 3.1 — Human Review Preparation and Master Backlog Critique",
"95": "wiki/[slug]/page.tsx",
"96": "compilerOptions",
@ -150,7 +150,7 @@
"148": "track/page.tsx",
"149": "trust-seals/page.tsx",
"150": "Product Requirement Document (PRD)",
"151": "eslint-plugin-prettier",
"151": "AuthService",
"152": "auth.service.ts",
"153": "exclude",
"154": "Baseline Command Plan & Reconciled Command History",
@ -184,7 +184,7 @@
"182": "🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)",
"183": "🚀 SEO & Content Strategy Review (12_seo_content)",
"184": "MetricsController",
"185": "globals",
"185": "eslint-config-prettier",
"186": "seed-ui-texts.ts",
"187": "seed-wiki.ts",
"188": "update-blog.dto.ts",
@ -196,7 +196,7 @@
"194": "Raw Finding Verification & Disposition Report",
"195": "React + TypeScript + Vite",
"196": "Select.tsx",
"197": "lib/services/api.ts",
"197": "userStore.ts",
"198": "Reviews.tsx",
"199": "SmsLogQueryDto",
"200": "application/README.md",
@ -219,10 +219,11 @@
"217": "sync_honest_manifest.js",
"218": "sync_manifest.js",
"219": "FormField.tsx",
"220": "typescript-eslint",
"220": "jest",
"221": "Textarea.tsx",
"222": "admin-panel/tsconfig.json",
"223": "tailwindcss",
"224": "typescript",
"225": "next.config.ts",
"226": "Shabnam Font README",
"227": "AGENTS.md",

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
"1": "app.module.ts",
"2": "AdminTransactionFilterDto",
"3": "productService.ts",
"4": "PetProfile.tsx",
"4": "api",
"5": "CmsController",
"6": "TicketsService",
"7": "SmsSettingsPage.tsx",
@ -13,7 +13,7 @@
"11": "WikiController",
"12": "index.ts",
"13": "app-audit-verification.e2e-spec.js",
"14": "toPersian",
"14": "UserDashboard.tsx",
"15": "src/services/api.ts",
"16": "DoctorQueryDto",
"17": "schema.ts",
@ -57,7 +57,7 @@
"55": "UITexts.tsx",
"56": "Orders.tsx",
"57": "Role & Core Objective",
"58": "UserDashboard.tsx",
"58": "components/Skeleton.tsx",
"59": "compilerOptions",
"60": "CreateUserDto",
"61": "ProductPage.tsx",
@ -65,7 +65,7 @@
"63": "dependencies",
"64": "compilerOptions",
"65": "admin.service.ts",
"66": "ApiOperation",
"66": "AdminQueryDto",
"67": "admin.module.ts",
"68": "useSettingsStore",
"69": "Required Review Group Closures",
@ -89,10 +89,10 @@
"87": "dependencies",
"88": "payment.controller.ts",
"89": "seed-products.ts",
"90": "OrderService",
"90": "useCartStore",
"91": "Reconciled Audit Roles & Assignments",
"92": "OrdersService",
"93": "ArchivePage.tsx",
"93": "HomeClient.tsx",
"94": "Phase 3.1 — Human Review Preparation and Master Backlog Critique",
"95": "wiki/[slug]/page.tsx",
"96": "compilerOptions",
@ -121,13 +121,13 @@
"119": "compilerOptions",
"120": "compilerOptions",
"121": "backend/README.md",
"122": "AdminService",
"122": "AdminController",
"123": "UsersService",
"124": "Repository Map",
"125": "validate_integrity.js",
"126": "admin-panel/package.json",
"127": "Sahel-Font",
"128": "ProductDto",
"128": "AdminService",
"129": "Reports.tsx",
"130": "Sahel-Font",
"131": "Role & Core Objective",
@ -150,7 +150,7 @@
"148": "track/page.tsx",
"149": "trust-seals/page.tsx",
"150": "Product Requirement Document (PRD)",
"151": "AuthService",
"151": "eslint-plugin-prettier",
"152": "auth.service.ts",
"153": "exclude",
"154": "Baseline Command Plan & Reconciled Command History",
@ -184,7 +184,7 @@
"182": "🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)",
"183": "🚀 SEO & Content Strategy Review (12_seo_content)",
"184": "MetricsController",
"185": "app.e2e-spec.js",
"185": "globals",
"186": "seed-ui-texts.ts",
"187": "seed-wiki.ts",
"188": "update-blog.dto.ts",
@ -196,7 +196,7 @@
"194": "Raw Finding Verification & Disposition Report",
"195": "React + TypeScript + Vite",
"196": "Select.tsx",
"197": "userStore.ts",
"197": "lib/services/api.ts",
"198": "Reviews.tsx",
"199": "SmsLogQueryDto",
"200": "application/README.md",
@ -219,11 +219,10 @@
"217": "sync_honest_manifest.js",
"218": "sync_manifest.js",
"219": "FormField.tsx",
"220": "eslint-config-prettier",
"220": "typescript-eslint",
"221": "Textarea.tsx",
"222": "admin-panel/tsconfig.json",
"223": "jest",
"224": "typescript",
"223": "tailwindcss",
"225": "next.config.ts",
"226": "Shabnam Font README",
"227": "AGENTS.md",
@ -232,7 +231,6 @@
"230": "instructions.md",
"231": "@nestjs/schematics",
"232": "prisma",
"233": "Param",
"234": "source-map-support",
"235": "ts-loader",
"236": "ts-node",
@ -264,7 +262,6 @@
"262": "User Logout API",
"263": "generate-openapi.d.ts",
"264": "@types/compression",
"265": "globals",
"266": "@types/express",
"267": "@types/jest",
"268": "@types/multer",

View File

@ -1,16 +1,16 @@
# Graph Report - canina (2026-09-02)
## Corpus Check
- 599 files · ~1,078,309 words
- 599 files · ~1,079,118 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 4208 nodes · 7642 edges · 314 communities (213 shown, 101 thin omitted)
- 4208 nodes · 7642 edges · 311 communities (212 shown, 99 thin omitted)
- Extraction: 96% EXTRACTED · 4% INFERRED · 0% AMBIGUOUS · INFERRED: 288 edges (avg confidence: 0.79)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `0da7cf14`
- Built from commit: `517d611b`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@ -19,7 +19,7 @@
- app.module.ts
- AdminTransactionFilterDto
- productService.ts
- PetProfile.tsx
- api
- CmsController
- TicketsService
- SmsSettingsPage.tsx
@ -29,7 +29,7 @@
- WikiController
- index.ts
- app-audit-verification.e2e-spec.js
- toPersian
- UserDashboard.tsx
- src/services/api.ts
- DoctorQueryDto
- schema.ts
@ -72,7 +72,7 @@
- UITexts.tsx
- Orders.tsx
- Role & Core Objective
- UserDashboard.tsx
- components/Skeleton.tsx
- compilerOptions
- CreateUserDto
- ProductPage.tsx
@ -80,7 +80,7 @@
- dependencies
- compilerOptions
- admin.service.ts
- ApiOperation
- AdminQueryDto
- admin.module.ts
- useSettingsStore
- Required Review Group Closures
@ -104,10 +104,10 @@
- dependencies
- payment.controller.ts
- seed-products.ts
- OrderService
- useCartStore
- Reconciled Audit Roles & Assignments
- OrdersService
- ArchivePage.tsx
- HomeClient.tsx
- Phase 3.1 — Human Review Preparation and Master Backlog Critique
- wiki/[slug]/page.tsx
- compilerOptions
@ -136,13 +136,13 @@
- compilerOptions
- compilerOptions
- backend/README.md
- AdminService
- AdminController
- UsersService
- Repository Map
- validate_integrity.js
- admin-panel/package.json
- Sahel-Font
- ProductDto
- AdminService
- Reports.tsx
- Sahel-Font
- Role & Core Objective
@ -165,7 +165,7 @@
- track/page.tsx
- trust-seals/page.tsx
- Product Requirement Document (PRD)
- AuthService
- eslint-plugin-prettier
- auth.service.ts
- exclude
- Baseline Command Plan & Reconciled Command History
@ -198,7 +198,7 @@
- 🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)
- 🚀 SEO & Content Strategy Review (12_seo_content)
- MetricsController
- app.e2e-spec.js
- globals
- seed-ui-texts.ts
- seed-wiki.ts
- update-blog.dto.ts
@ -210,7 +210,7 @@
- Raw Finding Verification & Disposition Report
- React + TypeScript + Vite
- Select.tsx
- userStore.ts
- lib/services/api.ts
- Reviews.tsx
- SmsLogQueryDto
- application/README.md
@ -233,11 +233,10 @@
- sync_honest_manifest.js
- sync_manifest.js
- FormField.tsx
- eslint-config-prettier
- typescript-eslint
- Textarea.tsx
- admin-panel/tsconfig.json
- jest
- typescript
- tailwindcss
- next.config.ts
- Shabnam Font README
- AGENTS.md
@ -246,7 +245,6 @@
- instructions.md
- @nestjs/schematics
- prisma
- Param
- source-map-support
- ts-loader
- ts-node
@ -274,7 +272,6 @@
- User Login API
- User Logout API
- @types/compression
- globals
- @types/express
- @types/jest
- @types/multer
@ -334,11 +331,11 @@
backend/src/orders/orders.controller.ts → frontend/admin-panel/src/types/admin.ts
## Import Cycles
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/services/authService.ts -> frontend/application/lib/services/api.ts`
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/api.ts`
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/services/authService.ts -> frontend/application/lib/services/api.ts`
- 4-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/orderService.ts -> frontend/application/lib/services/api.ts`
## Communities (314 total, 101 thin omitted)
## Communities (311 total, 99 thin omitted)
### Community 0 - "Roles"
Cohesion: 0.24
@ -346,7 +343,7 @@ Nodes (13): Roles(), PaymentController, ApiBearerAuth, ApiOperation, ApiTags, Bo
### Community 1 - "app.module.ts"
Cohesion: 0.06
Nodes (40): AuthModule, Module, B2BModule, Module, BannersModule, Module, CmsModule, Module (+32 more)
Nodes (43): AuthModule, Module, B2BModule, Module, BannersModule, Module, CmsModule, Module (+35 more)
### Community 2 - "AdminTransactionFilterDto"
Cohesion: 0.22
@ -354,15 +351,15 @@ Nodes (7): AdminTransactionFilterDto, ApiPropertyOptional, IsIn, IsNumber, IsOpt
### Community 3 - "productService.ts"
Cohesion: 0.06
Nodes (39): buildTorobProductSpec(), buildTorobProductTitle(), dynamic, GET(), revalidate, dynamic, GET(), revalidate (+31 more)
Nodes (38): buildTorobProductSpec(), buildTorobProductTitle(), dynamic, GET(), revalidate, dynamic, GET(), revalidate (+30 more)
### Community 4 - "PetProfile.tsx"
Cohesion: 0.12
Nodes (18): metadata, FeaturedProducts(), ProductCard(), OrderSuccess(), PetProfile(), SearchResultsPage(), CURRENT_SYMPTOMS, MEDICAL_HISTORIES (+10 more)
### Community 4 - "api"
Cohesion: 0.13
Nodes (14): metadata, ContactInfoItem, OrderDetailsModal(), OrderDetailsModalProps, CURRENT_SYMPTOMS, MEDICAL_HISTORIES, SmartAdvisor(), SmartAdvisorProps (+6 more)
### Community 5 - "CmsController"
Cohesion: 0.10
Nodes (14): CmsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+6 more)
Cohesion: 0.12
Nodes (12): CmsController, ApiBearerAuth, ApiOperation, ApiTags, Controller, Delete, Get, Param (+4 more)
### Community 6 - "TicketsService"
Cohesion: 0.09
@ -378,7 +375,7 @@ Nodes (17): SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiT
### Community 9 - "devDependencies"
Cohesion: 0.08
Nodes (25): devDependencies, eslint, @eslint/eslintrc, eslint-plugin-prettier, globals, @nestjs/cli, @nestjs/testing, prettier (+17 more)
Nodes (25): devDependencies, eslint, eslint-config-prettier, @eslint/eslintrc, jest, @nestjs/cli, @nestjs/testing, prettier (+17 more)
### Community 10 - "CreateReviewDto"
Cohesion: 0.07
@ -396,9 +393,9 @@ Nodes (24): backend, frontend, playwright.config.ts, @playwright/test, tests/**/
Cohesion: 0.07
Nodes (26): EnvironmentVariables, IsNotEmpty, IsOptional, IsString, validateEnv(), CustomHttpExceptionFilter, Catch, PrismaExceptionFilter (+18 more)
### Community 14 - "toPersian"
Cohesion: 0.17
Nodes (20): HomeClient(), VerifyContent(), AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), CheckoutPage() (+12 more)
### Community 14 - "UserDashboard.tsx"
Cohesion: 0.13
Nodes (28): VerifyContent(), AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), AuthModal(), AuthModalProps (+20 more)
### Community 15 - "src/services/api.ts"
Cohesion: 0.06
@ -530,7 +527,7 @@ Nodes (43): AuthController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse,
### Community 49 - "devDependencies"
Cohesion: 0.11
Nodes (19): autoprefixer, devDependencies, autoprefixer, eslint, @eslint/js, postcss, tailwindcss, @types/node (+11 more)
Nodes (19): autoprefixer, devDependencies, autoprefixer, eslint, @eslint/js, globals, postcss, @types/node (+11 more)
### Community 50 - "devDependencies"
Cohesion: 0.12
@ -564,21 +561,21 @@ Nodes (15): Badge(), BadgeProps, BadgeVariant, variantStyles, Skeleton(), Monito
Cohesion: 0.09
Nodes (22): CREATE MODE — Normal Operation, Expected JSON Output Schema, File Scope Boundary, Forbidden Actions, MODE 1: REVIEW (called during Review Phase), MODE 2: CONTENT CREATION (standalone task from backlog), Operating Modes, Operational Rules & Boundaries (+14 more)
### Community 58 - "UserDashboard.tsx"
Cohesion: 0.12
Nodes (11): DeleteConfirmModal(), DeleteConfirmModalProps, OrderDetailsModal(), OrderRowSkeleton(), PetProfileSkeleton(), Skeleton(), SkeletonProps, CreateTicketPayload (+3 more)
### Community 58 - "components/Skeleton.tsx"
Cohesion: 0.24
Nodes (4): OrderRowSkeleton(), PetProfileSkeleton(), Skeleton(), SkeletonProps
### Community 59 - "compilerOptions"
Cohesion: 0.06
Nodes (30): compilerOptions, allowSyntheticDefaultImports, baseUrl, declaration, emitDecoratorMetadata, esModuleInterop, experimentalDecorators, forceConsistentCasingInFileNames (+22 more)
### Community 60 - "CreateUserDto"
Cohesion: 0.21
Cohesion: 0.23
Nodes (10): CreateUserDto, ApiProperty, ApiPropertyOptional, IsEmail, IsNotEmpty, IsNumber, IsOptional, IsString (+2 more)
### Community 61 - "ProductPage.tsx"
Cohesion: 0.10
Nodes (19): ProductImageZoomModalProps, CalculatorState, GalleryMediaItem, ICON_MAP, isVideoUrl(), ProductImageZoomModal, ProductPage(), ProductReviews (+11 more)
Cohesion: 0.09
Nodes (20): PodcastInlinePlayer(), ProductImageZoomModalProps, CalculatorState, GalleryMediaItem, ICON_MAP, isVideoUrl(), ProductImageZoomModal, ProductPage() (+12 more)
### Community 62 - "RevalidationService"
Cohesion: 0.14
@ -593,20 +590,20 @@ Cohesion: 0.10
Nodes (20): compilerOptions, allowImportingTsExtensions, erasableSyntaxOnly, lib, module, moduleDetection, moduleResolution, noEmit (+12 more)
### Community 65 - "admin.service.ts"
Cohesion: 0.19
Nodes (8): CouponTargetInput, PaginationQuery, applyRounding(), calculateSellingPrice(), DEFAULT_PRICING_SETTINGS, PricingSettings, RoundingMode, CANONICAL_ALIASES
Cohesion: 0.14
Nodes (15): CouponTargetInput, PaginationQuery, ProductDto, ApiPropertyOptional, IsArray, IsBoolean, IsNumber, IsOptional (+7 more)
### Community 66 - "ApiOperation"
### Community 66 - "AdminQueryDto"
Cohesion: 0.13
Nodes (9): ApiOperation, ApiQuery, Get, Query, AdminProductQueryDto, AdminQueryDto, ApiPropertyOptional, IsOptional (+1 more)
Nodes (8): ApiQuery, Get, Query, AdminProductQueryDto, AdminQueryDto, ApiPropertyOptional, IsOptional, IsString
### Community 67 - "admin.module.ts"
Cohesion: 0.13
Nodes (13): AdminModule, Module, ReportsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller (+5 more)
### Community 68 - "useSettingsStore"
Cohesion: 0.08
Nodes (29): HomeClientProps, B2BLandingClient(), BlogPost, BlogPreviewSection(), BrandLogo(), BrandLogoProps, ContactInfoItem, FAQItem (+21 more)
Cohesion: 0.10
Nodes (22): AuthModal, B2BPortal, CartDrawer, ClientLayout(), B2BLandingClient(), BrandLogo(), BrandLogoProps, FAQItem (+14 more)
### Community 69 - "Required Review Group Closures"
Cohesion: 0.10
@ -692,6 +689,10 @@ Nodes (19): CreateEBankCheckoutDto, ApiProperty, ApiPropertyOptional, IsNotEmpty
Cohesion: 0.17
Nodes (12): prisma, main(), prisma, determineSuitableFor(), findOrCreateCategory(), getProductImageUrl(), main(), parseSize() (+4 more)
### Community 90 - "useCartStore"
Cohesion: 0.07
Nodes (27): ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP, CartDrawer(), DeleteConfirmModal(), DeleteConfirmModalProps, FeaturedProducts() (+19 more)
### Community 91 - "Reconciled Audit Roles & Assignments"
Cohesion: 0.12
Nodes (15): 10. Documentation Engineer, 1. Lead Architect / Orchestrator, 2. React / Vite Storefront Auditor, 3. NestJS Backend Auditor, 4. Admin Features Auditor, 5. Database & Data Integrity Auditor, 6. Security Auditor, 7. TypeScript & Code Quality Auditor (+7 more)
@ -700,9 +701,9 @@ Nodes (15): 10. Documentation Engineer, 1. Lead Architect / Orchestrator, 2. Rea
Cohesion: 0.07
Nodes (35): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+27 more)
### Community 93 - "ArchivePage.tsx"
Cohesion: 0.13
Nodes (15): ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP, BannerPlacement(), BannerPlacementProps, ProductCardSkeleton(), B2BInquiry (+7 more)
### Community 93 - "HomeClient.tsx"
Cohesion: 0.12
Nodes (17): HomeClient(), HomeClientProps, BannerPlacement(), BannerPlacementProps, BlogPreviewSection(), Hero(), StatCounter(), TestimonialsSection() (+9 more)
### Community 94 - "Phase 3.1 — Human Review Preparation and Master Backlog Critique"
Cohesion: 0.13
@ -749,8 +750,8 @@ Cohesion: 0.17
Nodes (11): 1. Detect Test Runner from Tech Stack, 2. Execution Output Capture (Mandatory), 3. Acceptance Criteria Verification, 4. Failure Routing Protocol, 5. Success Routing Protocol, 6. Forbidden Actions, Expected JSON Output Schema, Operational Rules & Boundaries (+3 more)
### Community 106 - "cms.controller.ts"
Cohesion: 0.37
Nodes (10): CreateHeroBannerDto, CreateSmartAdvisorRuleDto, CreateVetTestimonialDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNumber, IsOptional (+2 more)
Cohesion: 0.21
Nodes (12): Body, Post, CreateHeroBannerDto, CreateSmartAdvisorRuleDto, CreateVetTestimonialDto, ApiProperty, ApiPropertyOptional, IsBoolean (+4 more)
### Community 107 - "PaginationDto"
Cohesion: 0.09
@ -812,9 +813,9 @@ Nodes (9): compilerOptions, esModuleInterop, module, moduleResolution, skipLibCh
Cohesion: 0.20
Nodes (9): Compile and run the project, Deployment, Description, License, Project setup, Resources, Run tests, Stay in touch (+1 more)
### Community 122 - "AdminService"
Cohesion: 0.10
Nodes (11): AdminController, ApiBearerAuth, ApiTags, Body, Controller, Post, Put, UseGuards (+3 more)
### Community 122 - "AdminController"
Cohesion: 0.17
Nodes (12): AdminController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Param (+4 more)
### Community 123 - "UsersService"
Cohesion: 0.07
@ -836,10 +837,6 @@ Nodes (9): name, private, scripts, build, dev, lint, preview, type (+1 more)
Cohesion: 0.20
Nodes (9): Arch Linux, Contributors, Install, Known problems for variable version, License, Sahel-Font, To Do (variable), طریقه استفاده از نسخه متغیر variable (+1 more)
### Community 128 - "ProductDto"
Cohesion: 0.16
Nodes (7): ProductDto, ApiPropertyOptional, IsArray, IsBoolean, IsNumber, IsOptional, IsString
### Community 129 - "Reports.tsx"
Cohesion: 0.20
Nodes (7): BestSellerItem, CategoryDistItem, COLORS, CustomTooltipProps, ReportData, TopCouponItem, Reports
@ -901,8 +898,8 @@ Cohesion: 0.25
Nodes (6): app_module_1, core_1, fs, path, swagger_1, yaml
### Community 144 - "SafeImage.tsx"
Cohesion: 0.10
Nodes (20): BackButton(), BackButtonProps, BlogPostClientProps, PLAYBACK_RATES, PodcastInlinePlayer(), PodcastInlinePlayerProps, PLAYBACK_RATES, PodcastPlayerModal() (+12 more)
Cohesion: 0.08
Nodes (23): BackButton(), BackButtonProps, BlogCategory, BlogPostItem, BlogPostClientProps, BlogPost, ProductDetailModalProps, PLAYBACK_RATES (+15 more)
### Community 145 - "RouteErrorBoundary"
Cohesion: 0.22
@ -1040,10 +1037,6 @@ Nodes (3): Overview & Content Foundation, SEO & Content Requirements, 🚀 SEO &
Cohesion: 0.29
Nodes (5): ApiExcludeController, MetricsController, Controller, Get, Res
### Community 185 - "app.e2e-spec.js"
Cohesion: 0.50
Nodes (3): app_module_1, supertest_1, testing_1
### Community 191 - "graphify reference: add a URL and watch a folder"
Cohesion: 0.50
Nodes (3): For /graphify add, For --watch, graphify reference: add a URL and watch a folder
@ -1068,9 +1061,9 @@ Nodes (3): Expanding the ESLint configuration, React Compiler, React + TypeScrip
Cohesion: 0.50
Nodes (3): Select, SelectOption, SelectProps
### Community 197 - "userStore.ts"
Cohesion: 0.08
Nodes (37): AuthModal, B2BPortal, CartDrawer, ClientLayout(), LoginModal, AuthModal(), AuthModalProps, extractOtpFromText() (+29 more)
### Community 197 - "lib/services/api.ts"
Cohesion: 0.09
Nodes (17): LoginModal, B2BPortal(), LoginModal(), LoginModalProps, PrescriptionUploadModal(), PrescriptionUploadModalProps, ApiErrorPayload, baseURL (+9 more)
### Community 198 - "Reviews.tsx"
Cohesion: 0.40
@ -1111,7 +1104,7 @@ Nodes (3): GET(), handleRevalidate(), POST()
## Knowledge Gaps
- **1347 isolated node(s):** `$schema`, `collection`, `sourceRoot`, `deleteOutDir`, `name` (+1342 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **101 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **99 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
@ -1125,8 +1118,8 @@ _Questions this graph is uniquely positioned to answer:_
- **What connects `$schema`, `collection`, `sourceRoot` to the rest of the system?**
_1347 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `app.module.ts` be split into smaller, more focused modules?**
_Cohesion score 0.06078316773816481 - nodes in this community are weakly interconnected._
_Cohesion score 0.055299539170506916 - nodes in this community are weakly interconnected._
- **Should `productService.ts` be split into smaller, more focused modules?**
_Cohesion score 0.05780885780885781 - nodes in this community are weakly interconnected._
- **Should `PetProfile.tsx` be split into smaller, more focused modules?**
_Cohesion score 0.11822660098522167 - nodes in this community are weakly interconnected._
_Cohesion score 0.06299603174603174 - nodes in this community are weakly interconnected._
- **Should `api` be split into smaller, more focused modules?**
_Cohesion score 0.12648221343873517 - nodes in this community are weakly interconnected._

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,16 @@
# Graph Report - canina (2026-09-02)
## Corpus Check
- 599 files · ~1,079,118 words
- 599 files · ~1,079,429 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 4208 nodes · 7642 edges · 311 communities (212 shown, 99 thin omitted)
- 4208 nodes · 7642 edges · 312 communities (211 shown, 101 thin omitted)
- Extraction: 96% EXTRACTED · 4% INFERRED · 0% AMBIGUOUS · INFERRED: 288 edges (avg confidence: 0.79)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `517d611b`
- Built from commit: `3cbcad7b`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@ -19,7 +19,7 @@
- app.module.ts
- AdminTransactionFilterDto
- productService.ts
- api
- PetProfile.tsx
- CmsController
- TicketsService
- SmsSettingsPage.tsx
@ -29,7 +29,7 @@
- WikiController
- index.ts
- app-audit-verification.e2e-spec.js
- UserDashboard.tsx
- toPersian
- src/services/api.ts
- DoctorQueryDto
- schema.ts
@ -72,7 +72,7 @@
- UITexts.tsx
- Orders.tsx
- Role & Core Objective
- components/Skeleton.tsx
- UserDashboard.tsx
- compilerOptions
- CreateUserDto
- ProductPage.tsx
@ -104,10 +104,10 @@
- dependencies
- payment.controller.ts
- seed-products.ts
- useCartStore
- OrderService
- Reconciled Audit Roles & Assignments
- OrdersService
- HomeClient.tsx
- ArchivePage.tsx
- Phase 3.1 — Human Review Preparation and Master Backlog Critique
- wiki/[slug]/page.tsx
- compilerOptions
@ -165,7 +165,7 @@
- track/page.tsx
- trust-seals/page.tsx
- Product Requirement Document (PRD)
- eslint-plugin-prettier
- AuthService
- auth.service.ts
- exclude
- Baseline Command Plan & Reconciled Command History
@ -198,7 +198,7 @@
- 🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)
- 🚀 SEO & Content Strategy Review (12_seo_content)
- MetricsController
- globals
- eslint-config-prettier
- seed-ui-texts.ts
- seed-wiki.ts
- update-blog.dto.ts
@ -210,7 +210,7 @@
- Raw Finding Verification & Disposition Report
- React + TypeScript + Vite
- Select.tsx
- lib/services/api.ts
- userStore.ts
- Reviews.tsx
- SmsLogQueryDto
- application/README.md
@ -233,10 +233,11 @@
- sync_honest_manifest.js
- sync_manifest.js
- FormField.tsx
- typescript-eslint
- jest
- Textarea.tsx
- admin-panel/tsconfig.json
- tailwindcss
- typescript
- next.config.ts
- Shabnam Font README
- AGENTS.md
@ -331,11 +332,11 @@
backend/src/orders/orders.controller.ts → frontend/admin-panel/src/types/admin.ts
## Import Cycles
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/api.ts`
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/services/authService.ts -> frontend/application/lib/services/api.ts`
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/api.ts`
- 4-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/orderService.ts -> frontend/application/lib/services/api.ts`
## Communities (311 total, 99 thin omitted)
## Communities (312 total, 101 thin omitted)
### Community 0 - "Roles"
Cohesion: 0.24
@ -351,15 +352,15 @@ Nodes (7): AdminTransactionFilterDto, ApiPropertyOptional, IsIn, IsNumber, IsOpt
### Community 3 - "productService.ts"
Cohesion: 0.06
Nodes (38): buildTorobProductSpec(), buildTorobProductTitle(), dynamic, GET(), revalidate, dynamic, GET(), revalidate (+30 more)
Nodes (39): buildTorobProductSpec(), buildTorobProductTitle(), dynamic, GET(), revalidate, dynamic, GET(), revalidate (+31 more)
### Community 4 - "api"
Cohesion: 0.13
Nodes (14): metadata, ContactInfoItem, OrderDetailsModal(), OrderDetailsModalProps, CURRENT_SYMPTOMS, MEDICAL_HISTORIES, SmartAdvisor(), SmartAdvisorProps (+6 more)
### Community 4 - "PetProfile.tsx"
Cohesion: 0.12
Nodes (18): metadata, FeaturedProducts(), ProductCard(), OrderSuccess(), PetProfile(), SearchResultsPage(), CURRENT_SYMPTOMS, MEDICAL_HISTORIES (+10 more)
### Community 5 - "CmsController"
Cohesion: 0.12
Nodes (12): CmsController, ApiBearerAuth, ApiOperation, ApiTags, Controller, Delete, Get, Param (+4 more)
Cohesion: 0.10
Nodes (14): CmsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+6 more)
### Community 6 - "TicketsService"
Cohesion: 0.09
@ -375,7 +376,7 @@ Nodes (17): SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiT
### Community 9 - "devDependencies"
Cohesion: 0.08
Nodes (25): devDependencies, eslint, eslint-config-prettier, @eslint/eslintrc, jest, @nestjs/cli, @nestjs/testing, prettier (+17 more)
Nodes (25): devDependencies, eslint, @eslint/eslintrc, eslint-plugin-prettier, globals, @nestjs/cli, @nestjs/testing, prettier (+17 more)
### Community 10 - "CreateReviewDto"
Cohesion: 0.07
@ -393,9 +394,9 @@ Nodes (24): backend, frontend, playwright.config.ts, @playwright/test, tests/**/
Cohesion: 0.07
Nodes (26): EnvironmentVariables, IsNotEmpty, IsOptional, IsString, validateEnv(), CustomHttpExceptionFilter, Catch, PrismaExceptionFilter (+18 more)
### Community 14 - "UserDashboard.tsx"
Cohesion: 0.13
Nodes (28): VerifyContent(), AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), AuthModal(), AuthModalProps (+20 more)
### Community 14 - "toPersian"
Cohesion: 0.17
Nodes (20): HomeClient(), VerifyContent(), AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), CheckoutPage() (+12 more)
### Community 15 - "src/services/api.ts"
Cohesion: 0.06
@ -561,9 +562,9 @@ Nodes (15): Badge(), BadgeProps, BadgeVariant, variantStyles, Skeleton(), Monito
Cohesion: 0.09
Nodes (22): CREATE MODE — Normal Operation, Expected JSON Output Schema, File Scope Boundary, Forbidden Actions, MODE 1: REVIEW (called during Review Phase), MODE 2: CONTENT CREATION (standalone task from backlog), Operating Modes, Operational Rules & Boundaries (+14 more)
### Community 58 - "components/Skeleton.tsx"
Cohesion: 0.24
Nodes (4): OrderRowSkeleton(), PetProfileSkeleton(), Skeleton(), SkeletonProps
### Community 58 - "UserDashboard.tsx"
Cohesion: 0.12
Nodes (11): DeleteConfirmModal(), DeleteConfirmModalProps, OrderDetailsModal(), OrderRowSkeleton(), PetProfileSkeleton(), Skeleton(), SkeletonProps, CreateTicketPayload (+3 more)
### Community 59 - "compilerOptions"
Cohesion: 0.06
@ -574,8 +575,8 @@ Cohesion: 0.23
Nodes (10): CreateUserDto, ApiProperty, ApiPropertyOptional, IsEmail, IsNotEmpty, IsNumber, IsOptional, IsString (+2 more)
### Community 61 - "ProductPage.tsx"
Cohesion: 0.09
Nodes (20): PodcastInlinePlayer(), ProductImageZoomModalProps, CalculatorState, GalleryMediaItem, ICON_MAP, isVideoUrl(), ProductImageZoomModal, ProductPage() (+12 more)
Cohesion: 0.10
Nodes (19): ProductImageZoomModalProps, CalculatorState, GalleryMediaItem, ICON_MAP, isVideoUrl(), ProductImageZoomModal, ProductPage(), ProductReviews (+11 more)
### Community 62 - "RevalidationService"
Cohesion: 0.14
@ -602,8 +603,8 @@ Cohesion: 0.13
Nodes (13): AdminModule, Module, ReportsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller (+5 more)
### Community 68 - "useSettingsStore"
Cohesion: 0.10
Nodes (22): AuthModal, B2BPortal, CartDrawer, ClientLayout(), B2BLandingClient(), BrandLogo(), BrandLogoProps, FAQItem (+14 more)
Cohesion: 0.08
Nodes (29): HomeClientProps, B2BLandingClient(), BlogPost, BlogPreviewSection(), BrandLogo(), BrandLogoProps, ContactInfoItem, FAQItem (+21 more)
### Community 69 - "Required Review Group Closures"
Cohesion: 0.10
@ -689,10 +690,6 @@ Nodes (19): CreateEBankCheckoutDto, ApiProperty, ApiPropertyOptional, IsNotEmpty
Cohesion: 0.17
Nodes (12): prisma, main(), prisma, determineSuitableFor(), findOrCreateCategory(), getProductImageUrl(), main(), parseSize() (+4 more)
### Community 90 - "useCartStore"
Cohesion: 0.07
Nodes (27): ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP, CartDrawer(), DeleteConfirmModal(), DeleteConfirmModalProps, FeaturedProducts() (+19 more)
### Community 91 - "Reconciled Audit Roles & Assignments"
Cohesion: 0.12
Nodes (15): 10. Documentation Engineer, 1. Lead Architect / Orchestrator, 2. React / Vite Storefront Auditor, 3. NestJS Backend Auditor, 4. Admin Features Auditor, 5. Database & Data Integrity Auditor, 6. Security Auditor, 7. TypeScript & Code Quality Auditor (+7 more)
@ -701,9 +698,9 @@ Nodes (15): 10. Documentation Engineer, 1. Lead Architect / Orchestrator, 2. Rea
Cohesion: 0.07
Nodes (35): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+27 more)
### Community 93 - "HomeClient.tsx"
Cohesion: 0.12
Nodes (17): HomeClient(), HomeClientProps, BannerPlacement(), BannerPlacementProps, BlogPreviewSection(), Hero(), StatCounter(), TestimonialsSection() (+9 more)
### Community 93 - "ArchivePage.tsx"
Cohesion: 0.13
Nodes (15): ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP, BannerPlacement(), BannerPlacementProps, ProductCardSkeleton(), B2BInquiry (+7 more)
### Community 94 - "Phase 3.1 — Human Review Preparation and Master Backlog Critique"
Cohesion: 0.13
@ -750,8 +747,8 @@ Cohesion: 0.17
Nodes (11): 1. Detect Test Runner from Tech Stack, 2. Execution Output Capture (Mandatory), 3. Acceptance Criteria Verification, 4. Failure Routing Protocol, 5. Success Routing Protocol, 6. Forbidden Actions, Expected JSON Output Schema, Operational Rules & Boundaries (+3 more)
### Community 106 - "cms.controller.ts"
Cohesion: 0.21
Nodes (12): Body, Post, CreateHeroBannerDto, CreateSmartAdvisorRuleDto, CreateVetTestimonialDto, ApiProperty, ApiPropertyOptional, IsBoolean (+4 more)
Cohesion: 0.37
Nodes (10): CreateHeroBannerDto, CreateSmartAdvisorRuleDto, CreateVetTestimonialDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNumber, IsOptional (+2 more)
### Community 107 - "PaginationDto"
Cohesion: 0.09
@ -898,8 +895,8 @@ Cohesion: 0.25
Nodes (6): app_module_1, core_1, fs, path, swagger_1, yaml
### Community 144 - "SafeImage.tsx"
Cohesion: 0.08
Nodes (23): BackButton(), BackButtonProps, BlogCategory, BlogPostItem, BlogPostClientProps, BlogPost, ProductDetailModalProps, PLAYBACK_RATES (+15 more)
Cohesion: 0.10
Nodes (20): BackButton(), BackButtonProps, BlogPostClientProps, PLAYBACK_RATES, PodcastInlinePlayer(), PodcastInlinePlayerProps, PLAYBACK_RATES, PodcastPlayerModal() (+12 more)
### Community 145 - "RouteErrorBoundary"
Cohesion: 0.22
@ -1061,9 +1058,9 @@ Nodes (3): Expanding the ESLint configuration, React Compiler, React + TypeScrip
Cohesion: 0.50
Nodes (3): Select, SelectOption, SelectProps
### Community 197 - "lib/services/api.ts"
Cohesion: 0.09
Nodes (17): LoginModal, B2BPortal(), LoginModal(), LoginModalProps, PrescriptionUploadModal(), PrescriptionUploadModalProps, ApiErrorPayload, baseURL (+9 more)
### Community 197 - "userStore.ts"
Cohesion: 0.08
Nodes (37): AuthModal, B2BPortal, CartDrawer, ClientLayout(), LoginModal, AuthModal(), AuthModalProps, extractOtpFromText() (+29 more)
### Community 198 - "Reviews.tsx"
Cohesion: 0.40
@ -1104,7 +1101,7 @@ Nodes (3): GET(), handleRevalidate(), POST()
## Knowledge Gaps
- **1347 isolated node(s):** `$schema`, `collection`, `sourceRoot`, `deleteOutDir`, `name` (+1342 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **99 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **101 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
@ -1120,6 +1117,6 @@ _Questions this graph is uniquely positioned to answer:_
- **Should `app.module.ts` be split into smaller, more focused modules?**
_Cohesion score 0.055299539170506916 - nodes in this community are weakly interconnected._
- **Should `productService.ts` be split into smaller, more focused modules?**
_Cohesion score 0.06299603174603174 - nodes in this community are weakly interconnected._
- **Should `api` be split into smaller, more focused modules?**
_Cohesion score 0.12648221343873517 - nodes in this community are weakly interconnected._
_Cohesion score 0.05780885780885781 - nodes in this community are weakly interconnected._
- **Should `PetProfile.tsx` be split into smaller, more focused modules?**
_Cohesion score 0.11822660098522167 - nodes in this community are weakly interconnected._

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff