mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 03:10:38 +09:00
feat(ui): show issue title alongside identifier in activity feed
Activity rows now display the issue title after the identifier (e.g. "CodexCoder commented on PAP-111 — fix login bug") for better context at a glance. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5af5e4f302
commit
f4698b73de
2 changed files with 12 additions and 1 deletions
|
|
@ -74,6 +74,12 @@ export function Activity() {
|
|||
return map;
|
||||
}, [issues, agents, projects, goals]);
|
||||
|
||||
const entityTitleMap = useMemo(() => {
|
||||
const map = new Map<string, string>();
|
||||
for (const i of issues ?? []) map.set(`issue:${i.id}`, i.title);
|
||||
return map;
|
||||
}, [issues]);
|
||||
|
||||
if (!selectedCompanyId) {
|
||||
return <EmptyState icon={History} message="Select a company to view activity." />;
|
||||
}
|
||||
|
|
@ -120,6 +126,7 @@ export function Activity() {
|
|||
event={event}
|
||||
agentMap={agentMap}
|
||||
entityNameMap={entityNameMap}
|
||||
entityTitleMap={entityTitleMap}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue