feat(time): honour ?project_id= prefill on Log Time link (MAPPS-275) #302

Merged
YousifShkara merged 1 commit from feat/MAPPS-275-parent-context-nav into main 2026-06-21 09:49:33 +02:00
Owner

The Log Time form already pre-selected a parent ticket when linked with ?ticket_id=<uuid> (PMS-362), but a ?project_id=<uuid> link landed on an empty work-item picker, so a "Log Time" affordance on a project detail (planned follow-up) couldn't pre-fill the work item. Mirror the ticket-prefill branch with a project-prefill branch in read_ticket_prefill_from_url so both ?ticket_id= and ?project_id= land the user on a pre-selected work item. The Company-detail child-create CTAs (?company_id=) were already covered by MAPPS-300; this closes the last common parent-context link the parent surfaces still need to honour. The remaining "Add X from parent" buttons are tracked as a follow-up under this ticket; the URL plumbing is in place to support them.

#MAPPS-275

The Log Time form already pre-selected a parent ticket when linked with `?ticket_id=<uuid>` (PMS-362), but a `?project_id=<uuid>` link landed on an empty work-item picker, so a "Log Time" affordance on a project detail (planned follow-up) couldn't pre-fill the work item. Mirror the ticket-prefill branch with a project-prefill branch in `read_ticket_prefill_from_url` so both `?ticket_id=` and `?project_id=` land the user on a pre-selected work item. The Company-detail child-create CTAs (`?company_id=`) were already covered by MAPPS-300; this closes the last common parent-context link the parent surfaces still need to honour. The remaining "Add X from parent" buttons are tracked as a follow-up under this ticket; the URL plumbing is in place to support them. #MAPPS-275
feat(time): honour ?project_id= prefill on Log Time link (MAPPS-275)
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 1m16s
Create release / Create release from merged PR (pull_request) Has been skipped
62ad8c7eb4
The Log Time form already pre-selected a parent ticket when linked with `?ticket_id=<uuid>` (PMS-362), but a `?project_id=<uuid>` link landed on an empty work-item picker, so a "Log Time" affordance on a project detail (planned follow-up) couldn't pre-fill the work item. Mirror the ticket-prefill branch with a project-prefill branch in `read_ticket_prefill_from_url` so both `?ticket_id=` and `?project_id=` land the user on a pre-selected work item. The Company-detail child-create CTAs (`?company_id=`) were already covered by MAPPS-300; this closes the last common parent-context link the parent surfaces still need to honour. The remaining "Add X from parent" buttons are tracked as a follow-up under this ticket; the URL plumbing is in place to support them.

#MAPPS-275
YousifShkara deleted branch feat/MAPPS-275-parent-context-nav 2026-06-21 09:49:33 +02:00
Sign in to join this conversation.
No reviewers
No labels
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
psa-systems/mokosh-apps!302
No description provided.