Files
nuzlocke-tracker/.beans/nuzlocke-tracker-x4p6--genlocke-overview-page.md
Julian Tabel 3a1aedda32 Refine genlocke epic with user flow, child features, and action items
Break down the genlocke tracking epic into 8 child beans with
checklists, dependency chains, and success criteria. Add CLAUDE.md
instruction for updating parent checklists on child completion.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 08:47:49 +01:00

59 lines
2.4 KiB
Markdown

---
# nuzlocke-tracker-x4p6
title: Genlocke overview page
status: todo
type: feature
priority: normal
created_at: 2026-02-09T07:42:19Z
updated_at: 2026-02-09T07:45:45Z
parent: nuzlocke-tracker-25mh
---
A dedicated dashboard page for a genlocke, showing progress, configuration, and cumulative stats across all legs.
## Page Layout
### Progress Section
- Visual timeline or step indicator showing all legs in order
- Each leg shows: game icon/color, game name, leg status (upcoming / active / completed / failed)
- The active leg is highlighted and links to its run page
- Completed legs show key stats (encounters, deaths, HoF team)
### Configuration Section
- Display the selected genlocke rules (Keep HoF / Retire HoF)
- Display the nuzlocke rules applied to all legs
- List of all games in leg order
### Cumulative Stats Section
- Total encounters across all legs
- Total deaths across all legs
- Total unique Pokemon caught
- Current surviving team count
- Legs completed / total legs
### Quick Actions
- Link to active leg's run page
- Link to genlocke-wide graveyard (if implemented)
- Link to lineage view (if implemented)
## Backend
- `GET /api/v1/genlockes` — List all genlockes (for a genlocke list page)
- `GET /api/v1/genlockes/{id}` — Get genlocke with legs, runs, and aggregated stats
## Frontend
- New route: `/genlockes/:genlockeId`
- Also need a genlocke list page at `/genlockes` (or integrate into the existing runs list)
- Consider adding a "Genlockes" nav item alongside "Runs"
## Checklist
- [ ] Implement `GET /api/v1/genlockes` endpoint (list all genlockes with basic info and leg count)
- [ ] Implement `GET /api/v1/genlockes/{id}` endpoint (full genlocke with legs, runs, and aggregated stats)
- [ ] Add TypeScript types for genlocke detail/list API responses
- [ ] Build the genlocke list page at `/genlockes` showing all genlockes with status and progress
- [ ] Build the genlocke detail page at `/genlockes/:genlockeId`
- [ ] Build the progress section: visual leg timeline with game colors, statuses, and links to runs
- [ ] Build the configuration section: display genlocke rules and nuzlocke rules
- [ ] Build the cumulative stats section: aggregate encounters, deaths, and completions across legs
- [ ] Add quick action links (active leg, graveyard, lineage — placeholder links for unimplemented features)
- [ ] Add "Genlockes" navigation item to the app nav bar
- [ ] Add `/genlockes` and `/genlockes/:genlockeId` routes to the React Router config