fix(projects): route-param titles + hide decorative Add Task (PMC-36) #30
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pmc-36-projects-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closes PMC-36 (Projects UI). PMC-37 was closed in audit; PMC-38/PMC-40 land here as one commit; PMC-39 hides the unwired Add Task on the tasks page.
PMC-40: ProjectDetailPage usesProject {props.id}for the header and tab title instead of the hardcoded "Network Infrastructure Upgrade". Real names land when the projects module ships server-side.PMC-38: Removes the dead Add Task button from ProjectDetailPage header per the F5 hide-decorative pattern (no onclick, server stub returns 501).PMC-39: Same fix on ProjectTasksPage header.Test plan
cargo check --features webclean/projects/foo-- title reads "Project foo"; no Add Task button/projects/foo/tasks-- title reads "Project foo - Tasks"; no Add Task button🤖 Generated with Claude Code
ProjectDetailPage hardcoded the title "Network Infrastructure Upgrade" so every project URL rendered the same header. Switch the title and tab title to "Project {props.id}" so navigation history reflects the route. Real project names will replace the bare id once the server's projects module ships. The Add Task header button had no onclick and no server destination; per the F5 pattern (audit P1-05 "decorative detail-page buttons") hide it until the projects module lands so the affordance stops lying. Live wiring is tracked under PMC-39 alongside the other Add Task surface. #PMC-40 State Done #PMC-38 State DoneProjectTasksPage had a header Add Task button with no onclick and no destination (server projects module is still stubbed at 501). Per the F5 pattern, hide it until the server lands so the affordance stops promising a flow that doesn't exist. Also switches the page header to "Project {props.id} - Tasks" so it reflects the route. #PMC-39 State DonePull request closed