feat: 중간 점검 보고 시 활동 피드 기록 추가

보고 제출 시 알림만 보내고 활동(activity)에는 적재되지 않아
프로젝트 활동 피드·업무 활동 탭에 표시되지 않던 누락을 보완.

- ActivityType/ApiActivityType 에 task.checkpoint_reported 추가
- submitCheckpointReport 에서 activity.record 호출
- 프론트 활동 렌더링 케이스(프로젝트 피드/업무 탭) 추가

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-22 17:49:37 +09:00
parent af8b363f23
commit 2b534743d6
5 changed files with 15 additions and 0 deletions
@@ -28,6 +28,7 @@ export type ActivityType =
| 'task.assignees_changed'
| 'task.due_changed'
| 'task.edited'
| 'task.checkpoint_reported'
| 'task.file_removed'
| 'task.removed';
+9
View File
@@ -1420,6 +1420,15 @@ export class TaskService {
}),
);
// 활동 적재 — 중간 점검 보고
await this.activity.record({
projectId: project.id,
actorId: actingUserId,
type: 'task.checkpoint_reported',
payload: { taskTitle: task.title },
taskSeq: task.seq,
});
// 지시자에게 알림(행위자=작업자는 자동 제외)
await this.notification.notify({
recipientIds: task.issuer ? [task.issuer.id] : [],