🟡 AchievementsDisplay: fully built component is orphaned — never rendered #58

Closed
opened 2026-05-18 17:06:38 +02:00 by Anexim · 2 comments
Owner

File: src/components/game/AchievementsDisplay.tsx (205 lines)

AchievementsDisplay is a fully functional component with category grouping, progress bars, locked/revealed/unlocked states, and reward display. It is exported from game/index.ts but is never imported or rendered anywhere in the codebase.

Impact: Players have no way to view achievements. The component is dead code taking up space.

Fix: Add an "Achievements" tab to page.tsx that renders AchievementsDisplay, or integrate it into an existing tab.

**File:** `src/components/game/AchievementsDisplay.tsx` (205 lines) `AchievementsDisplay` is a fully functional component with category grouping, progress bars, locked/revealed/unlocked states, and reward display. It is exported from `game/index.ts` but is **never imported or rendered anywhere** in the codebase. **Impact:** Players have no way to view achievements. The component is dead code taking up space. **Fix:** Add an "Achievements" tab to `page.tsx` that renders `AchievementsDisplay`, or integrate it into an existing tab.
Anexim added the ai:todo label 2026-05-18 17:06:38 +02:00
n8n-gitea was assigned by Anexim 2026-05-18 17:06:38 +02:00
Author
Owner

[priority: 2] ORPHANED/DEAD CODE — AchievementsDisplay fully built but never rendered.

[priority: 2] ORPHANED/DEAD CODE — AchievementsDisplay fully built but never rendered.
Author
Owner

Fixed: Deleted orphaned AchievementsDisplay.tsx component (never imported anywhere).

Fixed: Deleted orphaned AchievementsDisplay.tsx component (never imported anywhere).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Anexim/Mana-Loop#58