Repository navigation
feat: redesign linked tasks to match the subtasks section - #856
Conversation
Linked tasks now share the subtask row: type, assignee, priority and status are shown and editable inline, grouped by relationship in one card. Rows use fixed columns, an icon-only type and a compact layout in narrow panels. The task links API now returns importance and assignee_ids for each linked task, and relationship labels are translated.
There was a problem hiding this comment.
ℹ️ No blocking issues — four non-blocking findings below.
Approach: sound — reusing the shared row keeps Linked Tasks and Subtasks consistent, centralizes the inline editors, and the API change is narrowly additive with batch-loaded assignees.
Reviewed changes — read the complete 21-file diff and traced the inline-edit path through the query cache and the API's assignee loading.
- Linked-tasks UI — Linked tasks now render through
SubtaskRowwith inline type, status, priority and assignee editors, relationship group headers inside one card, a hover remove button, and explicit “Load more links” pagination. - Shared row —
SubtaskRowis generic over aSubtaskRowTaskpick, gainscanEditType/actions, moves the type to a leading icon-only selector, and uses container queries for the narrow-panel layout; the Subtasks section inherits these changes. - API —
LinkedTaskSummarygainsimportanceandassignee_ids; the list query selects importance and batch-loads assignees, and both list and create responses populate them. Verified that every currentTaskLinkResponsepath returns a non-nil array. - i18n and tests — relationship labels moved from hardcoded English into all nine locales; the new component test covers listing, removal and read-only mode.
Non-blocking
-
Linked tasks lost keyboard activation. The previous row exposed the title as a
role="button"withtabIndex/Enter/Space plus an “Open task” button; the newSubtaskRowattachesonClickto a plain<div>(withbiome-ignoreforuseKeyWithClickEvents), so keyboard users have no way to open a linked task. subtask-row.tsx#L83-L88 — make the row or title focusable and handle Enter/Space whenonClickis set. -
Linked-row fields stay stale after another client edits the task. The row now displays mutable task fields, but
isTaskListKeyexcludes.../linkskeys andapplyTaskChangerefreshes only theactivitiessub-query ontask.updated, so a teammate’s status/priority/type/assignee change won’t appear here until the panel remounts. cache-patch.ts#L58-L69 · #L237-L268 — patch the cached linked-task summary for the changed task id, or refresh the affected links queries. -
An untyped linked task cannot be given a type.
isNormalTypeis false whentask_type_idis null, socanEditTypeis false and the type renders as an inert badge. task-links-section.tsx#L200-L212 — treat a null type as editable and passnormalTaskTypesfor the option list so Epic still stays out. -
ListAllTaskLinksnow pays for assignee data nobody reads. The automation consumer is the only production caller and discardsLinkedTask.AssigneeIDs; the new attach call adds atask_assigneesquery per link-target resolution and a failure point on an internal path. task_link_repository.go#L141-L143 — loading assignees only in the API-facingListTaskLinkswould leave automation unchanged.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
ℹ️ No blocking issues — one non-blocking note below.
Approach: sound — the follow-up commit closes each prior finding directly: the row gains a real title button, untyped links become editable, cached link lists refresh from realtime snapshots, and ListAllTaskLinks stops loading assignees it never returns.
Reviewed changes — reviewed the 10-file delta since the prior pullfrog review and traced the new cache-refresh path through the query cache and the API's assignee loading.
- Rendered the row title as a
<button>when the row opens a task, restoring keyboard activation for linked and subtask rows, with a test. - Allowed an untyped linked task to be given a normal type while keeping a typed Epic read-only.
- Added
refreshLinksShowingsotask.updated/task.deletedrefetch cached link lists whose copy of the task is out of date, with tests. - Stopped
ListAllTaskLinksfrom batch-loading linked-task assignees that no caller reads. - Switched the icon-only type selector's accessible “no type” label to the spelled-out
viewUtils.groups.noType.
Non-blocking
- The “Subtask type is read-only” claim does not match the code.
typeEditablerelies onnormalTaskTypes, butgetNormalTaskTypesfilters only the system Epic, so a legacy non-systemSubtasktype is included and stays editable — contrary to the new comment at task-links-section.tsx#L200-L206 and the PR description. If a Subtask's type should stay fixed, add an explicit check; otherwise the comment and PR description should say only Epic is special.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

Summary
Redesigns Linked Tasks in the task detail so it matches the Subtasks section.
linked_taskin the task links response now includesimportanceandassignee_ids.Type of Change
Testing
TestGitStore_ChangeRequestsAndTaskLinksfails there both with and without this change.tsc -binapps/webreports only two unresolved devtools packages locally, in files this PR does not touch.Checklist