Add JSON representation of search fix and SEO prompts for Nobat724

This commit is contained in:
hamed
2026-07-22 16:49:34 +03:30
parent a39b90c88c
commit ccbd028fee
6 changed files with 1289 additions and 433 deletions
+49 -51
View File
@@ -1,16 +1,16 @@
# Graph Report - nobat724_front (2026-07-19)
# Graph Report - nobat724_front (2026-07-22)
## Corpus Check
- 628 files · ~566,853 words
- 632 files · ~568,958 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 2339 nodes · 2396 edges · 401 communities (365 shown, 36 thin omitted)
- Extraction: 93% EXTRACTED · 7% INFERRED · 0% AMBIGUOUS · INFERRED: 158 edges (avg confidence: 0.8)
- 2379 nodes · 2439 edges · 401 communities (367 shown, 34 thin omitted)
- Extraction: 93% EXTRACTED · 7% INFERRED · 0% AMBIGUOUS · INFERRED: 160 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `daf38c86`
- Built from commit: `a39b90c8`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -157,7 +157,6 @@
- [[_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]]
- [[_COMMUNITY_Community 380|Community 380]]
- [[_COMMUNITY_Community 381|Community 381]]
@@ -174,7 +173,6 @@
- [[_COMMUNITY_Community 393|Community 393]]
- [[_COMMUNITY_Community 394|Community 394]]
- [[_COMMUNITY_Community 395|Community 395]]
- [[_COMMUNITY_Community 396|Community 396]]
- [[_COMMUNITY_Community 397|Community 397]]
- [[_COMMUNITY_Community 398|Community 398]]
@@ -191,6 +189,8 @@
10. `بهینه‌سازی SEO تک‌تک شهرها در city.json (سطح حرفه‌ای)` - 10 edges
## Surprising Connections (you probably didn't know these)
- `Clinic()` --calls--> `toE164Ir()` [INFERRED]
app/clinic/[slug]/page.js → lib/clinicContact.js
- `SpecialtyDetail()` --calls--> `buildSpecialtyFaq()` [INFERRED]
app/specialties/[slug]/page.js → lib/specialtyContent.js
- `AboutUsPage()` --calls--> `getStateInfo()` [INFERRED]
@@ -199,21 +199,19 @@
components/contactUs/index.js → lib/getStateInfo.js
- `SearchBar()` --calls--> `getStateInfo()` [INFERRED]
components/home/search/index.js → lib/getStateInfo.js
- `StLayout()` --calls--> `getStateInfo()` [INFERRED]
components/layout/StLayout.js → lib/getStateInfo.js
## Import Cycles
- None detected.
## Communities (401 total, 36 thin omitted)
## Communities (401 total, 34 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.24
Nodes (8): Head(), convertTimestampToJalali(), convertTimestampToTime(), ButtonData(), DetailLg(), DetailSm(), Head(), Card()
Cohesion: 0.07
Nodes (23): Head(), Head(), HeadTab(), convertTimestampToJalali(), convertTimestampToTime(), ButtonData(), DetailLg(), DetailSm() (+15 more)
### Community 2 - "Community 2"
Cohesion: 0.04
@@ -225,19 +223,23 @@ Nodes (16): getCurrentDomain(), robots(), cityFilterParams(), fetchAllPages(), g
### Community 4 - "Community 4"
Cohesion: 0.06
Nodes (21): ContentDetail(), About(), ListBime(), Services(), Specialties(), TextDetail(), listTab, AddComment() (+13 more)
Nodes (29): ContentDetail(), About(), ListBime(), Services(), Specialties(), TextDetail(), listTab, AddComment() (+21 more)
### Community 5 - "Community 5"
Cohesion: 0.06
Nodes (29): bookingState(), DAY_NAMES, formatJalali(), AppointmentList(), ItemAppointment(), AboutDcotor(), ClaimProfileSection(), currentUserMobile() (+21 more)
Cohesion: 0.07
Nodes (26): bookingState(), DAY_NAMES, formatJalali(), AppointmentList(), ItemAppointment(), AboutDcotor(), ClaimProfileSection(), currentUserMobile() (+18 more)
### Community 6 - "Community 6"
Cohesion: 0.22
Nodes (5): Dashboard(), metadata, buildPatientUser(), safeJsonParse(), getServerAccessToken()
### Community 7 - "Community 7"
Cohesion: 0.07
Nodes (3): degreeVal, NAME_HONORIFICS, removeTokenHead
### 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
@@ -384,8 +386,8 @@ Cohesion: 0.14
Nodes (13): `hours/List.js`, آبجکت اسلات (از `adaptSlots` / API), تأیید و سخت‌سازی غیرفعال‌بودن اسلات‌های گذشته در صفحه‌ی نوبت, زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی (کد واقعی) (+5 more)
### Community 45 - "Community 45"
Cohesion: 0.27
Nodes (13): generateMetadata(), generateMetadata(), imageUrl(), normalizeBlog(), extractEntityCityId(), findCityById(), getEntityOrigin(), Blog() (+5 more)
Cohesion: 0.30
Nodes (12): generateMetadata(), generateMetadata(), imageUrl(), normalizeBlog(), extractEntityCityId(), findCityById(), getEntityOrigin(), Blog() (+4 more)
### Community 46 - "Community 46"
Cohesion: 0.22
@@ -472,8 +474,8 @@ Cohesion: 0.36
Nodes (4): fixedIconData, nextIconData, prevIconData, LoadingDate()
### Community 67 - "Community 67"
Cohesion: 0.27
Nodes (12): generateMetadata(), Detail(), getClinicAddress(), getClinicCity(), getClinicPhone(), getClinicState(), hasClinicContact(), telHref() (+4 more)
Cohesion: 0.06
Nodes (30): اصلاحات Nobat724: رفع خطای جستجوی پزشک + بهینه‌سازی SEO صفحات لیست و تخصص, تست, تسک ۱ — رفع خطای `getOptionLabel` در جستجوی نام پزشک, تسک ۲ — `noindex, follow` برای همهٔ صفحات جستجوی `/doctors?...`, تسک ۳ — قابل‌ایندکس‌بودن `/specialties` و صفحات تخصص, تسک ۴ — فقط تخصص‌های **فرزند** ایندکس شوند (والدها noindex), تسک ۵ — اصلاح نگارشی متن SEO سوالات متداول تخصص + برند روی دامنهٔ ریشه, خواسته (+22 more)
### Community 68 - "Community 68"
Cohesion: 0.27
@@ -484,8 +486,8 @@ Cohesion: 0.20
Nodes (9): رفع جهت تبدیل تاریخ تولد هنگام ایجاد پروفایل, زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی (کد واقعی), وظایف, پروژه (+1 more)
### Community 70 - "Community 70"
Cohesion: 0.11
Nodes (15): ClinicsPage(), DoctorsPage(), AutoComplete(), ButtonFilter(), Content(), ModalSearchCity(), AutoSearch(), FilterButton() (+7 more)
Cohesion: 0.20
Nodes (7): AutoComplete(), ButtonFilter(), Content(), ModalSearchCity(), AutoSearch(), FilterButton(), SearchBar()
### Community 71 - "Community 71"
Cohesion: 0.22
@@ -493,7 +495,7 @@ Nodes (7): degree, Form(), gender, degree, Form(), gender, filterList()
### Community 72 - "Community 72"
Cohesion: 0.27
Nodes (13): generateMetadata(), buildCanonicalPath(), buildCanonicalQuery(), buildCanonicalUrl(), buildMainCanonicalUrl(), buildSpecialtyCanonicalPath(), CANONICAL_QUERY_KEYS, getCanonicalUrl() (+5 more)
Nodes (13): generateMetadata(), buildCanonicalPath(), buildCanonicalQuery(), buildCanonicalUrl(), buildFilteredListingCanonical(), buildMainCanonicalUrl(), CANONICAL_QUERY_KEYS, getCanonicalUrl() (+5 more)
### Community 73 - "Community 73"
Cohesion: 0.32
@@ -508,33 +510,37 @@ Cohesion: 0.29
Nodes (7): Authentication & Authorization, Development Tools, Frontend Framework, State Management & Data Fetching, UI/UX, 🏗️ معماری و تکنولوژی, کتابخانه‌های تخصصی
### Community 76 - "Community 76"
Cohesion: 0.33
Nodes (5): HeadTab(), setNewData(), DetailUser(), Disease(), IsTurnsDetails()
Cohesion: 0.53
Nodes (3): setNewData(), DetailUser(), Disease()
### Community 79 - "Community 79"
Cohesion: 0.17
Nodes (11): زمینه, سایت دامنه اختصاصی نماینده سراسری — تشخیص دامنه، فیلتر پزشکان/کلینیک‌ها, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, پروژه (+3 more)
### Community 81 - "Community 81"
Cohesion: 0.24
Nodes (5): Head(), Article(), LatestArticles(), Title(), ItemTitle()
Cohesion: 0.18
Nodes (11): ClinicsPage(), DoctorsPage(), findDomainByCityId(), resolveCityDisplayName(), buildClinicsIntro(), buildDoctorsIntro(), CLINIC_INTROS(), DOCTOR_INTROS() (+3 more)
### Community 82 - "Community 82"
Cohesion: 0.17
Nodes (11): رفع خطای `TypeError: fetch failed` در sitemap هنگام دیپلوی (Docker build), زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, پروژه (+3 more)
### Community 83 - "Community 83"
Cohesion: 0.24
Nodes (6): STATUS_LABELS, Head(), listTab, Turns(), List(), STATUS_LABELS
Cohesion: 0.39
Nodes (8): generateMetadata(), DoctorPage(), doctorTitle(), buildDoctorFaq(), Doctor(), getBookingLocations, getDoctor, getDoctorAddresses
### Community 86 - "Community 86"
Cohesion: 0.36
Nodes (7): generateMetadata(), findDomainByCityId(), resolveCityDisplayName(), isRootCity(), findSpecialty(), getDoctors, SpecialtyDetail()
Nodes (7): generateMetadata(), IDS_WITH_ACTIVE_CHILDREN, isCategorySpecialty(), isIndexableSpecialty(), findSpecialty(), getDoctors, SpecialtyDetail()
### Community 87 - "Community 87"
Cohesion: 0.33
Nodes (6): 1. افزودن صفحه جدید, 2. افزودن API Endpoint جدید, 3. افزودن کامپوننت جدید, 4. کار با تاریخ شمسی, 5. استفاده از Context, 📝 نکات توسعه
### Community 89 - "Community 89"
Cohesion: 0.33
Nodes (4): generateMetadata(), hasListingFilters(), listingRobots(), NON_FILTER_KEYS
### Community 90 - "Community 90"
Cohesion: 0.50
Nodes (4): buildDays(), InlineJalaliMonth(), MONTHS, WEEKDAYS
@@ -604,8 +610,8 @@ Cohesion: 0.50
Nodes (4): RootLayout(), normalize(), Pageguide(), safeJsonLd()
### Community 354 - "Community 354"
Cohesion: 0.12
Nodes (13): Clinics(), generateMetadata(), Doctors(), generateMetadata(), buildClinicParams(), buildDoctorParams(), listingRobots(), USER_FILTER_KEYS (+5 more)
Cohesion: 0.17
Nodes (8): Clinics(), generateMetadata(), buildClinicParams(), isMaintenanceError(), isNextRedirectError(), axiosInstance, fetchReq(), getClinicDoctors()
### Community 365 - "Community 365"
Cohesion: 0.08
@@ -624,8 +630,8 @@ Cohesion: 0.19
Nodes (9): Card(), PAYMENT_STATUS, TYPE_LABELS, Head(), listTab, Transactions(), List(), PAYMENT_STATUS (+1 more)
### Community 369 - "Community 369"
Cohesion: 0.25
Nodes (8): scripts, build, dev, lint, start, test, test:cov, test:watch
Cohesion: 0.29
Nodes (6): Doctors(), buildDoctorParams(), normalizeDoctorNameQuery(), QueryForDoctorsClinicReq(), QueryForDoctorsReq(), buildSearchUrl()
### Community 370 - "Community 370"
Cohesion: 0.29
@@ -655,10 +661,6 @@ Nodes (10): راه‌حل, رفع نمایش نقشه صفحه پزشک + بهب
Cohesion: 0.36
Nodes (4): SearchBar(), ButtonFilter(), Fields(), RedirectLink()
### Community 378 - "Community 378"
Cohesion: 0.40
Nodes (3): KOHGILUYEH, scope, YASUJ
### Community 379 - "Community 379"
Cohesion: 0.29
Nodes (4): defineAbilitiesFor(), getUser(), LogIn(), metadata
@@ -703,33 +705,29 @@ Nodes (3): ModalAddRelatives(), Relatives(), ItemRelatives()
Cohesion: 0.40
Nodes (3): ModalAddSurgeries(), Surgeries(), ItemSurgeries()
### Community 396 - "Community 396"
Cohesion: 0.33
Nodes (5): engines, node, name, private, version
### Community 397 - "Community 397"
Cohesion: 0.50
Nodes (3): formatToman(), rialToToman(), Paying()
## Knowledge Gaps
- **860 isolated node(s):** `metadata`, `fallbackLabels`, `MaterialUISwitch`, `fixedIconData`, `metadata` (+855 more)
- **883 isolated node(s):** `metadata`, `fallbackLabels`, `MaterialUISwitch`, `fixedIconData`, `metadata` (+878 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **36 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **34 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 `imageUrl()` connect `Community 45` to `Community 0`, `Community 67`, `Community 4`, `Community 7`, `Community 81`, `Community 55`, `Community 56`, `Community 89`, `Community 380`?**
_High betweenness centrality (0.034) - this node is a cross-community bridge._
- **Why does `getStateInfo()` connect `Community 29` to `Community 0`, `Community 354`, `Community 67`, `Community 6`, `Community 72`, `Community 140`, `Community 45`, `Community 14`, `Community 16`, `Community 51`, `Community 86`, `Community 377`?**
_High betweenness centrality (0.033) - this node is a cross-community bridge._
- **Why does `isRootCity()` connect `Community 86` to `Community 3`, `Community 70`, `Community 45`, `Community 370`, `Community 29`?**
- **Why does `imageUrl()` connect `Community 45` to `Community 0`, `Community 1`, `Community 4`, `Community 7`, `Community 83`, `Community 55`, `Community 56`, `Community 380`?**
_High betweenness centrality (0.035) - this node is a cross-community bridge._
- **Why does `getStateInfo()` connect `Community 29` to `Community 89`, `Community 0`, `Community 354`, `Community 6`, `Community 72`, `Community 140`, `Community 45`, `Community 14`, `Community 16`, `Community 369`, `Community 81`, `Community 83`, `Community 51`, `Community 86`, `Community 377`?**
_High betweenness centrality (0.035) - this node is a cross-community bridge._
- **Why does `isRootCity()` connect `Community 81` to `Community 29`, `Community 370`, `Community 3`, `Community 45`?**
_High betweenness centrality (0.021) - this node is a cross-community bridge._
- **Are the 25 inferred relationships involving `getStateInfo()` (e.g. with `generateMetadata()` and `AboutUsPage()`) actually correct?**
_`getStateInfo()` has 25 INFERRED edges - model-reasoned connections that need verification._
- **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`, `fallbackLabels`, `MaterialUISwitch` to the rest of the system?**
_860 weakly-connected nodes found - possible documentation gaps or missing edges._
_883 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._