refactor: consolidate all tab components into src/components/game/tabs/
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s

This commit is contained in:
2026-05-19 11:44:25 +02:00
parent 48a5ad1855
commit 3dcd967949
13 changed files with 21 additions and 17 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
# Circular Dependencies
Generated: 2026-05-18T19:03:47.952Z
Generated: 2026-05-19T09:19:14.412Z
Found: 3 circular chain(s) — these MUST be fixed before modifying involved files.
1. Processed 120 files (1.2s) (28 warnings)
1. Processed 121 files (1.2s) (28 warnings)
2. 1) data/equipment/index.ts > data/equipment/utils.ts
3. 2) data/golems/index.ts > data/golems/utils.ts
+5 -1
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-05-18T19:03:46.609Z",
"generated": "2026-05-19T09:19:12.922Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
},
@@ -434,10 +434,14 @@
"crafting-slice.ts",
"crafting-utils.ts",
"stores/combatStore.ts",
"stores/craftingStore.types.ts",
"stores/manaStore.ts",
"stores/uiStore.ts",
"types.ts"
],
"stores/craftingStore.types.ts": [
"types.ts"
],
"stores/discipline-slice.ts": [
"data/disciplines/base.ts",
"data/disciplines/enchanter.ts",
+9 -9
View File
@@ -65,13 +65,6 @@ Mana-Loop/
│ │ │ │ ├── MaterialItem.tsx
│ │ │ │ ├── icons.ts
│ │ │ │ └── types.ts
│ │ │ ├── StatsTab/
│ │ │ │ ├── CombatStatsSection.tsx
│ │ │ │ ├── ElementStatsSection.tsx
│ │ │ │ ├── LoopStatsSection.tsx
│ │ │ │ ├── ManaStatsSection.tsx
│ │ │ │ ├── PactStatusSection.tsx
│ │ │ │ └── StudyStatsSection.tsx
│ │ │ ├── crafting/
│ │ │ │ ├── EnchantmentDesigner/
│ │ │ │ │ ├── DesignForm.tsx
@@ -95,16 +88,23 @@ Mana-Loop/
│ │ │ │ └── index.tsx
│ │ │ ├── shared/
│ │ │ ├── tabs/
│ │ │ │ ├── StatsTab/
│ │ │ │ │ ├── CombatStatsSection.tsx
│ │ │ │ │ ├── ElementStatsSection.tsx
│ │ │ │ │ ├── LoopStatsSection.tsx
│ │ │ │ │ ├── ManaStatsSection.tsx
│ │ │ │ │ ├── PactStatusSection.tsx
│ │ │ │ │ └── StudyStatsSection.tsx
│ │ │ │ ├── ActivityLog.tsx
│ │ │ │ ├── DisciplinesTab.tsx
│ │ │ │ ├── SpellsTab.tsx
│ │ │ │ ├── StatsTab.tsx
│ │ │ │ └── index.ts
│ │ │ ├── ActionButtons.tsx
│ │ │ ├── ActivityLogPanel.tsx
│ │ │ ├── AttunementStatus.tsx
│ │ │ ├── GameToast.tsx
│ │ │ ├── ManaDisplay.tsx
│ │ │ ├── SpellsTab.tsx
│ │ │ ├── StatsTab.tsx
│ │ │ ├── TimeDisplay.tsx
│ │ │ ├── UpgradeDialog.tsx
│ │ │ ├── index.ts
+3 -3
View File
@@ -1,9 +1,9 @@
// ─── Game Components Index ──────────────────────────────────────────────────────
// Re-exports all game tab components for cleaner imports
// Tab components
export { SpellsTab } from './SpellsTab';
export { StatsTab } from './StatsTab';
// Tab components (consolidated in tabs/ subfolder)
export { SpellsTab } from './tabs/SpellsTab';
export { StatsTab } from './tabs/StatsTab';
// UI components
export { ActionButtons } from './ActionButtons';
+2 -2
View File
@@ -2,5 +2,5 @@
// Re-exports all existing tab components for lazy loading from page.tsx
export { DisciplinesTab } from './DisciplinesTab';
export { SpellsTab } from '../SpellsTab';
export { StatsTab } from '../StatsTab';
export { SpellsTab } from './SpellsTab';
export { StatsTab } from './StatsTab';