Refactor code structure for improved readability and maintainability

This commit is contained in:
hamed
2026-07-23 18:23:02 +03:30
parent 43db753942
commit 83a6dc6158
10 changed files with 1532 additions and 1284 deletions
+33 -1
View File
@@ -963,6 +963,7 @@
"961": "Community 961",
"962": "Community 962",
"963": "Community 963",
"964": "Community 964",
"965": "Community 965",
"966": "Community 966",
"967": "Community 967",
@@ -981,6 +982,7 @@
"980": "Community 980",
"981": "Community 981",
"982": "Community 982",
"983": "Community 983",
"984": "Community 984",
"985": "Community 985",
"986": "Community 986",
@@ -988,12 +990,42 @@
"988": "Community 988",
"989": "Community 989",
"990": "Community 990",
"991": "Community 991",
"992": "Community 992",
"993": "Community 993",
"994": "Community 994",
"995": "Community 995",
"996": "Community 996",
"997": "Community 997",
"998": "Community 998",
"999": "Community 999",
"1000": "Community 1000",
"1001": "Community 1001",
"1002": "Community 1002",
"1003": "Community 1003",
"1004": "Community 1004",
"1005": "Community 1005",
"1006": "Community 1006",
"1007": "Community 1007",
"1008": "Community 1008",
"1009": "Community 1009",
"1010": "Community 1010",
"1011": "Community 1011",
"1012": "Community 1012",
"1013": "Community 1013",
"1014": "Community 1014",
"1015": "Community 1015",
"1016": "Community 1016",
"1017": "Community 1017",
"1018": "Community 1018"
"1018": "Community 1018",
"1019": "Community 1019",
"1020": "Community 1020",
"1021": "Community 1021",
"1022": "Community 1022",
"1023": "Community 1023",
"1024": "Community 1024",
"1025": "Community 1025",
"1026": "Community 1026",
"1027": "Community 1027",
"1028": "Community 1028"
}
+278 -129
View File
@@ -1,16 +1,16 @@
# Graph Report - clinicpro (2026-07-23)
## Corpus Check
- 1199 files · ~864,541 words
- 1199 files · ~864,717 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 14055 nodes · 21974 edges · 997 communities (760 shown, 237 thin omitted)
- 14057 nodes · 21978 edges · 1029 communities (788 shown, 241 thin omitted)
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 465 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `221dce29`
- Built from commit: `43db7539`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -935,6 +935,7 @@
- [[_COMMUNITY_Community 934|Community 934]]
- [[_COMMUNITY_Community 935|Community 935]]
- [[_COMMUNITY_Community 936|Community 936]]
- [[_COMMUNITY_Community 937|Community 937]]
- [[_COMMUNITY_Community 938|Community 938]]
- [[_COMMUNITY_Community 939|Community 939]]
- [[_COMMUNITY_Community 940|Community 940]]
@@ -961,6 +962,7 @@
- [[_COMMUNITY_Community 961|Community 961]]
- [[_COMMUNITY_Community 962|Community 962]]
- [[_COMMUNITY_Community 963|Community 963]]
- [[_COMMUNITY_Community 964|Community 964]]
- [[_COMMUNITY_Community 965|Community 965]]
- [[_COMMUNITY_Community 966|Community 966]]
- [[_COMMUNITY_Community 967|Community 967]]
@@ -979,6 +981,7 @@
- [[_COMMUNITY_Community 980|Community 980]]
- [[_COMMUNITY_Community 981|Community 981]]
- [[_COMMUNITY_Community 982|Community 982]]
- [[_COMMUNITY_Community 983|Community 983]]
- [[_COMMUNITY_Community 984|Community 984]]
- [[_COMMUNITY_Community 985|Community 985]]
- [[_COMMUNITY_Community 986|Community 986]]
@@ -986,14 +989,44 @@
- [[_COMMUNITY_Community 988|Community 988]]
- [[_COMMUNITY_Community 989|Community 989]]
- [[_COMMUNITY_Community 990|Community 990]]
- [[_COMMUNITY_Community 991|Community 991]]
- [[_COMMUNITY_Community 992|Community 992]]
- [[_COMMUNITY_Community 993|Community 993]]
- [[_COMMUNITY_Community 994|Community 994]]
- [[_COMMUNITY_Community 995|Community 995]]
- [[_COMMUNITY_Community 996|Community 996]]
- [[_COMMUNITY_Community 997|Community 997]]
- [[_COMMUNITY_Community 998|Community 998]]
- [[_COMMUNITY_Community 999|Community 999]]
- [[_COMMUNITY_Community 1000|Community 1000]]
- [[_COMMUNITY_Community 1001|Community 1001]]
- [[_COMMUNITY_Community 1002|Community 1002]]
- [[_COMMUNITY_Community 1003|Community 1003]]
- [[_COMMUNITY_Community 1004|Community 1004]]
- [[_COMMUNITY_Community 1005|Community 1005]]
- [[_COMMUNITY_Community 1006|Community 1006]]
- [[_COMMUNITY_Community 1007|Community 1007]]
- [[_COMMUNITY_Community 1008|Community 1008]]
- [[_COMMUNITY_Community 1009|Community 1009]]
- [[_COMMUNITY_Community 1010|Community 1010]]
- [[_COMMUNITY_Community 1011|Community 1011]]
- [[_COMMUNITY_Community 1012|Community 1012]]
- [[_COMMUNITY_Community 1013|Community 1013]]
- [[_COMMUNITY_Community 1014|Community 1014]]
- [[_COMMUNITY_Community 1015|Community 1015]]
- [[_COMMUNITY_Community 1016|Community 1016]]
- [[_COMMUNITY_Community 1017|Community 1017]]
- [[_COMMUNITY_Community 1018|Community 1018]]
- [[_COMMUNITY_Community 1019|Community 1019]]
- [[_COMMUNITY_Community 1020|Community 1020]]
- [[_COMMUNITY_Community 1021|Community 1021]]
- [[_COMMUNITY_Community 1022|Community 1022]]
- [[_COMMUNITY_Community 1023|Community 1023]]
- [[_COMMUNITY_Community 1024|Community 1024]]
- [[_COMMUNITY_Community 1025|Community 1025]]
- [[_COMMUNITY_Community 1026|Community 1026]]
- [[_COMMUNITY_Community 1027|Community 1027]]
- [[_COMMUNITY_Community 1028|Community 1028]]
## God Nodes (most connected - your core abstractions)
1. `ApiTestCase` - 230 edges
@@ -1022,7 +1055,7 @@
## Import Cycles
- None detected.
## Communities (997 total, 237 thin omitted)
## Communities (1029 total, 241 thin omitted)
### Community 0 - "Community 0"
Cohesion: 0.06
@@ -1030,7 +1063,7 @@ Nodes (18): ClinicOwnerScheduleAccessTest, ClinicDoctorPermissionTest, ClinicDoc
### Community 1 - "Community 1"
Cohesion: 0.08
Nodes (29): EMPTY_CATS, EMPTY_ITEMS, EMPTY_META, EMPTY_PACKAGES, EMPTY_STATS, InventoryItem, InventoryMeta, InventoryPackage (+21 more)
Nodes (30): EMPTY_CATS, EMPTY_ITEMS, EMPTY_META, EMPTY_PACKAGES, EMPTY_STATS, InventoryItem, InventoryMeta, InventoryPackage (+22 more)
### Community 2 - "Community 2"
Cohesion: 0.10
@@ -1057,8 +1090,8 @@ Cohesion: 0.06
Nodes (8): DoctorService, Clinic, DoctorServiceRepository, Collection, Doctor, self, User, ManagerRegistry
### Community 8 - "Community 8"
Cohesion: 0.02
Nodes (101): DoctorTab, PickedService, ServicePick, ServiceSlot, ServiceSlotPicker(), get, services, td (+93 more)
Cohesion: 0.04
Nodes (42): DoctorTab, PickedService, ServicePick, ServiceSlot, ServiceSlotPicker(), get, services, td (+34 more)
### Community 9 - "Community 9"
Cohesion: 0.04
@@ -1070,7 +1103,7 @@ Nodes (12): Clinic Address Management, `DELETE /api/v1/clinic/{clinicUuid}/addre
### Community 11 - "Community 11"
Cohesion: 0.04
Nodes (43): numericField(), emptyFeatures(), FEATURE_KEYS, FEATURE_LABELS, PeriodForm, periodSchema, PLAN_DISPLAY, PlanForm (+35 more)
Nodes (44): ServiceItemFormModal(), numericField(), emptyFeatures(), FEATURE_KEYS, FEATURE_LABELS, PeriodForm, periodSchema, PLAN_DISPLAY (+36 more)
### Community 12 - "Community 12"
Cohesion: 0.04
@@ -1078,19 +1111,19 @@ Nodes (49): Account provisioning, Clinic Doctor Invitation API, Console: `app:in
### Community 13 - "Community 13"
Cohesion: 0.02
Nodes (156): RoleRoute(), appointment, get, post, render(), appt, get, openMenu() (+148 more)
Nodes (155): RoleRoute(), appointment, get, post, render(), appt, get, openMenu() (+147 more)
### Community 14 - "Community 14"
Cohesion: 0.09
Nodes (20): EntityContextResolver, AppointmentSettingsController, DateOverride, EntityContext, Holiday, DateOverrideRepository, HolidayRepository, Clinic (+12 more)
### Community 15 - "Community 15"
Cohesion: 0.25
Nodes (7): PaymentController, Appointment, JsonResponse, Payment, Request, Response, User
Cohesion: 0.05
Nodes (20): PaymentController, DomainContextResolver, LogPruneService, MaintenanceService, DomainCommissionTest, MaintenanceService, SubscriptionService, MaintenanceModeTest (+12 more)
### Community 16 - "Community 16"
Cohesion: 0.04
Nodes (11): PatientSession, SmsWallet, SecretaryAppointmentScopeTest, Appointment, Collection, InventoryPackage, PatientRecord, self (+3 more)
Nodes (12): AppointmentExpiryServiceTest, PatientSession, SmsWallet, SecretaryAppointmentScopeTest, Appointment, Collection, InventoryPackage, PatientRecord (+4 more)
### Community 17 - "Community 17"
Cohesion: 0.05
@@ -1109,8 +1142,8 @@ Cohesion: 0.12
Nodes (5): AdminApiController, RepresentationRepository, JsonResponse, Request, StreamedResponse
### Community 21 - "Community 21"
Cohesion: 0.07
Nodes (23): InvoicePaymentRow, InvoiceRowStatus, MY_PAYMENTS_LIMIT, PatientInvoiceRow, PatientInvoicesPayload, PaymentFilters, PaymentRow, PaymentRowStatus (+15 more)
Cohesion: 0.05
Nodes (32): ApiAppointment, NOT_VISITED_STATUSES, ServiceOption, STATUS_OPTIONS, NewAppointmentsTable(), AdminCharts, AdminDashboard(), AdminRecent (+24 more)
### Community 22 - "Community 22"
Cohesion: 0.29
@@ -1133,8 +1166,8 @@ Cohesion: 0.24
Nodes (5): InsuranceController, EntityInsurancePricing, JsonResponse, Request, User
### Community 27 - "Community 27"
Cohesion: 0.05
Nodes (40): 55. 🟢 `GET` all tag, 56. 🟢 `GET` supplementary_insurance, 57. 🟢 `GET` categories list, 58. 🟢 `GET` all state, 59. 🟢 `GET` all city, 60. 🟢 `GET` all specially doctor, 61. 🔵 `POST` post, 62. 🟡 `PATCH` patch (+32 more)
Cohesion: 0.06
Nodes (35): 55. 🟢 `GET` all tag, 56. 🟢 `GET` supplementary_insurance, 57. 🟢 `GET` categories list, 58. 🟢 `GET` all state, 59. 🟢 `GET` all city, 60. 🟢 `GET` all specially doctor, 61. 🔵 `POST` post, 63. 🔴 `DELETE` DELETE (+27 more)
### Community 28 - "Community 28"
Cohesion: 0.06
@@ -1157,8 +1190,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 (51): ClinicDoctorsManager(), ClinicInvitation, HUES_LIST, INV_STATUS_MAP, Invoice, InvoiceItem, InvoiceSummaryModal(), SessionConsumable (+43 more)
Cohesion: 0.04
Nodes (46): ClinicDoctorsManager(), ClinicInvitation, HUES_LIST, INV_STATUS_MAP, ClinicAddress, ClinicDetailPage(), EditForm, editSchema (+38 more)
### Community 34 - "Community 34"
Cohesion: 0.05
@@ -1221,8 +1254,8 @@ Cohesion: 0.11
Nodes (4): Payment, Appointment, self, User
### Community 49 - "Community 49"
Cohesion: 0.05
Nodes (52): ConfirmAppointmentModal(), ReplaceAppointmentModal(), FreeVisitPrice(), Pricing, buildInsurancePayload(), Contract, contractToForm(), EMPTY_FORM (+44 more)
Cohesion: 0.02
Nodes (102): AppointmentLike, ConfirmAppointmentModal(), METHOD_OPTIONS, PaymentRow, Props, rowStyle, ServiceItem, STATE_TONE (+94 more)
### Community 50 - "Community 50"
Cohesion: 0.07
@@ -1237,8 +1270,8 @@ Cohesion: 0.07
Nodes (26): الزامات UI, باگ‌فیکس صفحه نوبت‌ها, باگ ۱ — کرش تقویم, باگ ۲ — روز هفته در DateNavigator, باگ ۳ — پیام «slot نیست», باگ ۴ — نوبت جدید: نام اجباری + find-or-create patient, باگ ۵ — patient_mobile نشان می‌دهد موبایل پزشک, باگ ۶ — نوبت‌های رزرو شده در نمایش زمانبندی (+18 more)
### Community 53 - "Community 53"
Cohesion: 0.05
Nodes (23): ClaimStatusLog, AppLogRepository, ClaimItemRepository, ClaimStatusLogRepository, DoctorClaimRequestRepository, InvoiceItemRepository, PreRegistrationRepository, ProvinceRepository (+15 more)
Cohesion: 0.06
Nodes (20): AppLogRepository, ClaimItemRepository, ClinicStaffRepository, DoctorClaimRequestRepository, InventoryPackageRepository, PreRegistrationRepository, SessionAuditLogRepository, SiteConfigRepository (+12 more)
### Community 54 - "Community 54"
Cohesion: 0.10
@@ -1261,8 +1294,8 @@ Cohesion: 0.29
Nodes (5): BlogController, City, JsonResponse, Request, User
### Community 59 - "Community 59"
Cohesion: 0.07
Nodes (15): ClinicController, DoctorSpecialtyParentsTest, Specialty, BackfillSpecialtyParentsStep, SpecialtyRepository, Clinic, DoctorAddress, JsonResponse (+7 more)
Cohesion: 0.22
Nodes (6): ClinicController, Clinic, DoctorAddress, JsonResponse, Request, User
### Community 60 - "Community 60"
Cohesion: 0.08
@@ -1273,12 +1306,12 @@ Cohesion: 0.17
Nodes (12): Add Session Payment (تسویه چندتکه), Create Patient Record, Create Session, Edit Session Payment, Endpoints, Get Patient Record, List Patient Appointments, List Patient Sessions (+4 more)
### Community 62 - "Community 62"
Cohesion: 0.07
Nodes (33): AppointmentLike, METHOD_OPTIONS, PaymentRow, Props, rowStyle, ServiceItem, STATE_TONE, MethodOption (+25 more)
Cohesion: 0.09
Nodes (27): MethodOption, Props, QUICK_TOMANS, WalletModalSubmit, WalletMode, WalletTransactionModal(), BANK_KEY, BankAccount (+19 more)
### Community 63 - "Community 63"
Cohesion: 0.02
Nodes (170): ALLOWED_ROLES, PrivateRoute(), PublicRoute(), queryClient, toastStyle, Props, PaginatedResponse, formatDate() (+162 more)
Nodes (147): ALLOWED_ROLES, PrivateRoute(), PublicRoute(), queryClient, toastStyle, EMPTY_FORM, ItemForm, itemSchema (+139 more)
### Community 64 - "Community 64"
Cohesion: 0.19
@@ -1309,8 +1342,8 @@ Cohesion: 0.08
Nodes (24): سناریو: ایمپورت پزشکان سازمان نظام پزشکی و مدیریت مالکیت پروفایل, نتیجه‌گیری کلیدی طراحی, ۱. خلاصه اجرایی, ۱۰. جریان کاربری (خلاصه‌ی گام‌به‌گام), ۱۱. حالات مرزی و قواعد کسب‌وکار, ۱۲. مراحل پیاده‌سازی (به‌ترتیب و به‌تفکیک ریپو), ۱۳. تصمیمات باز و ریسک‌ها, ۱۴. مرجع نمونه‌ی داده (+16 more)
### Community 72 - "Community 72"
Cohesion: 0.08
Nodes (3): Claim, Collection, self
Cohesion: 0.07
Nodes (4): ClaimItem, Claim, Collection, self
### Community 74 - "Community 74"
Cohesion: 0.09
@@ -1340,10 +1373,6 @@ Nodes (3): SubscriptionPlan, Collection, self
Cohesion: 0.09
Nodes (23): dependencies, @ckeditor/ckeditor5-build-classic, @ckeditor/ckeditor5-react, @fontsource/vazirmatn, @heroicons/react, @hookform/resolvers, jalaali-js, leaflet (+15 more)
### Community 82 - "Community 82"
Cohesion: 0.14
Nodes (5): CategoryImportTest, PurgeDoctorsCommand, Connection, InputInterface, OutputInterface
### Community 83 - "Community 83"
Cohesion: 0.09
Nodes (21): Backend, CSS / UI, Frontend, روند اجرای هر قابلیت, قبل از شروع — تحلیل پرامپت و ساخت Todo, قوانین اجرا (اجباری — هیچ استثنایی ندارد), قوانین خاص این پروژه, مثال اجرا (+13 more)
@@ -1358,7 +1387,7 @@ Nodes (30): devDependencies, @babel/core, @babel/preset-env, @babel/preset-react
### Community 86 - "Community 86"
Cohesion: 0.03
Nodes (25): AppointmentExpiryServiceTest, BookingModeImmutableTest, BookingServicesPublicTest, LowTierFixesTest, SendCodeMobileRateLimitTest, ClaimsListPaginationTest, CaptchaFlowTest, ServiceItemMultiStaffTest (+17 more)
Nodes (25): BookingServicesPublicTest, ScheduleOwnershipTest, ServiceBasedSlotsTest, LowTierFixesTest, SendCodeMobileRateLimitTest, ClaimsListNPlusOneTest, ClaimsListPaginationTest, CaptchaFlowTest (+17 more)
### Community 87 - "Community 87"
Cohesion: 0.10
@@ -1421,7 +1450,7 @@ Cohesion: 0.10
Nodes (19): Backend — endpoint اشتراک, Frontend — App.tsx, Frontend — authStore, Frontend — Sidebar, اعمال محدودیت‌های اشتراک در پنل ادمین (Frontend Gate), ترتیب اجرا, زمینه, فایل‌های مرتبط (+11 more)
### Community 102 - "Community 102"
Cohesion: 0.07
Cohesion: 0.08
Nodes (26): Bulk import / export, DELETE `/api/v1/admin/tag/{id}`, DELETE `/api/v1/tenant-tag/{uuid}`, Errors, Errors, Errors, Errors, Errors (+18 more)
### Community 103 - "Community 103"
@@ -1429,8 +1458,8 @@ Cohesion: 0.11
Nodes (18): `AdminApiController::paymentDetail` — الان فقط GET, `MellatGateway.php` — الگوی موجود REST/SOAP (پس از کار sandbox), `PaymentGatewayInterface.php`, `PaymentManager.php` — الگوی log و transaction, برگشت/استرداد وجه ملت از پنل ادمین (bpReversalRequest / bpRefundRequest), زمینه, فایل‌های مرتبط, نکات مهم (+10 more)
### Community 104 - "Community 104"
Cohesion: 0.18
Nodes (6): TagController, TagRepository, JsonResponse, Request, ManagerRegistry, Tag
Cohesion: 0.35
Nodes (3): TagController, JsonResponse, Request
### Community 105 - "Community 105"
Cohesion: 0.11
@@ -1649,8 +1678,8 @@ Cohesion: 0.13
Nodes (15): Date Overrides, DELETE `/api/v1/appointment-settings/date-override/{uuid}`, Errors, Errors, GET `/api/v1/appointment-settings/date-override/list/{doctorUuid}`, GET `/api/v1/appointment-settings/date-override/{uuid}`, PATCH `/api/v1/appointment-settings/date-override/{uuid}`, POST `/api/v1/appointment-settings/date-override` (+7 more)
### Community 161 - "Community 161"
Cohesion: 0.03
Nodes (47): ApiError, { refreshMock, logoutMock }, replaceMock, latinDigitsField(), NumericFieldProps, wrap(), ClinicAddress, ClinicDetailPage() (+39 more)
Cohesion: 0.04
Nodes (30): ApiError, { refreshMock, logoutMock }, replaceMock, displayDoctorName(), SecretaryDashboard(), AddrForm, addrSchema, AVATAR_COLORS (+22 more)
### Community 162 - "Community 162"
Cohesion: 0.10
@@ -1682,7 +1711,7 @@ Nodes (20): api.ir (استعلام هویت — Shahkar / IbanMatch), اتصال
### Community 169 - "Community 169"
Cohesion: 0.12
Nodes (7): SourceProfileIdTest, UserProfileDemographicsTest, MellatGatewayTest, ErrorCodesTest, TimezoneTest, TestCase, UserProfile
Nodes (8): SourceProfileIdTest, MellatGatewayTest, ErrorCodesTest, TimezoneTest, ActivateTrialTest, SubscriptionService, TestCase, SubscriptionPlan
### Community 170 - "Community 170"
Cohesion: 0.13
@@ -1805,8 +1834,8 @@ Cohesion: 0.33
Nodes (3): PurgeUnclaimedDoctorsCommand, InputInterface, OutputInterface
### Community 201 - "Community 201"
Cohesion: 0.11
Nodes (19): Admin API, Behaviour while enabled, Clinic Invitation Management, Console escape hatch, Failure behaviour, GET `/api/v1/admin/pre-registrations`, GET `/api/v1/admin/secretaries`, GET /api/v1/admin/settings (+11 more)
Cohesion: 0.13
Nodes (15): Admin API, Clinic Invitation Management, 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, Query Parameters (+7 more)
### Community 202 - "Community 202"
Cohesion: 0.15
@@ -1817,8 +1846,8 @@ Cohesion: 0.12
Nodes (16): Clinic Services API, DELETE /api/v1/service-item/{uuid}, DELETE /api/v1/service-section/{uuid}, GET /api/v1/service-item/{uuid}, GET /api/v1/service-item/{uuid}/audit-logs, GET /api/v1/service-items, GET /api/v1/service-items/{sectionUuid}, GET /api/v1/service-items/{uuid}/tariffs (+8 more)
### Community 204 - "Community 204"
Cohesion: 0.07
Nodes (35): useSubscription(), AdminLayout(), avatarBg(), HUES, ProfileMenu(), Role, ROLE_LABELS, settingsPath() (+27 more)
Cohesion: 0.04
Nodes (43): useSubscription(), AdminLayout(), avatarBg(), HUES, ProfileMenu(), Role, ROLE_LABELS, settingsPath() (+35 more)
### Community 205 - "Community 205"
Cohesion: 0.21
@@ -1893,16 +1922,16 @@ Cohesion: 0.17
Nodes (11): تشخیص عمیق down شدن سرور بعد از ~۱۰ سیکل + وریفای و تکمیل فیکس‌های پایداری, زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, ۱. وریفای فیکس‌های repo (idempotent) (+3 more)
### Community 228 - "Community 228"
Cohesion: 0.04
Nodes (52): Bulk import / export, DELETE `/api/v1/admin/insurance/{id}`, DELETE `/api/v1/billing/tenant-insurances/{uuid}`, DELETE `/api/v1/insurance/{id}`, EntityInsurancePricing — قیمت‌گذاری ویزیت بر اساس بیمه, Errors, Errors, Errors (+44 more)
Cohesion: 0.15
Nodes (13): Bulk import / export, DELETE `/api/v1/admin/insurance/{id}`, DELETE `/api/v1/insurance/{id}`, EntityInsurancePricing — قیمت‌گذاری ویزیت بر اساس بیمه, GET `/api/v1/billing/tenant-insurances/{uuid}/service-coverage`, GET `/api/v1/insurance/{id}`, Insurance API, PUT `/api/v1/billing/tenant-insurances/{uuid}/service-coverage` (+5 more)
### Community 229 - "Community 229"
Cohesion: 0.14
Nodes (13): DELETE `/api/v1/representation/{uuid}`, Errors, Errors, GET `/api/v1/representation/{uuid}/dashboard/monthly`, GET `/api/v1/site-context`, Path Parameters, Query Parameters, Query Parameters (+5 more)
Nodes (13): Errors, GET `/api/v1/representation/{uuid}/dashboard/monthly`, GET `/api/v1/representation/{uuid}/dashboard/yearly`, GET `/api/v1/site-context`, Path Parameters, Query Parameters, Query Parameters, Query Parameters (+5 more)
### Community 230 - "Community 230"
Cohesion: 0.13
Nodes (12): AdminUserDetail, AVATAR_COLORS, EditForm, editSchema, GENDER_LABELS, getPrimaryRole(), MARITAL_LABELS, MEDICAL_SECTIONS (+4 more)
Cohesion: 0.11
Nodes (21): buildInsurancePayload(), Contract, contractToForm(), EMPTY_FORM, InsuranceFormValues, InsuranceModal(), InsuranceOption, KIND_LABEL (+13 more)
### Community 231 - "Community 231"
Cohesion: 0.17
@@ -2113,8 +2142,8 @@ Cohesion: 0.19
Nodes (4): ServiceItemRepository, ManagerRegistry, ServiceItem, ServiceSection
### Community 286 - "Community 286"
Cohesion: 0.11
Nodes (11): ChevronDownIcon(), ApptRow, HEAD, NewAppointmentsTable(), Props, JALALI_MONTHS, MONTH_OPTIONS, SelectorOption (+3 more)
Cohesion: 0.20
Nodes (7): ApptRow, JALALI_MONTHS, MONTH_OPTIONS, SelectorOption, TauriDashboardView(), TauriDashboardViewProps, DashboardStats
### Community 287 - "Community 287"
Cohesion: 0.27
@@ -2145,8 +2174,8 @@ Cohesion: 0.20
Nodes (9): AdminApiController — dashboardCharts با بازه زمانی, DashboardController — اضافه کردن from/to, date range selector component:, تغییر Backend, تغییر Frontend — DashboardPage.tsx, فایل‌هایی که تغییر می‌کنند, معماری — تسک ۱۶: داشبورد هوشمند, نصب dependency: (+1 more)
### Community 294 - "Community 294"
Cohesion: 0.21
Nodes (5): PatientAttachmentTest, PatientAttachment, PatientAttachmentRepository, ManagerRegistry, PatientRecord
Cohesion: 0.33
Nodes (4): PatientAttachment, PatientAttachmentRepository, ManagerRegistry, PatientRecord
### Community 295 - "Community 295"
Cohesion: 0.20
@@ -2157,8 +2186,8 @@ Cohesion: 0.22
Nodes (9): Clinic Management, DELETE `/api/v1/admin/clinic/{uuid}`, Errors, GET `/api/v1/admin/clinics`, PATCH `/api/v1/admin/clinic/{uuid}/status`, Query Parameters, Response `200`, Response `200` (+1 more)
### Community 297 - "Community 297"
Cohesion: 0.22
Nodes (9): DELETE `/api/v1/representation/iban/{id}`, Errors, Errors, GET `/api/v1/representation/doctors/stats`, GET `/api/v1/representation/me`, Response `200`, Response `200`, Response `200` (+1 more)
Cohesion: 0.15
Nodes (13): DELETE `/api/v1/representation/iban/{id}`, Errors, Errors, Errors, GET `/api/v1/representation/doctors`, GET `/api/v1/representation/doctors/stats`, GET `/api/v1/representation/me`, Query Parameters (+5 more)
### Community 298 - "Community 298"
Cohesion: 0.22
@@ -2186,7 +2215,7 @@ Nodes (16): آماده‌سازی پروژه ClinicPro برای دیپلوی ر
### Community 304 - "Community 304"
Cohesion: 0.22
Nodes (9): 29. 🟢 `GET` clinic list 🆕, 30. 🟢 `GET` get 🆕, 36. 🟢 `GET` get my rate, 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
@@ -2222,7 +2251,7 @@ Nodes (4): InsuranceRepository, Insurance, InsuranceType, ManagerRegistry
### Community 314 - "Community 314"
Cohesion: 0.02
Nodes (109): AppointmentCardData, AppointmentTurnCard(), base, Breadcrumb(), PatientCaseBanner(), Tag, SessionPaymentAccordion(), SessionPaymentData (+101 more)
Nodes (106): AppointmentCardData, AppointmentTurnCard(), base, Invoice, InvoiceItem, InvoiceSummaryModal(), SessionConsumable, SessionData (+98 more)
### Community 315 - "Community 315"
Cohesion: 0.05
@@ -2285,8 +2314,8 @@ Cohesion: 0.22
Nodes (8): Query های جدید, بیماران منحصربه‌فرد در بازه, درآمد بر اساس روز (از patient_sessions), فروش اشتراک بر اساس پنل (admin), نوبت‌ها بر اساس روز (admin chart), نکات مهم, هیچ migration لازم نیست, پایگاه داده — تسک ۱۶: داشبورد هوشمند
### Community 333 - "Community 333"
Cohesion: 0.04
Nodes (52): `city` / `state` در پاسخ لیست, DELETE `/api/v1/clinic-pro/doctor-address/{id}`, DELETE `/api/v1/doctor/{uuid}`, Doctor API, Errors, Errors, Errors, Errors (+44 more)
Cohesion: 0.29
Nodes (7): DELETE `/api/v1/clinic-pro/doctor-address/{id}`, Doctor API, Errors, GET `/api/v1/clinic-pro/doctor-addresses/{doctorId}`, Path Parameters, Response `200`, Response `200`
### Community 334 - "Community 334"
Cohesion: 0.25
@@ -2413,8 +2442,8 @@ Cohesion: 0.25
Nodes (7): بازسازی از صفر, دادهٔ انبوه, شناسه‌ها, نام پزشک بدون عنوان, نکته‌ها, پرسوناها, کاربران تستی
### Community 367 - "Community 367"
Cohesion: 0.16
Nodes (6): Altcha, AltchaService, altcha, Altcha(), AltchaProps, IntrinsicElements
Cohesion: 0.24
Nodes (3): Altcha, AltchaService, altcha
### Community 368 - "Community 368"
Cohesion: 0.36
@@ -2553,8 +2582,8 @@ Cohesion: 0.17
Nodes (11): MessageBusInterface, MockObject, SmsLogRepository, SmsServiceLookupOnlyTest, SmsLog, SmsLogRepository, SmsMessageTemplateRepository, SmsService (+3 more)
### Community 409 - "Community 409"
Cohesion: 0.39
Nodes (3): ClinicStaffRepository, ClinicStaff, ManagerRegistry
Cohesion: 0.15
Nodes (13): EMPTY, PatientFilters, PricingInsurance, TenantTag, AddTurn(), PatientsCategoryView(), PatientsGridView(), SearchHeaderP() (+5 more)
### Community 410 - "Community 410"
Cohesion: 0.08
@@ -2566,7 +2595,7 @@ Nodes (20): edge cases, خلاصهٔ خطاها و اولویت, راه‌حل,
### Community 416 - "Community 416"
Cohesion: 0.02
Nodes (94): PatientTagsCell(), TenantTag, ServiceTariffModal(), TariffResponse, TariffRow, TauriStatCards(), usePaymentConfig(), displayDoctorName() (+86 more)
Nodes (98): ServiceTariffModal(), TariffResponse, TariffRow, SessionPaymentAccordion(), SessionPaymentData, paid, unpaid, ContractDetails() (+90 more)
### Community 418 - "Community 418"
Cohesion: 0.17
@@ -2576,10 +2605,6 @@ Nodes (11): دیپلوی ClinicPro روی Coolify (Docker Compose), رفع اش
Cohesion: 0.12
Nodes (15): راه‌حل, راه‌حل, راه‌حل, رفع زوم نقشه در افزودن آدرس + کپچا و موبایل در claim + حذف پروفایل توسط مالک, ریشه‌ها, زمینه, فایل‌های مرتبط, نکات مهم (+7 more)
### Community 423 - "Community 423"
Cohesion: 0.23
Nodes (5): AbstractMigration, Schema, Version20260609135514, Schema, Version20260610183655
### Community 424 - "Community 424"
Cohesion: 0.35
Nodes (3): SessionConsumableTest, Doctor, InventoryItem
@@ -2609,12 +2634,12 @@ Cohesion: 0.12
Nodes (16): `book()` عمومی — الگوی درستِ موجود (کپی از `AppointmentController::book`, خط ۲۴۲–۲۶۳), زمینه, فایل‌های مرتبط, فرم — بدون فیلد کد ملی (کپی از `AppointmentCreatePage.tsx`), مسیر ادمین — بیمار فقط با موبایل (کپی از `MyAppointmentsController::createAppointment`, خط ۸۱–۸۷), نوبت‌دهی ادمین بر اساس کد ملی + موبایل (پرونده یکتا با کد ملی), نکات مهم, هدف (+8 more)
### Community 437 - "Community 437"
Cohesion: 0.17
Nodes (7): AdminCspSubscriber, NumericFieldNormalizerSubscriber, SecurityHeadersSubscriber, EventSubscriberInterface, ResponseEvent, RequestEvent, ResponseEvent
Cohesion: 0.11
Nodes (12): AdminCspSubscriber, MaintenanceSubscriber, NumericFieldNormalizerSubscriber, SecurityHeadersSubscriber, EventSubscriberInterface, ResponseEvent, ExceptionEvent, Request (+4 more)
### Community 438 - "Community 438"
Cohesion: 0.38
Nodes (3): AuditScheduleLocationsCommand, InputInterface, OutputInterface
Cohesion: 0.22
Nodes (5): ClaimsByPatientTest, Doctor, Invoice, PatientRecord, User
### Community 439 - "Community 439"
Cohesion: 0.17
@@ -2648,17 +2673,13 @@ Nodes (5): ClinicInvitationService, Clinic, ClinicDoctorInvitation, Doctor, User
Cohesion: 0.07
Nodes (27): Bank accounts, Body, Body, Errors, Errors, Errors, Errors, Errors (+19 more)
### Community 451 - "Community 451"
Cohesion: 0.31
Nodes (3): InventoryPackageRepository, InventoryPackage, ManagerRegistry
### Community 452 - "Community 452"
Cohesion: 0.15
Nodes (3): DoctorClaimRequest, Doctor, User
### Community 455 - "Community 455"
Cohesion: 0.16
Nodes (4): LogPruneService, MaintenanceService, MaintenanceModeTest, SiteConfigRepository
Cohesion: 0.35
Nodes (3): DoctorSpecialtyParentsTest, SpecialtyRepository, Specialty
### Community 456 - "Community 456"
Cohesion: 0.15
@@ -2669,8 +2690,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
@@ -2781,8 +2802,8 @@ Cohesion: 0.20
Nodes (9): Backend Audit Backlog — ClinicPro, ☐ CRITICAL, ✅ DONE (committed on backend-audit), ☐ EPICS (design debt — cross-repo, defer; do NOT quick-fix), ☐ HIGH, ☐ LOW, ☐ MEDIUM, Progress (this audit session) (+1 more)
### Community 494 - "Community 494"
Cohesion: 0.07
Nodes (19): ClaimAmountBoundsTest, ClaimsByPatientTest, ClaimsListNPlusOneTest, ClaimItem, ClaimSubmitterInterface, ClaimService, ManualClaimSubmitter, Claim (+11 more)
Cohesion: 0.24
Nodes (8): ClaimSubmitterInterface, ClaimService, ManualClaimSubmitter, Claim, Invoice, User, Claim, ClaimSubmissionResult
### Community 495 - "Community 495"
Cohesion: 0.12
@@ -2797,16 +2818,16 @@ Cohesion: 0.49
Nodes (3): SlotUniquenessTest, Appointment, Doctor
### Community 498 - "Community 498"
Cohesion: 0.15
Nodes (12): license, overrides, lodash, private, scripts, build, dev, dev-server (+4 more)
Cohesion: 0.25
Nodes (8): scripts, build, dev, dev-server, test, test:cov, test:watch, watch
### Community 499 - "Community 499"
Cohesion: 0.12
Nodes (16): `AppointmentSettingsPage.tsx` (بخش render), backend — نیازی به تغییر نیست (اول گشتم), `InsuranceModal.tsx` — انتخاب دستی نوع (حذف شود), `InsurancePricingPage.tsx`, `TenantInsuranceContracts.tsx` — یک جدول مسطح، خلاصه فقط در زیرنویس نام, بازطراحی صفحه بیمه و قیمت‌گذاری — تفکیک نوع بیمه با Tab + ردیف Expandable + انتقال ویزیت آزاد, زمینه, فایل‌های مرتبط (+8 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
@@ -2945,8 +2966,8 @@ Cohesion: 0.12
Nodes (4): SessionPayment, PatientSession, self, User
### Community 543 - "Community 543"
Cohesion: 0.27
Nodes (5): MaintenanceSubscriber, ExceptionEvent, Request, RequestEvent, Response
Cohesion: 0.36
Nodes (4): ClaimAmountBoundsTest, Claim, Doctor, User
### Community 544 - "Community 544"
Cohesion: 0.15
@@ -3061,8 +3082,8 @@ Cohesion: 0.48
Nodes (3): DoctorInsuranceRepository, DoctorInsurance, ManagerRegistry
### Community 577 - "Community 577"
Cohesion: 0.05
Nodes (47): grid, PatientFormOptions, patientFormSchema, PatientFormValues, Props, baseValues, options, setup() (+39 more)
Cohesion: 0.03
Nodes (67): grid, PatientFormOptions, patientFormSchema, PatientFormValues, Props, baseValues, options, setup() (+59 more)
### Community 578 - "Community 578"
Cohesion: 0.36
@@ -3117,8 +3138,8 @@ Cohesion: 0.29
Nodes (3): FinancialBreakdown, Payment, User
### Community 597 - "Community 597"
Cohesion: 0.20
Nodes (10): Configuration, Errors, GET `/api/v1/admin/sms/templates`, GET `/api/v1/sms/template/{uuid}`, POST `/api/v1/admin/sms/template/{uuid}/approve`, Request Body (`application/json`), Response `200`, Response `200` (+2 more)
Cohesion: 0.29
Nodes (7): Configuration, Errors, GET `/api/v1/admin/sms/templates`, GET `/api/v1/sms/template/{uuid}`, Response `200`, Response `200`, SMS API
### Community 598 - "Community 598"
Cohesion: 0.29
@@ -3152,10 +3173,6 @@ Nodes (10): ایمپورت پزشکان نظام پزشکی به کلینیک‌
Cohesion: 0.34
Nodes (5): RepresentationController, JsonResponse, Representation, Request, User
### Community 608 - "Community 608"
Cohesion: 0.28
Nodes (4): SubscriptionService, ClinicSubscription, Payment, SubscriptionPlan
### Community 612 - "Community 612"
Cohesion: 0.67
Nodes (3): بک‌اند, فرانت‌اند, وضعیت فعلی کد (مهم — قبل از تغییر بخوان)
@@ -3301,12 +3318,8 @@ Cohesion: 0.12
Nodes (16): Errors, Errors, Errors, GET `/api/v1/admin/representations`, GET `/api/v1/admin/representations/{uuid}/appointments`, GET `/api/v1/admin/representations/{uuid}/doctors`, POST `/api/v1/admin/representations/{uuid}/doctors`, Query Parameters (+8 more)
### Community 693 - "Community 693"
Cohesion: 0.47
Nodes (3): CommissionService, Payment, Representation
### Community 694 - "Community 694"
Cohesion: 0.19
Nodes (5): UniqueConstraintsTest, FinancialBreakdown, FinancialBreakdownRepository, ManagerRegistry, Payment
Cohesion: 0.21
Nodes (7): FinancialBreakdown, FinancialBreakdownRepository, CommissionService, ManagerRegistry, Payment, Payment, Representation
### Community 695 - "Community 695"
Cohesion: 0.67
@@ -3341,8 +3354,8 @@ Cohesion: 0.12
Nodes (16): اصلاح منطق بیمه: یک منبع واحد محاسبه برای پرداخت، فاکتور و Claim, تست پذیرش, زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف (+8 more)
### Community 704 - "Community 704"
Cohesion: 0.30
Nodes (4): DomainContextResolver, DomainCommissionTest, Payment, Representation
Cohesion: 0.25
Nodes (4): BackfillSpecialtyParentsStep, RepairOptions, RepairResult, SymfonyStyle
### Community 706 - "Community 706"
Cohesion: 0.50
@@ -3381,8 +3394,8 @@ Cohesion: 0.33
Nodes (3): BlogCityScopeTest, Blog, City
### Community 724 - "Community 724"
Cohesion: 0.42
Nodes (3): ActivateTrialTest, SubscriptionService, SubscriptionPlan
Cohesion: 0.25
Nodes (4): FixDegreeStep, RepairOptions, RepairResult, SymfonyStyle
### Community 725 - "Community 725"
Cohesion: 0.33
@@ -3408,6 +3421,10 @@ Nodes (12): call siteهای فعلی PersianDateInput (نباید تغییر ک
Cohesion: 0.41
Nodes (4): SessionInsuranceShareTest, Doctor, Insurance, ServiceItem
### Community 734 - "Community 734"
Cohesion: 0.16
Nodes (7): AbstractMigration, Schema, Version20260619170105, Schema, Version20260717113519, Schema, Version20260719164144
### Community 737 - "Community 737"
Cohesion: 0.33
Nodes (5): DoctorImportResult, DoctorImportService, Collection, Doctor, User
@@ -3488,6 +3505,14 @@ Nodes (3): DoctorServiceController, JsonResponse, Request
Cohesion: 0.14
Nodes (13): DELETE `/api/v1/admin/discount-rules/{uuid}`, Discount API, Errors, Errors, GET `/api/v1/admin/discount-rules`, GET `/api/v1/session/{uuid}/discount-suggestions`, PATCH `/api/v1/admin/discount-rules/{uuid}`, POST `/api/v1/admin/discount-rules` (+5 more)
### Community 768 - "Community 768"
Cohesion: 0.36
Nodes (3): RepairImportedDoctorsCommand, InputInterface, OutputInterface
### Community 769 - "Community 769"
Cohesion: 0.39
Nodes (3): ProvinceRepository, ManagerRegistry, Province
### Community 770 - "Community 770"
Cohesion: 0.18
Nodes (11): 1. 🔵 `POST` refresh token, 1. احراز هویت (Authentication), 2. 🟢 `GET` X-CSRF-Token, 3. 🟢 `GET` user info 🆕, Request Body, بخش دوم — مستند کامل API, خطاهای عمومی, فهرست مطالب (+3 more)
@@ -3517,8 +3542,8 @@ Cohesion: 0.24
Nodes (4): InventoryPackageItem, InventoryItem, InventoryPackage, self
### Community 782 - "Community 782"
Cohesion: 0.07
Nodes (22): Command, BackfillAppointmentSessionsCommand, CancelExpiredAppointmentsCommand, NormalizeScheduleFormatCommand, PruneLogsCommand, RepairAcceptedInvitationsCommand, SeedCategoriesCommand, SeedSmsMessageTemplatesCommand (+14 more)
Cohesion: 0.10
Nodes (16): Command, AuditScheduleLocationsCommand, CancelExpiredAppointmentsCommand, PruneLogsCommand, SeedCategoriesCommand, SeedSmsMessageTemplatesCommand, InputInterface, OutputInterface (+8 more)
### Community 783 - "Community 783"
Cohesion: 0.13
@@ -3537,8 +3562,8 @@ Cohesion: 0.50
Nodes (4): Errors, GET `/oauth/userinfo`, Headers, Response `200`
### Community 789 - "Community 789"
Cohesion: 0.12
Nodes (5): KavehNegarProvider, RanginehProvider, SmsService, SendSmsMessage, SmsProviderInterface
Cohesion: 0.16
Nodes (4): RanginehProvider, SmsService, SendSmsMessage, SmsProviderInterface
### Community 791 - "Community 791"
Cohesion: 0.40
@@ -3585,7 +3610,7 @@ Cohesion: 0.25
Nodes (8): Errors, GET `/api/v1/patient/{uuid}/payments`, GET `/api/v1/patient/{uuid}/wallet`, GET `/api/v1/patient/{uuid}/wallet/transactions`, PATCH `/api/v1/session/{uuid}` — پرداخت مراجعه از کیف پول, POST `/api/v1/patient/{uuid}/wallet/charge`, POST `/api/v1/patient/{uuid}/wallet/withdraw`, مالی بیمار (Financials: پرداخت / تراکنش / کیف‌پول)
### Community 809 - "Community 809"
Cohesion: 0.19
Cohesion: 0.18
Nodes (4): LoggerInterface, ApiIrService, HealthControllerTest, EntityManagerInterface
### Community 810 - "Community 810"
@@ -3604,6 +3629,10 @@ Nodes (4): ClinicInvitationWebController, ClinicDoctorInvitation, Request, Respo
Cohesion: 0.43
Nodes (3): SmsTemplateRepository, SmsTemplate, ManagerRegistry
### Community 817 - "Community 817"
Cohesion: 0.39
Nodes (3): TagRepository, ManagerRegistry, Tag
### Community 818 - "Community 818"
Cohesion: 0.38
Nodes (3): DiscountEngine, DiscountRule, PatientSession
@@ -3760,6 +3789,10 @@ Nodes (4): 38. 🟢 `GET` Unapproved comments, هدرهای اضافی, پارا
Cohesion: 0.40
Nodes (5): DELETE `/api/v1/patient/call/{uuid}`, Errors, GET `/api/v1/patient/{uuid}/calls`, POST `/api/v1/patient/{uuid}/call`, کال سنتر بیمار (Call Center)
### Community 894 - "Community 894"
Cohesion: 0.43
Nodes (3): ClaimStatusLog, ClaimStatusLogRepository, ManagerRegistry
### Community 899 - "Community 899"
Cohesion: 0.15
Nodes (12): دسترسی پزشک و مدیر کلینیک به پرونده‌های کلینیک, زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, پروژه (+4 more)
@@ -3785,8 +3818,8 @@ Cohesion: 0.18
Nodes (10): زمینه, نکات مهم, هدف, وظایف, پاک‌سازی رکوردهای آلودهٔ پزشک و کلینیک, پروژه, ۱. گزارش دامنهٔ آلودگی (اول اندازه‌گیری، بعد حذف), ۲. پاک‌سازی (+2 more)
### Community 908 - "Community 908"
Cohesion: 0.42
Nodes (3): RepairImportedDoctorsCommandTest, CommandTester, Doctor
Cohesion: 0.36
Nodes (4): RepairImportedDoctorsCommandTest, DoctorRepairStep, CommandTester, Doctor
### Community 910 - "Community 910"
Cohesion: 0.50
@@ -3805,8 +3838,8 @@ Cohesion: 0.50
Nodes (4): Errors, GET `/api/v1/admin/clinic/{clinicUuid}/doctor/{doctorUuid}/permissions`, Path Parameters, Response `200`
### Community 914 - "Community 914"
Cohesion: 0.50
Nodes (4): Errors, GET `/api/v1/representation/doctors`, Query Parameters, Response `200`
Cohesion: 0.38
Nodes (3): BackfillAppointmentSessionsCommand, InputInterface, OutputInterface
### Community 915 - "Community 915"
Cohesion: 0.18
@@ -3852,9 +3885,13 @@ Nodes (5): 31. 🟡 `PATCH` patch, Request Body, مثال Request, هدرهای
Cohesion: 0.40
Nodes (5): DELETE `/api/v1/patient/message/{uuid}`, Errors, GET `/api/v1/patient/{uuid}/messages`, POST `/api/v1/patient/{uuid}/message`, پیام‌های بیمار (Messages)
### Community 937 - "Community 937"
Cohesion: 0.38
Nodes (3): NormalizeScheduleFormatCommand, InputInterface, OutputInterface
### Community 939 - "Community 939"
Cohesion: 0.09
Nodes (12): RepairImportedDoctorsCommand, DoctorRepairStep, BackfillSurrogateRoleStep, FixDegreeStep, InputInterface, OutputInterface, RepairOptions, RepairResult (+4 more)
Cohesion: 0.25
Nodes (4): BackfillSurrogateRoleStep, RepairOptions, RepairResult, SymfonyStyle
### Community 940 - "Community 940"
Cohesion: 0.40
@@ -3869,8 +3906,8 @@ Cohesion: 0.40
Nodes (5): 41. 🟡 `PATCH` patch, Request Body, مثال Request, هدرهای اضافی, پاسخ‌ها
### Community 944 - "Community 944"
Cohesion: 0.67
Nodes (3): GET `/api/v1/representation/{uuid}/dashboard/yearly`, Query Parameters, Response `200`
Cohesion: 0.38
Nodes (3): PurgeDoctorsCommand, InputInterface, OutputInterface
### Community 949 - "Community 949"
Cohesion: 0.25
@@ -3897,8 +3934,8 @@ Cohesion: 0.50
Nodes (4): 46. 🟡 `PATCH` patch, مثال Request, هدرهای اضافی, پاسخ‌ها
### Community 957 - "Community 957"
Cohesion: 0.67
Nodes (3): 33. 🔵 `POST` image_clinic, هدرهای اضافی, پاسخ‌ها
Cohesion: 0.38
Nodes (3): RepairAcceptedInvitationsCommand, InputInterface, OutputInterface
### Community 958 - "Community 958"
Cohesion: 0.40
@@ -3912,6 +3949,10 @@ Nodes (3): SessionConsumableRepository, ManagerRegistry, SessionConsumable
Cohesion: 0.53
Nodes (3): PaymentLog, PaymentLogRepository, ManagerRegistry
### Community 964 - "Community 964"
Cohesion: 0.43
Nodes (3): InvoiceItemRepository, InvoiceItem, ManagerRegistry
### Community 965 - "Community 965"
Cohesion: 0.33
Nodes (6): GET /api/v1/sms/balance — موجودی حساب پیامک, POST /api/v1/sms/queue — افزودن به صف, ۴. سیستم حساب و صف پیامک, ۴.۱ حساب پیامک (SMS Account), ۴.۲ صف پیامک (SMS Queue), ۴.۳ API پیامک
@@ -3929,8 +3970,8 @@ Cohesion: 0.28
Nodes (5): DoctorAppointmentFilterTest, AppointmentRepository, AppointmentExpiryService, Appointment, Doctor
### Community 973 - "Community 973"
Cohesion: 0.39
Nodes (5): CalendarIcon(), CardIcon(), CardTickIcon(), UserAddIcon(), StatCardModel
Cohesion: 0.17
Nodes (8): CalendarIcon(), CardIcon(), CardTickIcon(), ChevronDownIcon(), UserAddIcon(), HEAD, Props, StatCardModel
### Community 974 - "Community 974"
Cohesion: 0.40
@@ -3964,6 +4005,10 @@ Nodes (3): TaxRateHistoryRepository, ManagerRegistry, TaxRateHistory
Cohesion: 0.67
Nodes (3): Errors, POST `/api/v1/sms/send` — ⛔ غیرفعال (Deprecated), Response `422` (همیشه)
### Community 983 - "Community 983"
Cohesion: 0.33
Nodes (6): Behaviour while enabled, Console escape hatch, Failure behaviour, Maintenance Mode, Settings keys, Who gets through
### Community 984 - "Community 984"
Cohesion: 0.50
Nodes (4): GET /api/v1/appointment-settings/slots — دریافت اسلات‌های خالی, POST /api/v1/appointment-settings/holidays — ثبت تعطیلی (فقط ادمین), POST /api/v1/appointment-settings/overrides — ثبت Override توسط دکتر, Task-09: API تنظیمات نوبت
@@ -3982,35 +4027,139 @@ Nodes (4): run(), RepairOptions, RepairResult, SymfonyStyle
### Community 989 - "Community 989"
Cohesion: 0.33
Nodes (6): GET `/api/v1/admin/sms/logs`, GET `/api/v1/admin/sms/templates`, Query Parameters, Response `200`, Response `200`, SMS Management (Admin)
Nodes (6): `city` / `state` در پاسخ لیست, GET `/api/v1/doctors`, Query Parameters, Response `200`, اعتبارسنجی نام پزشک, مرتب‌سازی و تعریف «دارای نوبت»
### Community 990 - "Community 990"
Cohesion: 0.50
Nodes (4): ۲.۱۳ نظرات، لایک و امتیازدهی, ۲.۱۳.۱ نظر (Comment), ۲.۱۳.۲ لایک (Like), ۲.۱۳.۳ امتیاز (Rate)
### Community 992 - "Community 992"
Cohesion: 0.40
Nodes (5): Errors, GET `/api/v1/clinic/my-doctor/{doctorUuid}`, Path Parameters, Response `200`, Schedule Fields Notes
### Community 996 - "Community 996"
Cohesion: 0.40
Nodes (5): Errors, PATCH `/api/v1/doctor/{uuid}`, Path Parameters, Request Body (`application/json`), Response `200`
### Community 997 - "Community 997"
Cohesion: 0.40
Nodes (5): Errors, PATCH `/api/v1/clinic-pro/doctor-address/{id}`, Path Parameters, Request Body, Response `200`
### Community 998 - "Community 998"
Cohesion: 0.40
Nodes (5): DELETE `/api/v1/billing/tenant-insurances/{uuid}`, GET `/api/v1/billing/tenant-insurances`, PATCH `/api/v1/billing/tenant-insurances/{uuid}`, POST `/api/v1/billing/tenant-insurances`, TenantInsurance — قراردادهای بیمه‌ی tenant (فاز ۱ سیستم صورتحساب)
### Community 999 - "Community 999"
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}`, موتور مالی نمایندگی
### Community 1001 - "Community 1001"
Cohesion: 0.40
Nodes (5): 62. 🟡 `PATCH` patch, Request Body, مثال Request, هدرهای اضافی, پاسخ‌ها
### Community 1002 - "Community 1002"
Cohesion: 0.40
Nodes (4): license, overrides, lodash, private
### Community 1005 - "Community 1005"
Cohesion: 0.50
Nodes (4): GET `/api/v1/admin/pre-registrations`, POST `/api/v1/admin/pre-registrations/{uuid}/approve`, POST `/api/v1/admin/pre-registrations/{uuid}/reject`, Pre-Registration Management
### Community 1007 - "Community 1007"
Cohesion: 0.50
Nodes (4): DELETE `/api/v1/doctor/{uuid}`, Errors, Path Parameters, Response `200`
### Community 1008 - "Community 1008"
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/doctor`, Request Body (`application/json`), Response `201`
### Community 1009 - "Community 1009"
Cohesion: 0.50
Nodes (4): Errors, GET `/api/v1/doctor/{uuid}`, Path Parameters, Response `200`
### Community 1010 - "Community 1010"
Cohesion: 0.50
Nodes (4): Errors, POST `/file/upload/clinic_pro/doctor/field_image`, Request, Response `200`
### Community 1011 - "Community 1011"
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/clinic-pro/doctor-address`, Request Body, Response `201`
### Community 1012 - "Community 1012"
Cohesion: 0.50
Nodes (4): Errors, Path Parameters, POST `/api/v1/clinic-pro/doctor-address/from-clinic/{clinicUuid}`, Response `201`
### Community 1013 - "Community 1013"
Cohesion: 0.50
Nodes (4): Errors, GET `/api/v1/admin/insurances`, Query Parameters, Response `200`
### Community 1014 - "Community 1014"
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/admin/insurance`, Request Body (`application/json`), Response `201`
### Community 1015 - "Community 1015"
Cohesion: 0.50
Nodes (4): Errors, PATCH `/api/v1/admin/insurance/{id}`, Path Parameters, Response `200`
### Community 1019 - "Community 1019"
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/insurance/`, Request Body (`application/json`), Response `201`
### Community 1020 - "Community 1020"
Cohesion: 0.50
Nodes (4): Errors, PATCH `/api/v1/insurance/{id}`, Request Body, Response `200`
### Community 1021 - "Community 1021"
Cohesion: 0.50
Nodes (4): GET `/api/v1/insurance-pricing`, Query Parameters, Response `200`, خطاها
### Community 1022 - "Community 1022"
Cohesion: 0.50
Nodes (4): PUT `/api/v1/insurance-pricing`, Request Body, Response `200`, خطاها
### Community 1023 - "Community 1023"
Cohesion: 0.50
Nodes (3): Altcha(), AltchaProps, IntrinsicElements
### Community 1024 - "Community 1024"
Cohesion: 0.67
Nodes (3): GET `/api/v1/insurances`, Query Parameters, Response `200`
### Community 1025 - "Community 1025"
Cohesion: 0.67
Nodes (3): POST `/api/v1/admin/insurance/{id}/upload-logo`, Request, Response `200`
### Community 1026 - "Community 1026"
Cohesion: 0.67
Nodes (3): DELETE `/api/v1/representation/{uuid}`, Errors, Response `200`
### Community 1027 - "Community 1027"
Cohesion: 0.67
Nodes (3): POST `/api/v1/admin/sms/template/{uuid}/approve`, Request Body (`application/json`), Response `200`
### Community 1028 - "Community 1028"
Cohesion: 0.67
Nodes (3): 36. 🟢 `GET` get my rate, هدرهای اضافی, پاسخ‌ها
## Knowledge Gaps
- **5307 isolated node(s):** `PORT`, `ROLES`, `[cmd, ...argv]`, `positional`, `opts` (+5302 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **237 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **241 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 `Altcha` connect `Community 367` to `Community 485`?**
- **Why does `Altcha` connect `Community 367` to `Community 485`, `Community 1023`?**
_High betweenness centrality (0.113) - this node is a cross-community bridge._
- **Why does `SiteConfigRepository` connect `Community 455` to `Community 704`, `Community 768`, `Community 608`, `Community 485`, `Community 169`, `Community 205`, `Community 206`, `Community 15`, `Community 367`, `Community 724`, `Community 693`, `Community 637`, `Community 254`?**
- **Why does `SiteConfigRepository` connect `Community 15` to `Community 485`, `Community 809`, `Community 169`, `Community 205`, `Community 206`, `Community 367`, `Community 693`, `Community 637`, `Community 254`?**
_High betweenness centrality (0.099) - this node is a cross-community bridge._
- **Why does `ApiTestCase` connect `Community 86` to `Community 0`, `Community 16`, `Community 531`, `Community 534`, `Community 535`, `Community 538`, `Community 539`, `Community 541`, `Community 562`, `Community 565`, `Community 59`, `Community 574`, `Community 575`, `Community 583`, `Community 594`, `Community 82`, `Community 609`, `Community 633`, `Community 640`, `Community 646`, `Community 652`, `Community 658`, `Community 659`, `Community 685`, `Community 690`, `Community 694`, `Community 697`, `Community 704`, `Community 710`, `Community 715`, `Community 717`, `Community 719`, `Community 733`, `Community 743`, `Community 744`, `Community 748`, `Community 765`, `Community 769`, `Community 775`, `Community 779`, `Community 784`, `Community 804`, `Community 294`, `Community 300`, `Community 817`, `Community 826`, `Community 828`, `Community 318`, `Community 832`, `Community 837`, `Community 840`, `Community 851`, `Community 854`, `Community 856`, `Community 871`, `Community 881`, `Community 887`, `Community 907`, `Community 403`, `Community 917`, `Community 918`, `Community 920`, `Community 921`, `Community 927`, `Community 928`, `Community 936`, `Community 424`, `Community 431`, `Community 943`, `Community 442`, `Community 445`, `Community 446`, `Community 959`, `Community 963`, `Community 455`, `Community 968`, `Community 971`, `Community 978`, `Community 480`, `Community 482`, `Community 483`, `Community 484`, `Community 486`, `Community 492`, `Community 494`, `Community 497`?**
- **Why does `ApiTestCase` connect `Community 86` to `Community 0`, `Community 15`, `Community 16`, `Community 531`, `Community 534`, `Community 535`, `Community 538`, `Community 539`, `Community 541`, `Community 543`, `Community 562`, `Community 565`, `Community 574`, `Community 575`, `Community 583`, `Community 594`, `Community 82`, `Community 608`, `Community 609`, `Community 633`, `Community 640`, `Community 646`, `Community 652`, `Community 658`, `Community 659`, `Community 685`, `Community 690`, `Community 697`, `Community 710`, `Community 715`, `Community 717`, `Community 719`, `Community 733`, `Community 743`, `Community 744`, `Community 748`, `Community 765`, `Community 775`, `Community 779`, `Community 784`, `Community 804`, `Community 300`, `Community 823`, `Community 826`, `Community 828`, `Community 318`, `Community 832`, `Community 837`, `Community 840`, `Community 851`, `Community 854`, `Community 856`, `Community 871`, `Community 881`, `Community 887`, `Community 907`, `Community 403`, `Community 917`, `Community 918`, `Community 920`, `Community 921`, `Community 927`, `Community 928`, `Community 936`, `Community 424`, `Community 431`, `Community 943`, `Community 438`, `Community 442`, `Community 445`, `Community 446`, `Community 959`, `Community 455`, `Community 968`, `Community 971`, `Community 978`, `Community 480`, `Community 482`, `Community 483`, `Community 484`, `Community 486`, `Community 1000`, `Community 1003`, `Community 492`, `Community 1004`, `Community 497`?**
_High betweenness centrality (0.057) - this node is a cross-community bridge._
- **What connects `PORT`, `ROLES`, `[cmd, ...argv]` to the rest of the system?**
_5307 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Community 0` be split into smaller, more focused modules?**
_Cohesion score 0.06392405063291139 - nodes in this community are weakly interconnected._
- **Should `Community 1` be split into smaller, more focused modules?**
_Cohesion score 0.08362369337979095 - nodes in this community are weakly interconnected._
_Cohesion score 0.07878787878787878 - nodes in this community are weakly interconnected._
- **Should `Community 2` be split into smaller, more focused modules?**
_Cohesion score 0.09523809523809523 - 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 one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1193 -1131
View File
File diff suppressed because it is too large Load Diff
+22 -22
View File
@@ -1,7 +1,7 @@
{
"assets/admin/App.tsx": {
"mtime": 1784814839.3395896,
"ast_hash": "5a62c6b0aed811c4951865e097088fdd",
"mtime": 1784818172.692579,
"ast_hash": "8ff377edef61623fae9f278eac83122b",
"semantic_hash": ""
},
"assets/admin/components/FreeVisitPrice.tsx": {
@@ -270,8 +270,8 @@
"semantic_hash": ""
},
"assets/admin/pages/MySecretariesPage.tsx": {
"mtime": 1784814278.2214756,
"ast_hash": "3efeb35edfea1d731152c6c8b3cffa16",
"mtime": 1784818074.9083815,
"ast_hash": "d63189538fe1960e7c56a4c64a89dcbc",
"semantic_hash": ""
},
"assets/admin/pages/NewSessionPage.tsx": {
@@ -325,8 +325,8 @@
"semantic_hash": ""
},
"assets/admin/pages/SecretariesPage.tsx": {
"mtime": 1784814300.9613419,
"ast_hash": "248786235c2c89bc3dba999277bf7e9a",
"mtime": 1784818099.7768664,
"ast_hash": "e305335f8297f8b19c7e19005a3dc37f",
"semantic_hash": ""
},
"assets/admin/pages/SelectContextPage.tsx": {
@@ -390,8 +390,8 @@
"semantic_hash": ""
},
"assets/admin/types/index.ts": {
"mtime": 1784814197.1834555,
"ast_hash": "067d40bbc8d33f79697f7fa951b4afa5",
"mtime": 1784818062.8192828,
"ast_hash": "3e204571b2ed5099839d2fefc424d49a",
"semantic_hash": ""
},
"assets/app.js": {
@@ -1350,8 +1350,8 @@
"semantic_hash": ""
},
"src/Payment/Controller/PaymentController.php": {
"mtime": 1784811007.1122248,
"ast_hash": "d7b3e7aa9ebe9fde98e26f4490f9090d",
"mtime": 1784818154.4552984,
"ast_hash": "deb04c63a0cf41588150d6e07387d411",
"semantic_hash": ""
},
"src/Payment/Entity/Payment.php": {
@@ -1470,8 +1470,8 @@
"semantic_hash": ""
},
"src/Secretary/Entity/DoctorSecretary.php": {
"mtime": 1784814189.407135,
"ast_hash": "3afc46c800dd6eff9ad496fcb991b8a3",
"mtime": 1784818053.6660721,
"ast_hash": "2feb93424b554788b2d4977a68543a00",
"semantic_hash": ""
},
"src/Secretary/Repository/DoctorSecretaryRepository.php": {
@@ -1730,8 +1730,8 @@
"semantic_hash": ""
},
"src/Subscription/Controller/SubscriptionController.php": {
"mtime": 1783235518.9559367,
"ast_hash": "cb05c759a1c625db2bc201989b32360f",
"mtime": 1784818134.9219277,
"ast_hash": "5f47f0bd02e812aa03e9bda5b67a1254",
"semantic_hash": ""
},
"src/Subscription/Entity/ClinicSubscription.php": {
@@ -2415,8 +2415,8 @@
"semantic_hash": ""
},
"docs/api/secretary.md": {
"mtime": 1784817038.9584813,
"ast_hash": "4b47166d6e5545a429d58b87801cf4c4",
"mtime": 1784818277.8539133,
"ast_hash": "107543bc5da240f7743ec03295f36b0b",
"semantic_hash": ""
},
"docs/api/settlement.md": {
@@ -4070,8 +4070,8 @@
"semantic_hash": ""
},
"assets/admin/components/layout/SettingsLayout.tsx": {
"mtime": 1784817575.8809328,
"ast_hash": "6253134ab6a949b49cc98065e0d1412c",
"mtime": 1784818183.4909794,
"ast_hash": "2e3db017d10b1db0ed7676af3ee85adc",
"semantic_hash": ""
},
"assets/admin/pages/PaymentSuccessPage.test.tsx": {
@@ -4435,8 +4435,8 @@
"semantic_hash": ""
},
"assets/admin/components/layout/PurchaseSubscriptionSidebar.tsx": {
"mtime": 1784817563.804011,
"ast_hash": "1a93f051861179220847643b1e5c4349",
"mtime": 1784818184.9586315,
"ast_hash": "53c9e2445a2cafa29c35f3d73f588a94",
"semantic_hash": ""
},
"assets/admin/pages/subscriptionIcons.tsx": {
@@ -6140,8 +6140,8 @@
"semantic_hash": ""
},
"tests/Secretary/SecretaryResourceEnforcementTest.php": {
"mtime": 1784816973.256164,
"ast_hash": "e672c3fa6feb549ecda6b085d4619826",
"mtime": 1784818220.5879743,
"ast_hash": "dc8e106bbae91cb32fec1e90d5ee0ad5",
"semantic_hash": ""
},
".claude/prompt/secretary-permissions-coverage-and-panel-enforcement.md": {