fix(time): link the project work-item in the time-entries list (PMS-320) #168
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/PMS-320-link-project-work-item"
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?
Implements PMS-320.
Problem
In the Time Entries list, the Work Item column links a ticket to its detail page (blue, clickable), but a project-linked entry renders as plain grey text, so users cannot click through to the project.
Change (
src/pages/time.rs,TimeEntryListPage)Mirror the ticket branch for projects: when
e.project_idisSome(pid), render the label as aLinktoRoute::ProjectDetail { id: pid }(the existing/projects/:idroute) with the same blue styling and the samestop_propagation, so clicking opens the project instead of the row's edit modal.Verification
just pre-commit(pinned rust 1.94 = CI) passes: fmt, clippy-D warnings,cargo check --target wasm32-unknown-unknown, all 90 lib tests.Acceptance criteria
🤖 Generated with Claude Code