projects: ProjectCard is not clickable — can't navigate to a project #91

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

project_card.rs:59-154 renders a card with project fields but has no onclick and no on_select prop. Clicking a card in ListView or BoardView does nothing.

The card is the primary way to navigate into a project. Without it, the ProjectDetail view is unreachable — even once it's implemented (#91).

Fix: add on_select: EventHandler<String> prop; wire the outer div's onclick to call it with project.sid.to_string().

`project_card.rs:59-154` renders a card with project fields but has no `onclick` and no `on_select` prop. Clicking a card in ListView or BoardView does nothing. The card is the primary way to navigate *into* a project. Without it, the `ProjectDetail` view is unreachable — even once it's implemented (#91). Fix: add `on_select: EventHandler<String>` prop; wire the outer `div`'s `onclick` to call it with `project.sid.to_string()`.
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#91
No description provided.