Skip to content

Commit a9aa3e3

Browse files
Copilotalexr00
andcommitted
Fix assignment event time consolidation to match GitHub.com behavior
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 927acca commit a9aa3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webviews/components/timeline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const Timeline = ({ events, isIssue }: { events: TimelineEvent[], isIssue
5959
const newUnassignees = newEvent.unassignees?.filter(a => !unassignees.some(b => b.id === a.id)) ?? [];
6060
lastEvent.assignees = [...assignees, ...newAssignees];
6161
lastEvent.unassignees = [...unassignees, ...newUnassignees];
62-
lastEvent.createdAt = newEvent.createdAt;
62+
// Keep the original createdAt time (earliest time) to match GitHub.com behavior
6363
} else {
6464
consolidatedEvents.push(newEvent);
6565
}

0 commit comments

Comments
 (0)