fix(blog): update fallback image handling, use SafeImage, and enhance related products display
Deploy Canina / deploy (push) Successful in 1m37s

This commit is contained in:
parsa aghaei committed 2026-08-24 17:49:40 +03:30
1 parent fe6a900665
commit 1ddfb0a823
14 files changed
+11087 -9377

No files matched your search

+57 -67
View File
@@ -1,16 +1,16 @@
# Graph Report - canina (2026-08-24)
## Corpus Check
- 552 files · ~1,314,001 words
- 552 files · ~1,314,021 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 3987 nodes · 7189 edges · 332 communities (207 shown, 125 thin omitted)
- 3987 nodes · 7191 edges · 314 communities (209 shown, 105 thin omitted)
- Extraction: 96% EXTRACTED · 4% INFERRED · 0% AMBIGUOUS · INFERRED: 281 edges (avg confidence: 0.79)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `2a31a9f8`
- Built from commit: `fe6a9006`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -23,7 +23,7 @@
- CmsController
- tickets.controller.ts
- PaginationDto
- admin.module.ts
- ReportsController
- devDependencies
- ReviewsController
- Spinner.tsx
@@ -82,7 +82,7 @@
- compilerOptions
- AdminTransactionFilterDto
- AdminQueryDto
- PetsController
- admin.module.ts
- BlogsController
- Required Review Group Closures
- compilerOptions
@@ -130,7 +130,7 @@
- Operational Rules & Boundaries
- reviews.controller.ts
- AppService
- catalog/page.tsx
- seo.ts
- Vazirmatn Changelog
- Vazirmatn Font فونت وزیرمتن
- Operational Rules & Boundaries
@@ -144,12 +144,12 @@
- admin-panel/package.json
- Sahel-Font
- AdminService
- seo.ts
- videos.controller.ts
- Sahel-Font
- Role & Core Objective
- orchestrate.py
- backend/package.json
- @nestjs/core
- Get
- graphify reference: extra exports and benchmark
- Phase 2 Final Quality Gate Summary Report
- Task Modifications Log
@@ -160,7 +160,7 @@
- start-dev.js
- generate-openapi.js
- @testing-library/react
- eslint-config-prettier
- app/page.tsx
- System Discovery
- RevalidationService
- AdminController
@@ -173,7 +173,7 @@
- Blogs.tsx
- contact/page.tsx
- ErrorPages.tsx
- @nestjs/throttler
- @types/bcryptjs
- with-vpn.sh
- Architecture Specification
- Project Health Audit Report
@@ -191,15 +191,15 @@
- Phase 3 Audit Traceability Matrix
- rebuild_honest_ledger.js
- validate_evidence_grade.js
- passport-jwt
- @types/node
- blog/page.tsx
- prettier
- typescript
- BlogsService
- API Contract Specification
- ⚙️ Backend Technical Review (05_dev_backend)
- 🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)
- 🚀 SEO & Content Strategy Review (12_seo_content)
- swagger-ui-express
- eslint-config-next
- ApiResponse
- seed-ui-texts.ts
- seed-wiki.ts
@@ -212,8 +212,6 @@
- Raw Finding Verification & Disposition Report
- React + TypeScript + Vite
- Select.tsx
- @eslint/eslintrc
- videos/page.tsx
- auth.service.ts
- application/README.md
- deploy.sh
@@ -246,16 +244,13 @@
- rules/graphify.md
- .agents/workflows/graphify.md
- instructions.md
- @nestjs/schematics
- ts-loader
- ts-node
- @nestjs/testing
- source-map-support
- @types/bcrypt
- ts-jest
- tsconfig-paths
- RegisterDto
- typescript-eslint
- blog.entity.ts
- home.entity.ts
- wiki.entity.ts
@@ -276,8 +271,6 @@
- User Login API
- User Logout API
- InitiatePaymentDto
- @types/express
- @types/jest
- @types/js-yaml
- @types/multer
- eslint-plugin-react-hooks
@@ -298,12 +291,11 @@
- eslint-plugin-react-refresh
- tailwindcss
- ZibalEBankService
- ZibalCallbackQueryDto
- .initiateOrderPayment
- @tailwindcss/postcss
- typescript
- app.e2e-spec.js
- typescript-eslint
- @testing-library/jest-dom
- SmsLogQueryDto
- @types/react
- globals
@@ -317,16 +309,6 @@
- trust-seals/page.tsx
- revalidate/route.ts
- MaskableField.tsx
- .addPattern
- class-validator
- ioredis
- @nestjs/common
- @nestjs/passport
- @nestjs/platform-express
- passport
- reflect-metadata
- eslint-plugin-prettier
- @types/compression
- @types/passport-jwt
- @types/supertest
@@ -359,19 +341,19 @@
- 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 (332 total, 125 thin omitted)
## Communities (314 total, 105 thin omitted)
### Community 0 - "Roles"
Cohesion: 0.18
Nodes (19): Roles(), PaymentController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body (+11 more)
Cohesion: 0.24
Nodes (13): Roles(), PaymentController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get (+5 more)
### Community 1 - "app.module.ts"
Cohesion: 0.07
Nodes (36): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+28 more)
Nodes (34): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+26 more)
### Community 2 - "SettingsController"
Cohesion: 0.17
Nodes (14): SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller, Delete (+6 more)
Cohesion: 0.23
Nodes (12): SettingsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Param (+4 more)
### Community 3 - "ProductService"
Cohesion: 0.06
@@ -390,16 +372,16 @@ Cohesion: 0.09
Nodes (31): AdminUpdateTicketDto, CreateTicketDto, ReplyTicketDto, ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString (+23 more)
### Community 7 - "PaginationDto"
Cohesion: 0.07
Nodes (25): BlogFilterDto, PaginationDto, SortOrder, ApiPropertyOptional, IsEnum, IsInt, IsOptional, IsString (+17 more)
Cohesion: 0.09
Nodes (20): BlogFilterDto, PaginationDto, SortOrder, ApiPropertyOptional, IsEnum, IsInt, IsOptional, IsString (+12 more)
### Community 8 - "admin.module.ts"
Cohesion: 0.08
Nodes (17): AdminModule, Module, MediaService, Injectable, ReportsController, ApiBearerAuth, ApiOperation, ApiTags (+9 more)
### Community 8 - "ReportsController"
Cohesion: 0.17
Nodes (9): ReportsController, ApiBearerAuth, ApiOperation, ApiTags, Controller, Get, UseGuards, ReportsService (+1 more)
### Community 9 - "devDependencies"
Cohesion: 0.22
Nodes (9): devDependencies, eslint, @types/bcryptjs, @types/node, typescript, eslint, @types/node, typescript (+1 more)
Cohesion: 0.09
Nodes (23): devDependencies, eslint, eslint-config-prettier, @eslint/eslintrc, eslint-plugin-prettier, @nestjs/schematics, @nestjs/testing, prettier (+15 more)
### Community 10 - "ReviewsController"
Cohesion: 0.14
@@ -559,7 +541,7 @@ Nodes (19): autoprefixer, devDependencies, autoprefixer, eslint, @eslint/js, glo
### Community 50 - "devDependencies"
Cohesion: 0.13
Nodes (15): eslint-config-next, devDependencies, eslint, eslint-config-next, jsdom, tailwindcss, @tailwindcss/postcss, @types/node (+7 more)
Nodes (15): devDependencies, eslint, jsdom, tailwindcss, @tailwindcss/postcss, @testing-library/jest-dom, @types/node, @vitejs/plugin-react (+7 more)
### Community 51 - "BlogsController"
Cohesion: 0.14
@@ -610,8 +592,8 @@ Cohesion: 0.13
Nodes (13): Layout(), MenuGroup, Sidebar(), SidebarProps, SubMenuItem, LiveMonitoringSummary, SEARCHABLE_PAGES, Topbar() (+5 more)
### Community 63 - "dependencies"
Cohesion: 0.10
Nodes (21): dependencies, bcrypt, bcryptjs, class-transformer, compression, helmet, js-yaml, @nestjs/jwt (+13 more)
Cohesion: 0.05
Nodes (43): dependencies, bcrypt, bcryptjs, class-transformer, class-validator, compression, helmet, ioredis (+35 more)
### Community 64 - "compilerOptions"
Cohesion: 0.10
@@ -625,9 +607,9 @@ Nodes (7): AdminTransactionFilterDto, ApiPropertyOptional, IsIn, IsNumber, IsOpt
Cohesion: 0.18
Nodes (7): ApiQuery, Get, Query, AdminQueryDto, ApiPropertyOptional, IsOptional, IsString
### Community 67 - "PetsController"
Cohesion: 0.10
Nodes (14): PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller, Delete, Get (+6 more)
### Community 67 - "admin.module.ts"
Cohesion: 0.06
Nodes (21): AdminModule, Module, MediaService, Injectable, PetsController, ApiBearerAuth, ApiOperation, ApiQuery (+13 more)
### Community 68 - "BlogsController"
Cohesion: 0.23
@@ -642,8 +624,8 @@ Cohesion: 0.08
Nodes (23): compilerOptions, allowImportingTsExtensions, erasableSyntaxOnly, jsx, lib, module, moduleDetection, moduleResolution (+15 more)
### Community 71 - "getPageMetadata"
Cohesion: 0.14
Nodes (9): generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), getHomeData(), Home(), generateMetadata(), generateMetadata() (+1 more)
Cohesion: 0.11
Nodes (9): generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), SearchResultsPage() (+1 more)
### Community 72 - "Operational Rules & Boundaries"
Cohesion: 0.11
@@ -774,8 +756,8 @@ Cohesion: 0.16
Nodes (11): AdminLoginDto, ApiProperty, IsEmail, IsNotEmpty, IsString, MinLength, LoginDto, ApiProperty (+3 more)
### Community 108 - "PrismaService"
Cohesion: 0.07
Nodes (20): CategoryQuery, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions, SmsConfig, SmsLogQuery, CreateContactSubmissionDto, UpdateContactInfoItemDto (+12 more)
Cohesion: 0.06
Nodes (21): CategoryQuery, WikiQuery, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions, SmsConfig, SmsLogQuery, CreateContactSubmissionDto (+13 more)
### Community 109 - "1. Summary of Integrity Repairs Performed"
Cohesion: 0.17
@@ -801,6 +783,10 @@ Nodes (17): CreateReviewDto, ApiProperty, IsInt, IsNotEmpty, IsOptional, IsStrin
Cohesion: 0.29
Nodes (5): AppController, Controller, Get, AppService, Injectable
### Community 115 - "seo.ts"
Cohesion: 0.17
Nodes (7): CatalogClient(), generateMetadata(), generateMetadata(), VideosPage(), DEFAULT_SEO_CONFIG, PageMetadataOptions, SeoConfig
### Community 116 - "Vazirmatn Changelog"
Cohesion: 0.18
Nodes (10): 32.0.0, 32.1, 32.101, 32.102, 33.000, 33.001, 33.002, 33.003 (+2 more)
@@ -845,9 +831,9 @@ Nodes (9): Arch Linux, Contributors, Install, Known problems for variable versio
Cohesion: 0.16
Nodes (4): Delete, Param, AdminService, Injectable
### Community 129 - "seo.ts"
Cohesion: 0.18
Nodes (6): generateMetadata(), generateMetadata(), SearchResultsPage(), DEFAULT_SEO_CONFIG, PageMetadataOptions, SeoConfig
### Community 129 - "videos.controller.ts"
Cohesion: 0.22
Nodes (7): GetVideosQueryDto, ApiPropertyOptional, IsBoolean, IsOptional, Transform, Module, VideosModule
### Community 130 - "Sahel-Font"
Cohesion: 0.20
@@ -901,6 +887,10 @@ Nodes (7): backend, distMainPath, fs, http, path, { spawn, execSync }, waitForBa
Cohesion: 0.25
Nodes (6): app_module_1, core_1, fs, path, swagger_1, yaml
### Community 145 - "app/page.tsx"
Cohesion: 0.67
Nodes (3): generateMetadata(), getHomeData(), Home()
### Community 146 - "System Discovery"
Cohesion: 0.25
Nodes (7): Active Core Applications, Current Architecture, Evidence-Based Status Matrix, Excluded / Non-Auditable Artifacts, Major Business Domains Discovered, System Discovery, Technical Architecture Summary
@@ -1085,17 +1075,17 @@ Nodes (8): RegisterDto, ApiProperty, ApiPropertyOptional, IsEmail, IsNotEmpty, I
Cohesion: 0.43
Nodes (7): InitiatePaymentDto, InitiateWalletTopupDto, ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString
### Community 298 - "ZibalCallbackQueryDto"
Cohesion: 0.40
Nodes (4): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto
### Community 298 - ".initiateOrderPayment"
Cohesion: 0.20
Nodes (10): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto, ApiBadRequestResponse, ApiOkResponse, Req, Res (+2 more)
### Community 301 - "app.e2e-spec.js"
Cohesion: 0.50
Nodes (3): app_module_1, supertest_1, testing_1
### Community 304 - "SmsLogQueryDto"
Cohesion: 0.25
Nodes (7): SmsLogQueryDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type
Cohesion: 0.17
Nodes (8): SmsLogQueryDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type, Query
### Community 307 - "SendOtpDto"
Cohesion: 0.33
@@ -1120,21 +1110,21 @@ Nodes (3): GET(), handleRevalidate(), POST()
## Knowledge Gaps
- **1297 isolated node(s):** `$schema`, `collection`, `sourceRoot`, `deleteOutDir`, `name` (+1292 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **125 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **105 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `ApiResponse` connect `ApiResponse` to `HomeController`, `AuthController`, `BlogsController`, `PetsController`, `src/services/api.ts`, `ProductsService`, `UsersService`, `OrdersService`?**
_High betweenness centrality (0.075) - this node is a cross-community bridge._
- **Why does `Roles()` connect `Roles` to `SettingsController`, `CmsController`, `tickets.controller.ts`, `ReviewsController`, `JwtAuthGuard`, `ProductsService`, `MenuService`, `WholesaleApplyDto`, `B2BService`, `FaqService`, `SslController`, `BannersService`, `TestimonialsService`, `IngredientsService`, `PrescriptionsService`, `SmartAdvisorService`, `ContactService`, `.addPattern`, `AdminTransactionFilterDto`, `reviews.controller.ts`?**
- **Why does `Roles()` connect `Roles` to `SettingsController`, `CmsController`, `tickets.controller.ts`, `ReviewsController`, `JwtAuthGuard`, `ProductsService`, `MenuService`, `WholesaleApplyDto`, `B2BService`, `FaqService`, `SslController`, `BannersService`, `TestimonialsService`, `IngredientsService`, `SmsLogQueryDto`, `PrescriptionsService`, `SmartAdvisorService`, `ContactService`, `reviews.controller.ts`?**
_High betweenness centrality (0.063) - this node is a cross-community bridge._
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `PetsController`, `CmsController`, `tickets.controller.ts`, `PaginationDto`, `admin.module.ts`, `auth.controller.ts`, `PetsController`, `PrismaService`, `DoctorQueryDto`, `reviews.controller.ts`, `ProductsService`, `admin.service.ts`?**
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `videos.controller.ts`, `admin.module.ts`, `CmsController`, `tickets.controller.ts`, `PaginationDto`, `auth.controller.ts`, `PetsController`, `PrismaService`, `DoctorQueryDto`, `reviews.controller.ts`, `ProductsService`, `admin.service.ts`?**
_High betweenness centrality (0.036) - this node is a cross-community bridge._
- **What connects `$schema`, `collection`, `sourceRoot` to the rest of the system?**
_1297 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `app.module.ts` be split into smaller, more focused modules?**
_Cohesion score 0.06708595387840671 - nodes in this community are weakly interconnected._
_Cohesion score 0.07215686274509804 - nodes in this community are weakly interconnected._
- **Should `ProductService` be split into smaller, more focused modules?**
_Cohesion score 0.06393442622950819 - nodes in this community are weakly interconnected._
- **Should `SafeImage.tsx` be split into smaller, more focused modules?**