projects: breadcrumb clicks ignore the clicked index, always go to List #89

Closed
opened 2026-04-20 12:22:11 +00:00 by zaelgohary · 0 comments
Member

island.rs:85-87 receives _idx: usize and unconditionally sets ProjectsView::List. Clicking any crumb in any position goes to the root. On ProjectDetail (which lives under Board), clicking 'Board' should go to Board, not List.

Fix: route by idx: 0 → List, 1 → (parent view, e.g. Board for ProjectDetail), etc. Mirror the per-view breadcrumb chain.

`island.rs:85-87` receives `_idx: usize` and unconditionally sets `ProjectsView::List`. Clicking any crumb in any position goes to the root. On `ProjectDetail` (which lives under Board), clicking 'Board' should go to Board, not List. Fix: route by `idx`: 0 → List, 1 → (parent view, e.g. Board for ProjectDetail), etc. Mirror the per-view breadcrumb chain.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_archipelagos#89
No description provided.