Repository navigation
Description
Context
The API now carries createdBy on all four entities (previous task) and AssigneeChip provides the GitHub-like avatar-plus-login treatment the request asks for. This task renders it.
Each of the four surfaces has a different layout budget, and the plan has to respect each rather than dropping a chip into all four:
- Plans list (
PlansPageComponents.tsx): a one-line row with a documented structure - repository, title, status strip, relative time, actions. The repository column is fixed at 140px on desktop and hidden on mobile. - Goals queue (
GoalsPage.tsx): a fixed grid whose column widths are spelled out in a comment (Goal 35% · Repository 15% · Status 20% · Tokens 10% · Active time 10% · Output 10%), which already drops the two secondary measures on a narrow desktop. - Automations list: rows with a name, repositories and a schedule summary.
- To-dos (
SortableTodoItem.tsx): a dense draggable item with a drag handle, selection checkbox, content, completion button and hover actions.
In all four the creator is secondary information - it answers "whose is this" when scanning, not "what is it". So it goes on a metadata line where one exists, as an avatar-only marker where space is tight, and it must never take a fixed column from the primary content.
One product rule applies throughout: on a single-developer instance every row has the same creator, so showing it everywhere is pure noise. The creator is therefore hidden when every visible row shares it.
Requirements
- Add
propr-ui/src/components/CreatorMarker.tsxexportingCreatorMarker(avatar plus optional login, built onAssigneeChip) anduseDistinctCreators(items), which returns whether the creator is worth showing for the current list. - Plans list: render the creator in the status-strip line, after the relative time, desktop only.
- Goals queue: render it inside the existing Goal cell's second line, after the model and before the objective, at every width - it is part of the cell's text line rather than a new column.
- Automations list: render it on the row's secondary line.
- To-dos: render an avatar-only marker beside the linked-plan badge, shown only when the list has more than one creator.
- Goal detail: render the creator in the header's metadata line, beside the repository chip.
- Hide the creator whenever every item in the current view shares one creator.
- Thread
createdBythrough the UI types:DraftListItem,Goal, the agent-definition type andRepoTodo. - No layout regressions: no new fixed column anywhere, no change to any row's line count, no horizontal overflow at 320px, 390px, 1024px or 1920px.
- Playwright coverage for each surface, the single-creator suppression and the overflow checks.
Implementation Specification
Files added
propr-ui/src/components/CreatorMarker.tsxpropr-ui/e2e/creator-attribution.pw.ts
Files modified
propr-ui/src/api/plannerTypes.ts-createdByonPlannerDraftandDraftListItem.propr-ui/src/api/goals.ts-createdByonGoal.propr-ui/src/api/agentDefinitionsApi.ts-createdByon the record type.propr-ui/src/api/repoTodosApi.ts-createdByonRepoTodo.propr-ui/src/pages/PlansPageComponents.tsxpropr-ui/src/pages/PlansPage.tsx- pass the distinct-creator decision down.propr-ui/src/pages/GoalsPage.tsxpropr-ui/src/components/Agents/- the automations list row.propr-ui/src/components/Repositories/RepoTodos/SortableTodoItem.tsxand its list parent.
Step-by-step
- Write
CreatorMarker.tsx.useDistinctCreatorsreturns{ show, count }whereshowis false for zero or one distinct creator. - Thread the types.
- Plans: add a
showCreatorprop toPlansListItem, computed once inPlansList, and render in the status-strip line behind ansm:breakpoint. - Goals: render in the existing second line of the Goal cell, which already truncates, so no width is added.
- Automations and to-dos: same approach, each on its existing secondary line.
- Goal detail: add to the header metadata line, which already uses baseline alignment, so the chip must align on its text baseline.
- Add the Playwright spec.
Acceptance Criteria
npm run typecheckandnpm run lintpass forpropr-ui.- Each of the four lists shows the creator as avatar plus
@loginwhen more than one person's items are visible. - When every visible item shares a creator, none of the four lists shows it.
- No list gains a column, and no row's line count or height changes.
- The Goals queue column widths are unchanged, and the Goal cell's second line still truncates rather than wrapping.
- The Plans row stays one line on desktop, and the creator is hidden below
sm. - The to-do item stays a single dense row; the creator marker is avatar-only and does not displace the drag handle, checkbox or hover actions.
- The goal detail header shows the creator aligned on the same baseline as the repository chip.
- No horizontal overflow at 320px, 390px, 1024px or 1920px on any of the four surfaces.
- An item whose
createdByis null renders no marker and no gap.
Created by ProPR AI Planner
Activity
propr-dev commentedon Oct 8, 2026
Suggested Implementation:
Implementation Approach
Four surfaces, four different layout budgets, one rule: the creator is secondary and must not cost primary space.
The naive implementation - a new column in each list - was rejected for each surface on its own terms. The Goals queue has its column percentages written down in a comment and already sheds two columns on a narrow desktop; adding a ninth would push it further. The Plans row is explicitly one line with a 140px fixed repository column. The to-do item is a dense drag-and-drop row where the handle, checkbox and hover actions all need their hit areas. In every case there is an existing secondary line with a truncating text element, and that is where the creator goes.
The single-creator suppression is the most important decision here. On a single-developer instance - which the request itself acknowledges is the common case today ("This is less important in single developer setup") - every row has the same creator, so rendering it on every row is pure repeated noise.
useDistinctCreatorscounts distinct creators in the current view and returns false for zero or one. That makes the feature appear exactly when it carries information, and disappear otherwise. The alternative, an operator preference, was rejected: it is a setting to solve a problem the data already answers.The decision is computed from the current view rather than globally. A filtered page where one person's work happens to be shown is genuinely single-creator from the reader's point of view, and a global count would mean showing an identical chip on every row of it.
Avatar-only for to-dos.
useDistinctCreatorsgates it, and the chip is avatar-only, because a to-do row is the densest surface in the product and a login would compete with the content. The login stays in the tooltip and the accessible name.Baseline alignment on the goal detail header. That header's comment is explicit that the row "aligns on baselines, not on box centres", because a chip's border and padding make it taller than the prose beside it. The creator chip has to follow that rule or it will sit a pixel off the line the rest of the row shares.
File:
propr-ui/src/components/CreatorMarker.tsx(new file)Why this file: one marker and one suppression rule for four surfaces. The suppression in particular must be identical everywhere - a creator shown on plans but not on goals, for the same data, would read as a bug.
File:
propr-ui/src/pages/PlansPageComponents.tsxWhy this file: the Plans row is defined here, including its one-line structure and the fixed 140px repository column. The status-strip line is the row's only secondary text line, so it is the only place a creator can go without adding width.
@@ in the status-strip line <div className="flex flex-wrap items-center text-xs gap-1"> {renderStatusStrip(draft.issue_summary, effectiveStatus)} + {/* On the status line, not a column: the row is explicitly one + line with a fixed repository column, and this line already + wraps. Hidden below sm, where that column is hidden too. */} + {showCreator && draft.createdBy && ( + <span className="hidden sm:inline-flex"><CreatorMarker user={draft.createdBy} /></span> + )} </div>File:
propr-ui/src/pages/GoalsPage.tsxWhy this file: the queue's column percentages are written down in a comment here and the grid already drops two columns on a narrow desktop. The Goal cell's second line is a truncating text line, so the creator joins it rather than claiming a ninth track.
@@ in the Goal cell's second line <p className="flex min-w-0 items-center gap-1.5 text-xs leading-5 text-slate-500"> <ProviderLogo provider={goal.agent.type} className="h-3.5 w-3.5 flex-none" /> <span className="sr-only">{agentLabel}</span> <span className="flex-none" title={`${agentLabel} · ${modelName}`}>{modelName}</span> + {/* Inside the existing truncating line: the queue's column widths + are fixed and documented, so the creator must cost no width. + Placed before the objective because the objective is the part + that is meant to truncate. */} + {showCreator && goal.createdBy && ( + <> + <span aria-hidden="true" className="flex-none text-slate-300">·</span> + <CreatorMarker user={goal.createdBy} className="flex-none" /> + </> + )} <span aria-hidden="true" className="flex-none text-slate-300">·</span> <span className="truncate" title={goal.objective}>{goal.objective}</span> </p>@@ in GoalList, before rendering the queue const goalAgents = goals.map(goal => ({ type: goal.agent.type, alias: goal.agent.alias })); + // Based on the filtered list, so a repository filter that narrows to one + // person's goals correctly stops showing an identical chip on every row. + const { show: showCreator } = useDistinctCreators(visibleGoals); @@ in the list render - <ul aria-label="Goal work queue">{visibleGoals.map(goal => <GoalQueueRow key={goal.id} goal={goal} goalAgents={goalAgents} />)}</ul> + <ul aria-label="Goal work queue">{visibleGoals.map(goal => <GoalQueueRow key={goal.id} goal={goal} goalAgents={goalAgents} showCreator={showCreator} />)}</ul>The goal detail header gains the creator on its metadata line:
@@ in GoalDetails' header metadata row <span aria-hidden="true" className="hidden text-slate-300 sm:inline">·</span> <RepositoryChip repository={goal.repository} /> + {/* This row aligns on text baselines rather than box centres - a + chip's border and padding make it taller than the prose beside + it - so the marker is baseline-aligned like the chip above. */} + {goal.createdBy && ( + <> + <span aria-hidden="true" className="text-slate-300">·</span> + <span className="inline-flex items-baseline"> + <CreatorMarker user={goal.createdBy} density="default" /> + </span> + </> + )}File:
propr-ui/src/components/Agents/(the automations list row)Why this file: the automation row already has a secondary line carrying the repositories and the schedule summary, which is the natural home for "whose automation is this" - and the only place that does not compete with the name.
File:
propr-ui/src/components/Repositories/RepoTodos/SortableTodoItem.tsxWhy this file: the densest row in the product - drag handle, selection checkbox, content, completion button and hover actions all need their hit areas. The marker is avatar-only here, placed beside the existing linked-plan badge, which is the row's established slot for small indicators.
@@ beside the linked-plan badge {todo.linkedDraftId && ( <span className="inline-flex items-center gap-1 mt-1 text-[10px] text-teal-600 bg-teal-50 px-1.5 py-0.5 rounded"> <Sparkles size={10} /> Linked to plan </span> )} + {/* Avatar only: this is the densest row in the product, and a login + here would compete with the to-do's own text. The login stays in + the tooltip and the accessible name. Shares the indicator slot the + linked-plan badge already uses. */} + {showCreator && todo.createdBy && ( + <CreatorMarker user={todo.createdBy} avatarOnly className="mt-1 ml-1.5" /> + )}The parent to-do list computes the decision once and passes it to each item, matching the other three surfaces.
Type threading
Why these files: each client type is what the components read;
createdByis optional in all four so a response from a server that predates the previous task still type-checks during a rolling deploy.The agent-definition record type and
RepoTodoinrepoTodosApi.tsgain the same optional field.File:
propr-ui/e2e/creator-attribution.pw.ts(new file)Why this file: the suppression rule and the layout budgets are both only observable in a real browser. The single-creator case is the one most likely to regress into "a chip on every row of a single-developer instance", which is the specific noise this design exists to avoid.
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-52902/claude-opus-5-5-show-the-creator-on-plans-20261009-1500-3ko2888-epic-task-assignment-1m4issue-2902-20261009-1500-claude-opus-5-5-3ko🔍 Track Task Execution