19 lines
752 B
Markdown
19 lines
752 B
Markdown
|
|
---
|
||
|
|
# nuzlocke-tracker-hit0
|
||
|
|
title: Group parent/child routes in admin route table
|
||
|
|
status: completed
|
||
|
|
type: feature
|
||
|
|
priority: normal
|
||
|
|
created_at: 2026-02-13T13:33:36Z
|
||
|
|
updated_at: 2026-02-13T13:34:42Z
|
||
|
|
---
|
||
|
|
|
||
|
|
Visually indent child routes under their parent in the admin route table. Dragging a parent route moves all its children with it. Children cannot be independently dragged to a new position.
|
||
|
|
|
||
|
|
## Checklist
|
||
|
|
- [x] Add organizeRoutes() function to AdminGameDetail.tsx
|
||
|
|
- [x] Replace SortableRouteRow with SortableRouteGroup using multiple tbody elements
|
||
|
|
- [x] Update SortableContext to only track group IDs
|
||
|
|
- [x] Update handleDragEnd for group-aware reordering
|
||
|
|
- [x] Handle edge cases (standalone routes, orphan children)
|
||
|
|
- [x] Verify frontend build passes
|