added chart plugin in khanegi superadmin
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
# Graph Report - controlpanel_user (2026-10-13)
|
||||
# Graph Report - controlpanel_user (2026-10-21)
|
||||
|
||||
## Corpus Check
|
||||
- 60 files · ~48,609 words
|
||||
- 60 files · ~48,153 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
- Unclassified: 38 file(s) not represented in the graph (top: .ttf 16, .eot 6, .woff 6)
|
||||
|
||||
## Summary
|
||||
- 181 nodes · 263 edges · 14 communities (12 shown, 2 thin omitted)
|
||||
- Extraction: 100% EXTRACTED · 0% INFERRED · 0% AMBIGUOUS · INFERRED: 1 edges (avg confidence: 0.85)
|
||||
- 223 nodes · 325 edges · 16 communities (14 shown, 2 thin omitted)
|
||||
- Extraction: 99% EXTRACTED · 1% INFERRED · 0% AMBIGUOUS · INFERRED: 2 edges (avg confidence: 0.85)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `f99af903`
|
||||
- Built from commit: `1490adfb`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
@@ -27,36 +27,38 @@
|
||||
- LayoutVariantsEditor.vue
|
||||
- khanegiLayoutVariants.ts
|
||||
- ensureSchemes
|
||||
- applySharedNavSample
|
||||
- syncSidebarNavOrder
|
||||
- syncBottomNavOrder
|
||||
- normalizeMainWalletProductsValue
|
||||
- ProgramSettingsPage.vue
|
||||
- khanegiSystemSettingGroups.ts
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `touch()` - 7 edges
|
||||
2. `ensureSchemes()` - 7 edges
|
||||
3. `formatValueForSave()` - 7 edges
|
||||
4. `getKhanegiNavSample()` - 6 edges
|
||||
5. `mergeKhanegiLayoutVariants()` - 6 edges
|
||||
1. `formatValueForSave()` - 7 edges
|
||||
2. `rowKey()` - 7 edges
|
||||
3. `ensureSchemes()` - 7 edges
|
||||
4. `touch()` - 7 edges
|
||||
5. `persistConfig()` - 6 edges
|
||||
6. `syncBottomNavOrder()` - 6 edges
|
||||
7. `persistConfig()` - 6 edges
|
||||
8. `applyKhanegiNavSample()` - 5 edges
|
||||
9. `mergeLayoutThemes()` - 5 edges
|
||||
10. `mergeLayoutElement()` - 5 edges
|
||||
7. `getKhanegiNavSample()` - 6 edges
|
||||
8. `mergeKhanegiLayoutVariants()` - 6 edges
|
||||
9. `resolveSwitchChecked()` - 5 edges
|
||||
10. `switchValueFromChecked()` - 5 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `applySharedNavSample()` --calls--> `syncBottomNavOrder()` [EXTRACTED]
|
||||
src/pages/UiConfigPage.vue → src/pages/UiConfigPage.vue _Bridges community 12 → community 11_
|
||||
- `load()` --calls--> `applySharedNavSample()` [EXTRACTED]
|
||||
src/pages/UiConfigPage.vue → src/pages/UiConfigPage.vue _Bridges community 11 → community 10_
|
||||
- `formatValueForSave()` --calls--> `normalizeMainWalletProductsValue()` [EXTRACTED]
|
||||
src/config/khanegiSettingCatalog.ts → src/config/khanegiSettingCatalog.ts _Bridges community 1 → community 13_
|
||||
src/config/khanegiSettingCatalog.ts → src/config/khanegiSettingCatalog.ts _Bridges community 13 → community 1_
|
||||
- `formatValueForSave()` --calls--> `resolveSwitchChecked()` [EXTRACTED]
|
||||
src/config/khanegiSettingCatalog.ts → src/config/khanegiSettingCatalog.ts _Bridges community 1 → community 2_
|
||||
src/config/khanegiSettingCatalog.ts → src/config/khanegiSettingCatalog.ts _Bridges community 2 → community 1_
|
||||
- `applySharedNavSample()` --calls--> `syncBottomNavOrder()` [EXTRACTED]
|
||||
src/pages/UiConfigPage.vue → src/pages/UiConfigPage.vue _Bridges community 10 → community 12_
|
||||
- `applySharedNavSample()` --calls--> `syncSidebarNavOrder()` [EXTRACTED]
|
||||
src/pages/UiConfigPage.vue → src/pages/UiConfigPage.vue _Bridges community 10 → community 11_
|
||||
|
||||
## Import Cycles
|
||||
- None detected.
|
||||
|
||||
## Communities (14 total, 2 thin omitted)
|
||||
## Communities (16 total, 2 thin omitted)
|
||||
|
||||
### Community 0 - "khanegiSettingCatalog.ts"
|
||||
Cohesion: 0.06
|
||||
@@ -76,7 +78,7 @@ Nodes (6): helpText(), normalizeSettingRow(), resolveSettingCanEdit(), resolveSe
|
||||
|
||||
### Community 6 - "UiConfigPage.vue"
|
||||
Cohesion: 0.05
|
||||
Nodes (35): ref_ant_design_icons_vue, ref_api, ref_components, ref_stores, ref_theme, ref_vue_router, accentStyle, activePreviewColors (+27 more)
|
||||
Nodes (30): ref_theme, accentStyle, activePreviewColors, activeTab, advancedJson, auth, bottomDragFrom, bottomNavChoices (+22 more)
|
||||
|
||||
### Community 7 - "defaultKhanegiUiConfig.ts"
|
||||
Cohesion: 0.15
|
||||
@@ -91,12 +93,12 @@ Cohesion: 0.23
|
||||
Nodes (14): applyKhanegiLayoutVariants(), createDefaultKhanegiLayoutVariants(), defaultThemes(), element(), isLayoutVariantId(), isRecord(), KhanegiLayoutVariants, LAYOUT_OPTION_KEY (+6 more)
|
||||
|
||||
### Community 10 - "ensureSchemes"
|
||||
Cohesion: 0.39
|
||||
Nodes (8): buildSavePayload(), ensureSchemes(), load(), onColorEdit(), persistConfig(), save(), selectPreset(), syncAdvancedJson()
|
||||
Cohesion: 0.31
|
||||
Nodes (10): applyAdvancedJson(), applySharedNavSample(), buildSavePayload(), ensureSchemes(), load(), onColorEdit(), persistConfig(), save() (+2 more)
|
||||
|
||||
### Community 11 - "applySharedNavSample"
|
||||
Cohesion: 0.33
|
||||
Nodes (6): applyAdvancedJson(), applySharedNavSample(), onSidebarDragEnd(), onSidebarDragOver(), onSidebarDrop(), syncSidebarNavOrder()
|
||||
### Community 11 - "syncSidebarNavOrder"
|
||||
Cohesion: 0.50
|
||||
Nodes (4): onSidebarDragEnd(), onSidebarDragOver(), onSidebarDrop(), syncSidebarNavOrder()
|
||||
|
||||
### Community 12 - "syncBottomNavOrder"
|
||||
Cohesion: 0.40
|
||||
@@ -106,9 +108,17 @@ Nodes (5): onBottomDragEnd(), onBottomDragOver(), onBottomDrop(), onBottomSlotMe
|
||||
Cohesion: 0.67
|
||||
Nodes (3): formatMainWalletProductIds(), normalizeMainWalletProductsValue(), parseMainWalletProductIds()
|
||||
|
||||
### Community 14 - "ProgramSettingsPage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (34): ref_ant_design_icons_vue, ref_api, ref_components, ref_stores, ref_vue_router, applyItems(), asRow(), auth (+26 more)
|
||||
|
||||
### Community 15 - "khanegiSystemSettingGroups.ts"
|
||||
Cohesion: 0.22
|
||||
Nodes (3): KHANEGI_SYSTEM_SETTING_GROUPS, SettingGroupDef, SettingSubsectionDef
|
||||
|
||||
## Knowledge Gaps
|
||||
- **75 isolated node(s):** `props`, `OptionKind`, `DraftKind`, `groups`, `kindOptions` (+70 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 101 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
|
||||
- **95 isolated node(s):** `conditionalOrderEnabledSetting`, `priceChannelAccessSetting`, `priceProviderSetting`, `showToUsersChatSetting`, `SettingFieldType` (+90 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 124 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
|
||||
- **2 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
|
||||
## Suggested Questions
|
||||
@@ -116,13 +126,13 @@ _Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `formatValueForSave()` connect `formatValueForSave` to `khanegiSettingCatalog.ts`, `resolveSwitchChecked`, `normalizeMainWalletProductsValue`?**
|
||||
_High betweenness centrality (0.000) - this node is a cross-community bridge._
|
||||
- **Why does `ensureSchemes()` connect `ensureSchemes` to `applySharedNavSample`, `UiConfigPage.vue`?**
|
||||
_High betweenness centrality (0.000) - this node is a cross-community bridge._
|
||||
- **What connects `props`, `OptionKind`, `DraftKind` to the rest of the system?**
|
||||
_75 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **What connects `conditionalOrderEnabledSetting`, `priceChannelAccessSetting`, `priceProviderSetting` to the rest of the system?**
|
||||
_95 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `khanegiSettingCatalog.ts` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.058823529411764705 - nodes in this community are weakly interconnected._
|
||||
- **Should `UiConfigPage.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.046511627906976744 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.05263157894736842 - nodes in this community are weakly interconnected._
|
||||
- **Should `LayoutVariantsEditor.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.14736842105263157 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.14736842105263157 - nodes in this community are weakly interconnected._
|
||||
- **Should `ProgramSettingsPage.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.07254623044096728 - nodes in this community are weakly interconnected._
|
||||
Reference in New Issue
Block a user