Repository navigation
Description
Context
This is the surface the request names first: "In the Tasks screen users should see which tasks are assigned to which user(s). There should be a filter to show 'my' tasks (for the currently logged in user), all tasks or tasks assigned to other specific/selected users."
The API projects assignees and accepts assignee (previous tasks), and AssigneeList exists (previous task). What remains is the UI: a new column in the desktop ledger, assignees on the mobile card, and a filter control beside the existing status and repository filters, with the selection carried in the URL like every other Tasks filter.
Two constraints come from the existing code. First, TASK_QUEUE_COLUMNS in rowModel.ts is a fixed seven-column grid with a documented rule that "expanding a row or resizing the list never changes them", so adding a column means updating the grid template in task-queue.css deliberately, not letting a column auto-size. Second, Filters.tsx already fits a title, a status select and a repository picker onto one phone line; a third control cannot simply be appended, so the assignee filter needs its own placement decision.
Requirements
- Add an
Assigneescolumn to the desktop ledger betweenAgentandDuration, renderingAssigneeStackin thecompactdensity, with the fixed grid width updated intask-queue.css. - Render assignees on
MobileTaskCard's meta line, after the work-type badge, so the card stays three lines. - Add an assignee filter to
Filters.tsx:All assignees,Assigned to me,Unassigned, and a per-user section listing the people who appear as assignees in the current page plus the signed-in user. - On a phone, place the assignee filter on the search row rather than adding a fourth control to the filter line.
- Carry the selection in the URL as
?assignee=, following the existingstatus/repository/searchhandling inTaskList.tsx, including the "default value is absent from the URL" rule inisDefaultParamValue. - Reset to page 1 when the filter changes, as the other filters do.
- Thread
assigneethroughTaskList's query scope so a change discards stale in-flight responses by request id, exactly as the other filters do. - Add
assigneestoTaskRowViewinrowModel.ts, taken from the task's newest run, since assignment belongs to the shared GitHub subject. - Hide the filter entirely when
hideFiltersis set (the dashboard widget), and when the signed-in user is unknown offer onlyAllandUnassigned. - Playwright coverage in
propr-ui/e2e/for the column, the card, the filter and URL restoration, plus no horizontal overflow at 390px.
Implementation Specification
Files modified
propr-ui/src/components/TaskList/rowModel.ts- column list andassigneeson the row view.propr-ui/src/components/TaskList/task-queue.css- grid template for the new column.propr-ui/src/components/TaskList/TaskRows.tsx- the cell.propr-ui/src/components/TaskList/MobileTaskCard.tsx- the card meta line.propr-ui/src/components/TaskList/Filters.tsx- the filter control.propr-ui/src/components/TaskList.tsx- URL state, query scope, option derivation.propr-ui/e2e/task-list-assignees.pw.ts(new file).
Step-by-step
rowModel.ts: insert'Assignees'intoTASK_QUEUE_COLUMNS, addassigneestoTaskRowView, and populate it inbuildTaskRowfromgroup.tasks[0].task-queue.css: add the new fractional track to.task-queue-gridat each breakpoint, keeping the title column dominant.TaskRows.tsx: addTaskAssigneesand render it inTaskQueueRowand in the header row.MobileTaskCard.tsx: renderAssigneeListin thecompactdensity on the meta line, before the summary, so the summary remains the part that gives way.Filters.tsx: add the select, takingassigneeFilter,setAssigneeFilterandassigneeOptionsas props; place it inline on desktop and on the search row on a phone.TaskList.tsx: read and writeassigneein the URL, include it inqueryScope, pass it togetTasks, and derive the per-user options from the current page plus the signed-in user.- Add the Playwright spec.
Acceptance Criteria
npm run typecheckandnpm run lintpass forpropr-ui.- The desktop ledger shows an
Assigneescolumn with overlapping avatars; a task with no assignees shows the em-dash, and the row height is unchanged whether a task has zero, one or five assignees. - Column widths do not shift when a row is expanded or the window is resized, preserving the rule documented in
rowModel.ts. - The mobile card stays three lines with assignees present, and the summary is the element that gives way when space runs out.
Assigned to meshows only the signed-in user's tasks;Unassignedshows only unassigned ones; selecting a specific user filters to that user.- Changing the filter writes
?assignee=to the URL, resets to page 1, and reloading the URL restores the selection;All assigneesremoves the parameter. - An unknown
?assignee=value in the URL surfaces the API's 400 as the existing error state rather than a blank page. - The dashboard task widget (
hideFilters) renders assignees but no filter. - With no signed-in user the
Assigned to meoption is absent. - No horizontal overflow at 390px, 768px, 1440px or 1920px, including beside an open task pane.
Created by ProPR AI Planner
Activity
propr-dev commentedon Oct 8, 2026
Suggested Implementation:
Implementation Approach
Two design decisions carry this task.
Where assignees go in the desktop row. The ledger is explicitly a fixed seven-column grid, and
rowModel.tsdocuments why: "Fixed: expanding a row or resizing the list never changes them." Three options existed. Putting assignees on the second line beside the run track was rejected - that line is already carrying the run chip, the work type and the summary, and the summary is the part that is meant to give way, not a new fixed element. Replacing theAgentcolumn was rejected: who ran it and who owns it are different questions. So an eighth column it is, placed betweenAgentandDurationbecause the left half of the row is "what and who" and the right half is "when and how much", and because the right-hand numeric columns are right-aligned and should stay adjacent.Avatars only in the table cell.
AssigneeStack, notAssigneeList, is used in the ledger. A login at eventext-[11px]is 8-10 characters wide, and three of them would either reflow the row or squeeze the title column that the whole layout is built around. The stack's footprint is near-constant in the number of assignees, which is exactly the property a fixed grid needs. The full logins stay reachable through the per-avatar tooltip and the list's accessible name.Where the filter goes.
Filters.tsxalready notes that a phone "fits the title and both dropdowns on one line once the repository picker drops its task count there". A third select would break that. So the assignee filter is inline on desktop and shares the phone's dedicated search row, which is already full-width and currently holds one control.How the per-user options are derived. The options are built from the assignees visible in the current page, plus the signed-in user. The alternative - fetching the instance's full member list - was rejected: it needs a new endpoint, it lists people who have never been assigned anything, and the page's own data already names everyone the operator is looking at. The trade-off is that a user with no tasks on the current page is not offered; that is acceptable because
?assignee=loginstill works when typed or shared, and the API resolves any valid login.The URL is the state, matching every other Tasks filter. That keeps a filtered view shareable and the back button meaningful, and it reuses
isDefaultParamValuesoallnever appears as a query parameter.File:
propr-ui/src/components/TaskList/rowModel.tsWhy this file: the row model owns the fixed column list and the per-row view the table renders, so both the new column and the row's assignees have to be declared here. Taking assignees from the newest run (not merging across runs) is correct because assignment belongs to the shared GitHub subject, which every run of a task shares.
export interface TaskRowView { key: string; task: Task; @@ previewCount: number; earlierRuns: TaskRunView[]; + /** + * Assignees of the task's GitHub subject. Read from the newest run rather + * than merged across runs: every run of a task shares one issue or pull + * request, so they all have the same assignees by construction. + */ + assignees: AttributedUser[]; }@@ in buildTaskRow previewCount: previewCount(task), + assignees: task.assignees ?? [], earlierRuns: earlier.map(run => {File:
propr-ui/src/components/TaskList/task-queue.cssWhy this file: the grid template is what makes the columns fixed. Leaving it unchanged would let the browser auto-size the new track, which is exactly the behaviour the fixed-column rule exists to prevent.
File:
propr-ui/src/components/TaskList/TaskRows.tsxWhy this file: the presentational row and its header live here, and
TASK_RUNS_COLUMN_SPANalready assumes a known column count, so the cell has to be added in the same file that renders the grid.@@ in TaskQueueRow, between the agent and duration cells <div role="cell" className="min-w-0"><TaskAgent task={task} /></div> + <div role="cell" className="min-w-0"><TaskAssignees row={row} /></div> <div role="cell" className="whitespace-nowrap text-right font-mono text-xs tabular-nums text-slate-700">{taskDuration(task)}</div>File:
propr-ui/src/components/TaskList/StateComponents.tsxWhy this file: the header row is rendered here from
TASK_QUEUE_COLUMNS, and its right-alignment rule is index-based, so adding a column shifts which indices are right-aligned.File:
propr-ui/src/components/TaskList/MobileTaskCard.tsxWhy this file: the card is the phone and narrow-pane form of a row, and its three-line budget is documented here. Assignees go on the meta line so the budget is preserved and the summary remains the element that gives way.
File:
propr-ui/src/components/TaskList/Filters.tsxWhy this file: the toolbar owns the filter layout, including the documented rule that a phone fits the title and two dropdowns on one line. A third control has to be placed here, with that rule respected.
Place it inline on desktop, beside the status select:
@@ inside the desktop filter cluster </select> </div> + {/* Desktop only: a phone already fits exactly the title, status and + repository on this line, so the assignee filter moves to the + search row below rather than squeezing all four. */} + {!isMobile && ( + <AssigneeFilter + assigneeFilter={assigneeFilter} + setAssigneeFilter={setAssigneeFilter} + assigneeOptions={assigneeOptions} + currentUserLogin={currentUserLogin} + className="hidden flex-none sm:block" + /> + )} + {/* Repository filter - only show if multiple repos (more than just "All Repos") */}And share the phone's search row, which is already full width:
@@ the mobile branch at the end of the component return ( <div className="flex flex-col gap-2"> {header} - <ListSearchInput - value={searchQuery} - onChange={setSearchQuery} - onClear={() => setSearchQuery('')} - label="Search tasks" - className="sm:hidden" - touch - /> + {/* The search row is the only full-width row on a phone, so the + assignee filter shares it instead of adding a fourth control above. */} + <div className="flex items-center gap-2 sm:hidden"> + <ListSearchInput + value={searchQuery} + onChange={setSearchQuery} + onClear={() => setSearchQuery('')} + label="Search tasks" + className="min-w-0 flex-1" + touch + /> + <AssigneeFilter + assigneeFilter={assigneeFilter} + setAssigneeFilter={setAssigneeFilter} + assigneeOptions={assigneeOptions} + currentUserLogin={currentUserLogin} + className="w-[132px] flex-none" + /> + </div> </div> );File:
propr-ui/src/components/TaskList.tsxWhy this file: this component owns the URL-backed filter state, the request scope that discards stale responses, and the page data the per-user options are derived from. All three have to change together or the filter either does not persist or races.
@@ in fetchTasks const data = await getTasks({ status: filter, limit: tasksPerPage, offset, repository: repoFilter, search: debouncedSearch, groupBy: 'task', + // 'all' is the default and is omitted from both the URL and the + // request, keeping an unfiltered read byte-identical to before. + ...(assigneeFilter !== 'all' ? { assignee: assigneeFilter } : {}), }); @@ - }, [filter, tasksPerPage, currentPage, repoFilter, debouncedSearch, queryScope]); + }, [assigneeFilter, filter, tasksPerPage, currentPage, repoFilter, debouncedSearch, queryScope]);@@ in filterProps searchQuery, setSearchQuery, + assigneeFilter, + setAssigneeFilter, + assigneeOptions, + ...(currentUser?.login ? { currentUserLogin: currentUser.login } : {}), };File:
propr-ui/e2e/task-list-assignees.pw.ts(new file)Why this file: the regressions that matter here are layout ones - a reflowed row, a fourth control overflowing a phone - and those only appear in a real browser at a real width. The spec reuses the existing desktop fixture so the dataset and the mocked API stay in one place.
propr-dev commentedon Oct 9, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-52893/claude-opus-5-5-show-assignees-and-add-th-20261009-0552-f312888-epic-task-assignment-1m4issue-2893-20261009-0552-claude-opus-5-5-f31🔍 Track Task Execution