Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(inbox): improve quick-create notification to show issue title prominently (#1873)

Jiayuan Zhang6a665c68a3cf
diff --git a/packages/views/inbox/components/inbox-detail-label.tsx b/packages/views/inbox/components/inbox-detail-label.tsx
index 6ecf26d9b3..c643ef26aa 100644
--- a/packages/views/inbox/components/inbox-detail-label.tsx
+++ b/packages/views/inbox/components/inbox-detail-label.tsx
@@ -88,6 +88,11 @@ export function InboxDetailLabel({ item }: { item: InboxItem }) {
if (emoji) return <span>Reacted {emoji} to your comment</span>;
return <span>{typeLabels[item.type]}</span>;
}
+ case "quick_create_done": {
+ const identifier = details.identifier;
+ if (identifier) return <span>Created {identifier}</span>;
+ return <span>{typeLabels[item.type]}</span>;
+ }
default:
return <span>{typeLabels[item.type] ?? item.type}</span>;
}
diff --git a/server/internal/service/task.go b/server/internal/service/task.go
index 4752e46b86..06518868a2 100644
--- a/server/internal/service/task.go
+++ b/server/internal/service/task.go
@@ -1436,7 +1436,7 @@ func (s *TaskService) notifyQuickCreateCompleted(ctx context.Context, task db.Ag
Type: "quick_create_done",
Severity: "info",
IssueID: issue.ID,
- Title: fmt.Sprintf("Created %s: %s", identifier, issue.Title),
+ Title: issue.Title,
Body: pgtype.Text{},
ActorType: pgtype.Text{String: "agent", Valid: true},
ActorID: task.AgentID,