chore: update graphify graph

This commit is contained in:
hamed
2026-07-14 15:16:51 +03:30
parent 2ec84cdf9e
commit 2f4d82b703
4 changed files with 218 additions and 224 deletions
-1
View File
@@ -797,7 +797,6 @@
"795": "Community 795",
"796": "Community 796",
"797": "Community 797",
"798": "Community 798",
"799": "Community 799",
"800": "Community 800",
"801": "Community 801",
+35 -40
View File
@@ -1,16 +1,16 @@
# Graph Report - clinicpro (2026-07-14)
## Corpus Check
- 862 files · ~621,330 words
- 862 files · ~621,305 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 10397 nodes · 14880 edges · 813 communities (630 shown, 183 thin omitted)
- 10397 nodes · 14880 edges · 812 communities (629 shown, 183 thin omitted)
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 339 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `9bb7f411`
- Built from commit: `2ec84cdf`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -797,7 +797,6 @@
- [[_COMMUNITY_Community 795|Community 795]]
- [[_COMMUNITY_Community 796|Community 796]]
- [[_COMMUNITY_Community 797|Community 797]]
- [[_COMMUNITY_Community 798|Community 798]]
- [[_COMMUNITY_Community 799|Community 799]]
- [[_COMMUNITY_Community 800|Community 800]]
- [[_COMMUNITY_Community 801|Community 801]]
@@ -830,21 +829,21 @@
assets/admin/components/AppointmentActions.test.tsx → assets/admin/test/utils.tsx
- `Pagination()` --calls--> `formatNumber()` [EXTRACTED]
assets/admin/components/ui/Pagination.tsx → assets/admin/lib/utils.ts
- `PersianDatePicker()` --calls--> `formatDate()` [EXTRACTED]
assets/admin/components/ui/PersianDatePicker.tsx → assets/admin/lib/utils.ts
- `WalletTab()` --calls--> `formatRial()` [EXTRACTED]
assets/admin/pages/PatientDetailPage.tsx → assets/admin/lib/utils.ts
- `SettlementsPage()` --calls--> `formatRial()` [EXTRACTED]
assets/admin/pages/SettlementsPage.tsx → assets/admin/lib/utils.ts
- `TagDots()` --calls--> `formatNumber()` [EXTRACTED]
assets/admin/pages/PatientsListPage.tsx → assets/admin/lib/utils.ts
## Import Cycles
- None detected.
## Communities (813 total, 183 thin omitted)
## Communities (812 total, 183 thin omitted)
### Community 0 - "Community 0"
Cohesion: 0.04
Nodes (57): ALLOWED_ROLES, PrivateRoute(), PublicRoute(), RoleRoute(), queryClient, toastStyle, NAV_ITEMS, NavItem (+49 more)
Nodes (55): ALLOWED_ROLES, PrivateRoute(), PublicRoute(), RoleRoute(), queryClient, toastStyle, NAV_ITEMS, NavItem (+47 more)
### Community 1 - "Community 1"
Cohesion: 0.03
@@ -927,8 +926,8 @@ Cohesion: 0.12
Nodes (5): AdminApiController, RepresentationRepository, JsonResponse, Request, StreamedResponse
### Community 21 - "Community 21"
Cohesion: 0.03
Nodes (100): PaginatedResponse, formatDate(), formatDateTime(), ALL_STATUSES, AppointmentDetailPage(), timeOf(), STATUS_FILTERS, AddForm (+92 more)
Cohesion: 0.02
Nodes (120): PaginatedResponse, formatDateTime(), ALL_STATUSES, AppointmentDetailPage(), timeOf(), STATUS_FILTERS, CityForm, citySchema (+112 more)
### Community 22 - "Community 22"
Cohesion: 0.29
@@ -975,8 +974,8 @@ Cohesion: 0.06
Nodes (32): 10. Modal / Dialog, 11. Toast Notifications, 12. Empty States & Loading, 13. Page Header (هر صفحه), 14. تکنولوژی Stack, 15. Responsive Breakpoints, 16. Dark Mode (اختیاری — فاز دوم), 17. نمونه رنگ‌بندی صفحه داشبورد (+24 more)
### Community 33 - "Community 33"
Cohesion: 0.03
Nodes (48): AppointmentInfoModal(), ModalKind, PickedPatient, PickerOption, TransferReserveModal(), WalletChargeLink(), addMinutes(), NewAppointmentDrawer() (+40 more)
Cohesion: 0.05
Nodes (27): AppointmentInfoModal(), ModalKind, PickedPatient, PickerOption, TransferReserveModal(), WalletChargeLink(), addMinutes(), NewAppointmentDrawer() (+19 more)
### Community 34 - "Community 34"
Cohesion: 0.06
@@ -1091,12 +1090,12 @@ Cohesion: 0.22
Nodes (9): Create Patient Record, Create Session, Endpoints, Get Patient Record, List Patient Appointments, List Patient Sessions, List Patients, Update Patient Basic Info (+1 more)
### Community 62 - "Community 62"
Cohesion: 0.18
Nodes (9): AdminUser, ASSIGNABLE_ROLES, ChangeRoleModal(), getPrimaryRole(), HUES_LIST, ROLE_META, ROLE_TABS, RoleBadge() (+1 more)
Cohesion: 0.04
Nodes (34): Contract, InsuranceOption, KIND_LABEL, FormData, schema, Claim, ClaimItem, DebtRow (+26 more)
### Community 63 - "Community 63"
Cohesion: 0.13
Nodes (12): AdminUserDetail, AVATAR_COLORS, EditForm, editSchema, GENDER_LABELS, getPrimaryRole(), MARITAL_LABELS, MEDICAL_SECTIONS (+4 more)
Cohesion: 0.04
Nodes (34): formatDate(), Breakdown, SOURCE_LABEL, Summary, VisitSummaryCard(), Attachment, Call, CallCenterTab() (+26 more)
### Community 64 - "Community 64"
Cohesion: 0.19
@@ -1470,10 +1469,6 @@ Nodes (19): Adding an endpoint (one domain), Backend (`composer.json`), Backend
Cohesion: 0.11
Nodes (18): autoload, autoload-dev, psr-4, psr-4, conflict, symfony/symfony, description, extra (+10 more)
### Community 164 - "Community 164"
Cohesion: 0.06
Nodes (21): CityForm, citySchema, ImportError, InsuranceForm, insuranceSchema, ProvinceForm, provinceSchema, ServiceForm (+13 more)
### Community 165 - "Community 165"
Cohesion: 0.13
Nodes (15): 13. نوبت‌دهی (Appointment), 81. 🟢 `GET` appointment slots, 82. 🔵 `POST` post, 83. 🟢 `GET` Days Not Available For Appointments, 84. 🟢 `GET` My Appointments, Request Body, هدرهای اضافی, هدرهای اضافی (+7 more)
@@ -1611,8 +1606,8 @@ Cohesion: 0.14
Nodes (13): Endpoint ها, PATCH /api/v1/secretary/{uuid}, POST /api/v1/secretary, تسک ۱۴: ماژول منشی, توضیح, زمان تخمینی, ساختار JSON, سیستم مجوزها — Resource-Based Permissions (مقیاس‌پذیر) (+5 more)
### Community 201 - "Community 201"
Cohesion: 0.11
Nodes (19): Admin API, Clinic Invitation Management, GET `/api/v1/admin/pre-registrations`, GET `/api/v1/admin/secretaries`, GET /api/v1/admin/settings, GET `/api/v1/admin/sms/logs`, GET `/api/v1/admin/sms/templates`, PATCH /api/v1/admin/settings (+11 more)
Cohesion: 0.10
Nodes (20): Admin API, Clinic Invitation Management, GET `/api/v1/admin/financial-breakdowns`, GET `/api/v1/admin/financial-summary`, GET `/api/v1/admin/pre-registrations`, GET /api/v1/admin/settings, GET `/api/v1/admin/settings/tax-history`, GET `/api/v1/admin/settlement/{uuid}` (+12 more)
### Community 202 - "Community 202"
Cohesion: 0.15
@@ -1624,7 +1619,7 @@ Nodes (12): Clinic Services API, DELETE /api/v1/service-item/{uuid}, DELETE /api
### Community 204 - "Community 204"
Cohesion: 0.04
Nodes (41): cn(), iranMobileOptionalSchema, iranMobileSchema, isValidIranMobile(), maskMobile(), rialToToman(), sanitizeMobileInput(), toDate() (+33 more)
Nodes (48): cn(), iranMobileOptionalSchema, iranMobileSchema, isValidIranMobile(), maskMobile(), rialToToman(), sanitizeMobileInput(), toDate() (+40 more)
### Community 205 - "Community 205"
Cohesion: 0.21
@@ -1992,7 +1987,7 @@ Nodes (16): آماده‌سازی پروژه ClinicPro برای دیپلوی ر
### Community 304 - "Community 304"
Cohesion: 0.22
Nodes (9): 29. 🟢 `GET` clinic list 🆕, 30. 🟢 `GET` get 🆕, 42. 🔴 `DELETE` delete, 6. کلینیک (Clinic), هدرهای اضافی, پارامترهای Query, پاسخ‌ها, پاسخ‌ها (+1 more)
Nodes (9): 29. 🟢 `GET` clinic list 🆕, 30. 🟢 `GET` get 🆕, 33. 🔵 `POST` image_clinic, 6. کلینیک (Clinic), هدرهای اضافی, پارامترهای Query, پاسخ‌ها, پاسخ‌ها (+1 more)
### Community 306 - "Community 306"
Cohesion: 0.07
@@ -2038,10 +2033,6 @@ Nodes (4): SubscriptionPeriodRepository, ManagerRegistry, SubscriptionPeriod, Su
Cohesion: 0.12
Nodes (15): mapping صفحات clinicpro → فریم فیگما, الف-۱. توکن‌های رنگ (light + dark), الف-۲. سلکتور رنگ کاربر, الف-۳. ابعاد و رفتار layout, الف-۴. شعاع‌ها و input/button, الف-۵. کامپوننت‌های مشترک مطابق فیگما, ایندکس فریم‌های فیگما (۴ section، node-id دسکتاپ), بخش الف — سیستم طراحی مشترک (یک‌بار، پایه‌ی همه‌ی صفحات) (+7 more)
### Community 317 - "Community 317"
Cohesion: 0.23
Nodes (5): AbstractMigration, Schema, Version20260615203529, Schema, Version20260703085828
### Community 318 - "Community 318"
Cohesion: 0.22
Nodes (5): AuthController, RateLimiterFactory, JsonResponse, Request, User
@@ -2363,8 +2354,8 @@ Cohesion: 0.10
Nodes (20): edge cases, خلاصهٔ خطاها و اولویت, راه‌حل, راه‌حل, راه‌حل, راه‌حل, رفع خطاهای لاگ سرور (production) — ۱۴۰۵/۰۴/۲۰, ریشه (+12 more)
### Community 416 - "Community 416"
Cohesion: 0.03
Nodes (72): grid, PatientFormOptions, patientFormSchema, PatientFormValues, Props, baseValues, options, Contract (+64 more)
Cohesion: 0.06
Nodes (42): grid, PatientFormOptions, patientFormSchema, PatientFormValues, Props, baseValues, options, dateStrToTs() (+34 more)
### Community 418 - "Community 418"
Cohesion: 0.17
@@ -2406,6 +2397,10 @@ Nodes (11): زمینه, صفحه Twig دعوت پزشک + کوتاه‌کردن
Cohesion: 0.11
Nodes (18): [F10] راهنمای کهنه در `CLAUDE.md`: endpoint `categorys/{bundle}` منتقل شده, [F11] داشبورد دکتر `GET /api/v1/dashboard/doctor` همیشه 500 (فیلد ناموجود در DQL) — ✅ رفع شد, [F1] phpstan: مقایسهٔ همیشه‌درست در محاسبهٔ estimated SMS — ✅ رفع شد, [F2] تست‌های PHPUnit به API خارجی Kavenegar درخواست واقعی می‌زنند, [F3] دیتابیس تست seed نشده — فقط کاربر ادمین وجود دارد, [F4] اسکریپت seeder `create_test_users.php` وجود ندارد, [F5] ادمین با JWT معتبر به `/api/doc` (Swagger UI) دسترسی ندارد (401), [F6] ناسازگاری کدهای خطا بین دامنه‌ها (+10 more)
### Community 442 - "Community 442"
Cohesion: 0.23
Nodes (5): AbstractMigration, Schema, Version20260621084558, Schema, Version20260713195434
### Community 447 - "Community 447"
Cohesion: 0.31
Nodes (4): ClinicInvitationService, Clinic, ClinicDoctorInvitation, User
@@ -2423,8 +2418,8 @@ Cohesion: 0.24
Nodes (10): gridItemStyle, JALALI_MONTHS, jalaliFirstWeekday(), jalaliToGregorian(), navBtnStyle, PersianCalendar(), pf, Props (+2 more)
### Community 459 - "Community 459"
Cohesion: 0.40
Nodes (5): API موجود (نیاز به تغییر ندارند), اپیک ۳ — منشی (Secretary) — تکمیل, تغییرات مورد نیاز, توضیح, نیازمندی‌های کارکردی
Cohesion: 0.33
Nodes (6): API موجود (نیاز به تغییر ندارند), اپیک‌ها, اپیک ۳ — منشی (Secretary) — تکمیل, تغییرات مورد نیاز, توضیح, نیازمندی‌های کارکردی
### Community 460 - "Community 460"
Cohesion: 0.33
@@ -2555,8 +2550,8 @@ Cohesion: 0.18
Nodes (10): license, private, scripts, build, dev, dev-server, test, test:cov (+2 more)
### Community 500 - "Community 500"
Cohesion: 0.33
Nodes (6): API موجود (نیاز به endpoint جدید ندارد), اپیک‌ها, اپیک ۷ — داشبورد هوشمند (Smart Dashboard), تغییر مورد نیاز, توضیح, نیازمندی‌های کارکردی
Cohesion: 0.40
Nodes (5): API موجود (نیاز به endpoint جدید ندارد), اپیک ۷ — داشبورد هوشمند (Smart Dashboard), تغییر مورد نیاز, توضیح, نیازمندی‌های کارکردی
### Community 501 - "Community 501"
Cohesion: 0.40
@@ -3063,8 +3058,8 @@ Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/user/login`, Request Body, Response `200`
### Community 732 - "Community 732"
Cohesion: 0.40
Nodes (5): GET `/api/v1/admin/financial-breakdowns`, GET `/api/v1/admin/financial-summary`, GET `/api/v1/admin/settings/tax-history`, GET `/api/v1/admin/settlement/{uuid}`, موتور مالی نمایندگی
Cohesion: 0.50
Nodes (4): GET `/api/v1/admin/secretaries`, Query Parameters, Response `200`, Secretary Management
### Community 734 - "Community 734"
Cohesion: 0.40
@@ -3140,7 +3135,7 @@ Nodes (3): SmsLogRepository, SmsLog, ManagerRegistry
### Community 761 - "Community 761"
Cohesion: 0.50
Nodes (4): PUT `/api/v1/insurance-pricing`, Request Body, Response `200`, خطاها
Nodes (4): Errors, POST `/api/v1/admin/insurance`, Request Body (`application/json`), Response `201`
### Community 762 - "Community 762"
Cohesion: 0.53
@@ -3212,7 +3207,7 @@ Nodes (6): UserProfileDemographicsTest, ErrorCodesTest, KavehNegarProviderTest,
### Community 784 - "Community 784"
Cohesion: 0.67
Nodes (3): 33. 🔵 `POST` image_clinic, هدرهای اضافی, پاسخ‌ها
Nodes (3): 42. 🔴 `DELETE` delete, هدرهای اضافی, پاسخ‌ها
### Community 786 - "Community 786"
Cohesion: 0.40
@@ -3310,12 +3305,12 @@ _Questions this graph is uniquely positioned to answer:_
_High betweenness centrality (0.083) - this node is a cross-community bridge._
- **Why does `BaseController` connect `Community 108` to `Community 6`, `Community 265`, `Community 138`, `Community 139`, `Community 652`, `Community 14`, `Community 654`, `Community 655`, `Community 529`, `Community 15`, `Community 275`, `Community 20`, `Community 22`, `Community 26`, `Community 676`, `Community 295`, `Community 424`, `Community 300`, `Community 684`, `Community 433`, `Community 59`, `Community 318`, `Community 64`, `Community 579`, `Community 75`, `Community 77`, `Community 607`, `Community 480`, `Community 739`, `Community 230`, `Community 104`, `Community 107`, `Community 109`, `Community 494`, `Community 245`, `Community 121`, `Community 122`, `Community 252`?**
_High betweenness centrality (0.042) - this node is a cross-community bridge._
- **Why does `Version20260705070546` connect `Community 646` to `Community 317`?**
- **Why does `Version20260705070546` connect `Community 646` to `Community 442`?**
_High betweenness centrality (0.035) - this node is a cross-community bridge._
- **What connects `ALLOWED_ROLES`, `get`, `patch` to the rest of the system?**
_4356 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Community 0` be split into smaller, more focused modules?**
_Cohesion score 0.04159495123350545 - nodes in this community are weakly interconnected._
_Cohesion score 0.044790652385589096 - nodes in this community are weakly interconnected._
- **Should `Community 1` be split into smaller, more focused modules?**
_Cohesion score 0.029304029304029304 - nodes in this community are weakly interconnected._
- **Should `Community 2` be split into smaller, more focused modules?**
+181 -181
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -30,8 +30,8 @@
"semantic_hash": ""
},
"assets/admin/components/layout/Sidebar.tsx": {
"mtime": 1784020073.1491249,
"ast_hash": "dcde18767f8ad63bc73c431d3a6cc043",
"mtime": 1784029538.4795368,
"ast_hash": "00e63324ad690e4b54ee9ef364dce4ca",
"semantic_hash": ""
},
"assets/admin/components/layout/Topbar.tsx": {