fix: remove dead GameContext system and orphaned MemorySlotPicker
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s

GameContext (Provider, hooks, context-create, types) was never wired into
the app — no layout or page wrapped children with GameProvider. The only
consumer, MemorySlotPicker, was itself orphaned (never imported/rendered).
The app uses direct Zustand hooks throughout. Removes 6 dead files.

Fixes #65
This commit is contained in:
2026-05-18 19:38:22 +02:00
parent ff3a268358
commit 4f932b6810
9 changed files with 2 additions and 625 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Circular Dependencies
Generated: 2026-05-18T13:14:04.833Z
Generated: 2026-05-18T15:51:10.807Z
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
1. Processed 123 files (1.2s) (29 warnings)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-05-18T13:14:03.496Z",
"generated": "2026-05-18T15:51:09.351Z",
"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."
},
-7
View File
@@ -63,11 +63,6 @@ Mana-Loop/
│ │ └── page.tsx
│ ├── components/
│ │ ├── game/
│ │ │ ├── GameContext/
│ │ │ │ ├── Provider.tsx
│ │ │ │ ├── context-create.ts
│ │ │ │ ├── hooks.ts
│ │ │ │ └── types.ts
│ │ │ ├── LootInventory/
│ │ │ │ ├── BlueprintsSection.tsx
│ │ │ │ ├── EquipmentItem.tsx
@@ -106,7 +101,6 @@ Mana-Loop/
│ │ │ │ ├── debug-context.tsx
│ │ │ │ └── index.tsx
│ │ │ ├── shared/
│ │ │ │ └── MemorySlotPicker.tsx
│ │ │ ├── tabs/
│ │ │ │ ├── ActivityLog.tsx
│ │ │ │ ├── DisciplinesTab.tsx
@@ -118,7 +112,6 @@ Mana-Loop/
│ │ │ ├── CalendarDisplay.tsx
│ │ │ ├── ConfirmDialog.tsx
│ │ │ ├── CraftingProgress.tsx
│ │ │ ├── GameContext.tsx
│ │ │ ├── GameToast.tsx
│ │ │ ├── ManaDisplay.tsx
│ │ │ ├── SpellsTab.tsx