chore(graphify): rebuild code graph after booking-location change
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -372,5 +372,11 @@
|
||||
"370": "Community 370",
|
||||
"371": "Community 371",
|
||||
"372": "Community 372",
|
||||
"373": "Community 373"
|
||||
"373": "Community 373",
|
||||
"374": "Community 374",
|
||||
"375": "Community 375",
|
||||
"376": "Community 376",
|
||||
"377": "Community 377",
|
||||
"378": "Community 378",
|
||||
"379": "Community 379"
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
# Graph Report - nobat724_front (2026-07-10)
|
||||
# Graph Report - nobat724_front (2026-07-18)
|
||||
|
||||
## Corpus Check
|
||||
- 596 files · ~537,596 words
|
||||
- 606 files · ~551,814 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 2055 nodes · 2037 edges · 374 communities (344 shown, 30 thin omitted)
|
||||
- Extraction: 95% EXTRACTED · 5% INFERRED · 0% AMBIGUOUS · INFERRED: 99 edges (avg confidence: 0.8)
|
||||
- 2169 nodes · 2150 edges · 380 communities (349 shown, 31 thin omitted)
|
||||
- Extraction: 95% EXTRACTED · 5% INFERRED · 0% AMBIGUOUS · INFERRED: 100 edges (avg confidence: 0.8)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `ab2ab0de`
|
||||
- Built from commit: `eba0c6a5`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
@@ -100,7 +100,6 @@
|
||||
- [[_COMMUNITY_Community 82|Community 82]]
|
||||
- [[_COMMUNITY_Community 83|Community 83]]
|
||||
- [[_COMMUNITY_Community 84|Community 84]]
|
||||
- [[_COMMUNITY_Community 85|Community 85]]
|
||||
- [[_COMMUNITY_Community 86|Community 86]]
|
||||
- [[_COMMUNITY_Community 87|Community 87]]
|
||||
- [[_COMMUNITY_Community 88|Community 88]]
|
||||
@@ -149,22 +148,26 @@
|
||||
- [[_COMMUNITY_Community 371|Community 371]]
|
||||
- [[_COMMUNITY_Community 372|Community 372]]
|
||||
- [[_COMMUNITY_Community 373|Community 373]]
|
||||
- [[_COMMUNITY_Community 374|Community 374]]
|
||||
- [[_COMMUNITY_Community 375|Community 375]]
|
||||
- [[_COMMUNITY_Community 376|Community 376]]
|
||||
- [[_COMMUNITY_Community 377|Community 377]]
|
||||
- [[_COMMUNITY_Community 378|Community 378]]
|
||||
- [[_COMMUNITY_Community 379|Community 379]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `getStateInfo()` - 24 edges
|
||||
2. `🏥 نوبت724 (Nobat724) - سیستم نوبتدهی آنلاین پزشکی` - 19 edges
|
||||
3. `imageUrl()` - 15 edges
|
||||
4. `Dashboard()` - 10 edges
|
||||
5. `بهینهسازی SEO تکتک شهرها در city.json (سطح حرفهای)` - 10 edges
|
||||
6. `بازطراحی حرفهای پوستر اشتراکگذاری پزشک (دانلود)` - 10 edges
|
||||
7. `وظایف` - 10 edges
|
||||
3. `تقسیم ممیزی SEO به پرامپتهای کوچک اجرایی — nobat724` - 17 edges
|
||||
4. `imageUrl()` - 15 edges
|
||||
5. `Dashboard()` - 10 edges
|
||||
6. `بهینهسازی SEO تکتک شهرها در city.json (سطح حرفهای)` - 10 edges
|
||||
7. `بازطراحی حرفهای پوستر اشتراکگذاری پزشک (دانلود)` - 10 edges
|
||||
8. `وظایف` - 10 edges
|
||||
9. `وظایف` - 10 edges
|
||||
10. `Architecture Overview` - 10 edges
|
||||
10. `وظایف` - 10 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `Dashboard()` --calls--> `safeJsonParse()` [INFERRED]
|
||||
app/dashboard/page.js → lib/sanitize.js
|
||||
- `AboutUsPage()` --calls--> `getStateInfo()` [INFERRED]
|
||||
components/aboutUs/index.js → lib/getStateInfo.js
|
||||
- `ContactUsPage()` --calls--> `getStateInfo()` [INFERRED]
|
||||
@@ -173,23 +176,25 @@
|
||||
components/home/search/index.js → lib/getStateInfo.js
|
||||
- `StLayout()` --calls--> `getStateInfo()` [INFERRED]
|
||||
components/layout/StLayout.js → lib/getStateInfo.js
|
||||
- `generateMetadata()` --calls--> `getStateInfo()` [INFERRED]
|
||||
app/about-us/page.js → lib/getStateInfo.js
|
||||
|
||||
## Import Cycles
|
||||
- None detected.
|
||||
|
||||
## Communities (374 total, 30 thin omitted)
|
||||
## Communities (380 total, 31 thin omitted)
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
Cohesion: 0.05
|
||||
Nodes (27): BgGray(), ButtonMenu(), Col(), ModalLogout(), Footer(), head, LogoNamad(), Namads (+19 more)
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
Cohesion: 0.36
|
||||
Nodes (5): convertTimestampToTime(), ButtonData(), DetailLg(), DetailSm(), Head()
|
||||
Cohesion: 0.24
|
||||
Nodes (8): Head(), convertTimestampToJalali(), convertTimestampToTime(), ButtonData(), DetailLg(), DetailSm(), Head(), Card()
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.04
|
||||
Nodes (46): dependencies, altcha, aos, axios, @casl/ability, @casl/react, date-fns, dayjs (+38 more)
|
||||
Nodes (48): dependencies, altcha, aos, axios, @casl/ability, @casl/react, date-fns, dayjs (+40 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.24
|
||||
@@ -200,16 +205,16 @@ Cohesion: 0.07
|
||||
Nodes (21): ContentDetail(), About(), ListBime(), Services(), Specialties(), TextDetail(), listTab, AddComment() (+13 more)
|
||||
|
||||
### Community 5 - "Community 5"
|
||||
Cohesion: 0.08
|
||||
Nodes (18): AppointmentList(), ItemAppointment(), AboutDcotor(), DetailDoctor(), Link(), listLink, List(), VAZIR_WEIGHTS (+10 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (23): AppointmentList(), ItemAppointment(), AboutDcotor(), ClaimProfileSection(), currentUserMobile(), initialForm, DetailDoctor(), Link() (+15 more)
|
||||
|
||||
### Community 6 - "Community 6"
|
||||
Cohesion: 0.07
|
||||
Nodes (16): Dashboard(), metadata, defineAbilitiesFor(), getUser(), formatToman(), rialToToman(), buildPatientUser(), getServerAccessToken() (+8 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (17): Dashboard(), metadata, defineAbilitiesFor(), getUser(), formatToman(), rialToToman(), buildPatientUser(), safeJsonParse() (+9 more)
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
Cohesion: 0.13
|
||||
Nodes (15): devDependencies, babel-plugin-react-compiler, cross-env, eslint, eslint-config-next, @eslint/eslintrc, jsdom, prettier (+7 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (28): devDependencies, babel-plugin-react-compiler, cross-env, eslint, eslint-config-next, @eslint/eslintrc, jsdom, prettier (+20 more)
|
||||
|
||||
### Community 9 - "Community 9"
|
||||
Cohesion: 0.07
|
||||
@@ -220,8 +225,8 @@ Cohesion: 0.08
|
||||
Nodes (25): زمینه, فایلهای مرتبط, مشکل / هدف, ممیزی و رفع کامل Technical SEO با محوریت معماری چند-دامنهای, نقش, نکات مهم, وضعیت فعلی (یافتههای ممیزی اولیه — از کد واقعی), وظایف (+17 more)
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
Cohesion: 0.13
|
||||
Nodes (10): Container(), Content(), defaultData, Date(), Hour(), Address(), Head(), Location() (+2 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (12): Container(), Content(), defaultData, Date(), Hour(), Address(), Head(), Location() (+4 more)
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
Cohesion: 0.10
|
||||
@@ -240,8 +245,8 @@ Cohesion: 0.14
|
||||
Nodes (10): Chart(), ProgressAll(), fallbackLabels, ProgressDetail(), Form(), Content(), Rates(), numberToArStyle() (+2 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.14
|
||||
Nodes (10): Head(), AboutUsPage(), ourServices, Services(), SearchBar(), TickOrangeA(), UnderlineLG(), ButtonFilter() (+2 more)
|
||||
Cohesion: 0.25
|
||||
Nodes (6): Head(), AboutUsPage(), ourServices, Services(), TickOrangeA(), UnderlineLG()
|
||||
|
||||
### Community 17 - "Community 17"
|
||||
Cohesion: 0.11
|
||||
@@ -312,8 +317,8 @@ Cohesion: 0.12
|
||||
Nodes (15): راهاندازی تست و نوشتن تستسوئیت برای سایت عمومی (nobat724_front), زمینه, فایلهای مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, پروژه (+7 more)
|
||||
|
||||
### Community 34 - "Community 34"
|
||||
Cohesion: 0.18
|
||||
Nodes (7): Tabs(), listTab, nameHours, SendAppo(), Hours(), List(), Loading()
|
||||
Cohesion: 0.22
|
||||
Nodes (5): Tabs(), SendAppo(), Hours(), List(), Loading()
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
Cohesion: 0.13
|
||||
@@ -356,8 +361,8 @@ Cohesion: 0.14
|
||||
Nodes (13): `hours/List.js`, آبجکت اسلات (از `adaptSlots` / API), تأیید و سختسازی غیرفعالبودن اسلاتهای گذشته در صفحهی نوبت, زمینه, فایلهای مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی (کد واقعی) (+5 more)
|
||||
|
||||
### Community 45 - "Community 45"
|
||||
Cohesion: 0.23
|
||||
Nodes (11): generateMetadata(), generateMetadata(), imageUrl(), normalizeBlog(), safeJsonLd(), safeJsonParse(), Blog(), Doctor() (+3 more)
|
||||
Cohesion: 0.25
|
||||
Nodes (12): generateMetadata(), generateMetadata(), RootLayout(), imageUrl(), normalizeBlog(), getRequestOrigin(), safeJsonLd(), Blog() (+4 more)
|
||||
|
||||
### Community 46 - "Community 46"
|
||||
Cohesion: 0.22
|
||||
@@ -464,8 +469,8 @@ Cohesion: 0.22
|
||||
Nodes (7): degree, Form(), gender, degree, Form(), gender, filterList()
|
||||
|
||||
### Community 72 - "Community 72"
|
||||
Cohesion: 0.39
|
||||
Nodes (8): generateMetadata(), RootLayout(), buildCanonicalPath(), buildCanonicalUrl(), buildMainCanonicalUrl(), getCanonicalUrl(), getRequestOrigin(), normalizeHost()
|
||||
Cohesion: 0.52
|
||||
Nodes (6): generateMetadata(), buildCanonicalPath(), buildCanonicalUrl(), buildMainCanonicalUrl(), getCanonicalUrl(), normalizeHost()
|
||||
|
||||
### Community 73 - "Community 73"
|
||||
Cohesion: 0.32
|
||||
@@ -497,7 +502,7 @@ Nodes (11): رفع خطای `TypeError: fetch failed` در sitemap هنگام د
|
||||
|
||||
### Community 83 - "Community 83"
|
||||
Cohesion: 0.24
|
||||
Nodes (7): Card(), STATUS_LABELS, Head(), listTab, Turns(), List(), STATUS_LABELS
|
||||
Nodes (6): STATUS_LABELS, Head(), listTab, Turns(), List(), STATUS_LABELS
|
||||
|
||||
### Community 86 - "Community 86"
|
||||
Cohesion: 0.40
|
||||
@@ -507,10 +512,6 @@ Nodes (5): Doctors(), FILTER_KEYS, generateMetadata(), listingRobots(), buildDoc
|
||||
Cohesion: 0.33
|
||||
Nodes (6): 1. افزودن صفحه جدید, 2. افزودن API Endpoint جدید, 3. افزودن کامپوننت جدید, 4. کار با تاریخ شمسی, 5. استفاده از Context, 📝 نکات توسعه
|
||||
|
||||
### Community 89 - "Community 89"
|
||||
Cohesion: 0.28
|
||||
Nodes (4): Head(), convertTimestampToJalali(), RelatedContent(), Item()
|
||||
|
||||
### Community 90 - "Community 90"
|
||||
Cohesion: 0.50
|
||||
Nodes (4): buildDays(), InlineJalaliMonth(), MONTHS, WEEKDAYS
|
||||
@@ -560,12 +561,12 @@ Cohesion: 0.67
|
||||
Nodes (3): Feature Components, Layout Components, 🧩 کامپوننتهای اصلی
|
||||
|
||||
### Community 365 - "Community 365"
|
||||
Cohesion: 0.70
|
||||
Nodes (4): generateMetadata(), Clinic(), computeClinicRating(), getClinic
|
||||
Cohesion: 0.08
|
||||
Nodes (23): endpoint جدید, انتخاب محل نوبتدهی (مطب شخصی / کلینیک) در جریان رزرو, زمینه, فایلهای مرتبط, قرارداد API (آمادهٔ مصرف), مشکل / هدف, نکات مهم, وضعیت فعلی (+15 more)
|
||||
|
||||
### Community 366 - "Community 366"
|
||||
Cohesion: 0.25
|
||||
Nodes (8): scripts, build, dev, lint, start, test, test:cov, test:watch
|
||||
Cohesion: 0.11
|
||||
Nodes (17): P10 — بلاگ شهر-محور (C4), P11 — FAQPage schema و متن مقدمهٔ یکتا (M1 + M2), P1 — بررسی robots.txt (پیشنیاز اعتبارسنجی), P2 — هلپرهای مشترک (زیرساخت), P3 — رفع noindex سیستمیک صفحات لیست (C5 — بدترین باگ), P4 — استراتژی canonical سهدسته + تصمیم pagination (C1-a/b/c + M3-B), P5 — بازسازی sitemap (C2), P6 — صفحات موجودیت: Soft-404 و noindex کلینیک خالی (H4 + H7) (+9 more)
|
||||
|
||||
### Community 367 - "Community 367"
|
||||
Cohesion: 0.19
|
||||
@@ -592,21 +593,41 @@ Cohesion: 0.40
|
||||
Nodes (3): ModalAddSurgeries(), Surgeries(), ItemSurgeries()
|
||||
|
||||
### Community 373 - "Community 373"
|
||||
Cohesion: 0.33
|
||||
Nodes (5): engines, node, name, private, version
|
||||
Cohesion: 0.12
|
||||
Nodes (16): fetch اسلات ثابت, payload رزرو — بدون سرویس, step router, زمینه, فایلهای مرتبط, نوبتدهی آنلاین بر اساس سرویس (Service-first booking), نکات مهم, هدف / spec انگلیسی (+8 more)
|
||||
|
||||
### Community 374 - "Community 374"
|
||||
Cohesion: 0.12
|
||||
Nodes (15): زمینه, صفحه عمومی پزشک — رفتار الزامی برای پروفایل بدون صاحب (unclaimed), فایلهای مرتبط, نکات مهم, وضعیت فعلی, وظایف, پروژه, ۱. مخفیکردن امتیاز/رضایت برای unclaimed (مهمترین) (+7 more)
|
||||
|
||||
### Community 375 - "Community 375"
|
||||
Cohesion: 0.17
|
||||
Nodes (11): بازگشت به صفحهٔ مبدأ بعد از لاگین (redirect-back), زمینه, فایلهای مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, پروژه (+3 more)
|
||||
|
||||
### Community 376 - "Community 376"
|
||||
Cohesion: 0.18
|
||||
Nodes (10): راهحل, رفع نمایش نقشه صفحه پزشک + بهبود مودال claim (کپچا/موبایل) + حذف پروفایل توسط مالک, ریشه (تأییدشده), زمینه, فایلهای مرتبط, نکات مهم, وظیفه ۱ — رفع نمایش نقشه صفحه پزشک, وظیفه ۲ — بهبود مودال claim (متن، موبایل، کپچا) (+2 more)
|
||||
|
||||
### Community 377 - "Community 377"
|
||||
Cohesion: 0.36
|
||||
Nodes (4): SearchBar(), ButtonFilter(), Fields(), RedirectLink()
|
||||
|
||||
### Community 378 - "Community 378"
|
||||
Cohesion: 0.60
|
||||
Nodes (5): generateMetadata(), Doctor(), getBookingLocations, getDoctor, getDoctorAddresses
|
||||
|
||||
## Knowledge Gaps
|
||||
- **699 isolated node(s):** `metadata`, `FILTER_KEYS`, `fallbackLabels`, `MaterialUISwitch`, `fixedIconData` (+694 more)
|
||||
- **779 isolated node(s):** `metadata`, `FILTER_KEYS`, `fallbackLabels`, `MaterialUISwitch`, `fixedIconData` (+774 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **30 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
- **31 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 `getStateInfo()` connect `Community 29` to `Community 0`, `Community 67`, `Community 70`, `Community 6`, `Community 72`, `Community 365`, `Community 45`, `Community 14`, `Community 16`, `Community 51`, `Community 86`?**
|
||||
_High betweenness centrality (0.032) - this node is a cross-community bridge._
|
||||
- **Why does `imageUrl()` connect `Community 45` to `Community 0`, `Community 99`, `Community 4`, `Community 7`, `Community 365`, `Community 81`, `Community 55`, `Community 56`, `Community 89`?**
|
||||
_High betweenness centrality (0.025) - this node is a cross-community bridge._
|
||||
- **Why does `imageUrl()` connect `Community 45` to `Community 0`, `Community 99`, `Community 4`, `Community 7`, `Community 81`, `Community 55`, `Community 56`, `Community 89`, `Community 378`?**
|
||||
_High betweenness centrality (0.037) - this node is a cross-community bridge._
|
||||
- **Why does `getStateInfo()` connect `Community 29` to `Community 0`, `Community 67`, `Community 70`, `Community 6`, `Community 72`, `Community 45`, `Community 14`, `Community 16`, `Community 51`, `Community 86`, `Community 377`, `Community 378`?**
|
||||
_High betweenness centrality (0.034) - this node is a cross-community bridge._
|
||||
- **Why does `isRootCity()` connect `Community 51` to `Community 3`, `Community 29`?**
|
||||
_High betweenness centrality (0.016) - this node is a cross-community bridge._
|
||||
- **Are the 22 inferred relationships involving `getStateInfo()` (e.g. with `generateMetadata()` and `AboutUsPage()`) actually correct?**
|
||||
@@ -614,6 +635,6 @@ _Questions this graph is uniquely positioned to answer:_
|
||||
- **Are the 14 inferred relationships involving `imageUrl()` (e.g. with `generateMetadata()` and `generateMetadata()`) actually correct?**
|
||||
_`imageUrl()` has 14 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **What connects `metadata`, `FILTER_KEYS`, `fallbackLabels` to the rest of the system?**
|
||||
_699 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
_779 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `Community 0` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.05263157894736842 - nodes in this community are weakly interconnected._
|
||||
graphify-out/cache/ast/v0.8.44/2b374ceb02255315bdf1a363ba1bab456bf1b102f0e0b1889d24eddd686624d1.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/471349817b10fff0465d66a127e6ab791fbf844024eed778d1757e891b28d87f.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/4ccb53c29097dc660266a9128272555d17e37bf3de0d8fa6f8b1fd29e94000e6.json
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [], "edges": [], "skipped": "data json (non-object root)"}
|
||||
graphify-out/cache/ast/v0.8.44/827cc28f12b105562ef4733c1d52971d0e65ac9838e237a638b58b594ba56b0e.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/a9b406df43fab884b03ba208fabbe9166337b0052ace920fa14510ac5c8077a0.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/bd949c885fa616a01383bb98432064e2a42b7453b2fff35fa1406425032becb2.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/e141c764681b839a8cd25cf4284cc4070a154a814b24746d3343f4b9ae88658f.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/e864a07e0303d924362356db9860383bcd5588e9326bc93273371149db286d56.json
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2431
-152
File diff suppressed because it is too large
Load Diff
+376
-321
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user