Compare commits

...

1 Commits

Author SHA1 Message Date
Tsuki 92da8c6291 feat: expose authorUserId in task activity comments
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:38:19 +08:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ export interface TaskDetailActivity {
time?: string;
title?: string;
type: 'brief' | 'comment' | 'topic';
userId?: string | null;
}
export interface TaskDetailData {
+1
View File
@@ -115,6 +115,7 @@ export class TaskService {
content: c.content,
time: toISO(c.createdAt),
type: 'comment' as const,
userId: c.authorUserId,
})),
].sort((a, b) => {
if (!a.time) return 1;