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
+2
View File
@@ -100,6 +100,8 @@ function toProjectActivityItem(api: ApiActivity): ProjectActivityItem {
}
case 'task.edited':
return { ...base, tone: 'task', icon: 'pencil', html: `<b>${actor}</b>님이 <span class="tgt">${title}</span> 업무를 수정했습니다` }
case 'task.checkpoint_reported':
return { ...base, tone: 'task', icon: 'check', html: `<b>${actor}</b>님이 <span class="tgt">${title}</span> 업무의 중간 점검을 보고했습니다` }
case 'task.file_removed':
return {
...base,
+2
View File
@@ -159,6 +159,8 @@ function toTaskActivityView(api: ApiActivity): ActivityView {
}
case 'task.edited':
return { tone: '', icon: 'check', html: `<b>${actor}</b>님이 업무를 수정했습니다`, time }
case 'task.checkpoint_reported':
return { tone: 'blue', icon: 'check', html: `<b>${actor}</b>님이 중간 점검 상태를 보고했습니다`, time }
case 'task.file_removed':
return { tone: '', icon: 'paperclip', html: `<b>${actor}</b>님이 첨부 파일을 삭제했습니다`, time, file: pstr(p, 'fileName') }
default:
+1
View File
@@ -16,6 +16,7 @@ export type ApiActivityType =
| 'task.assignees_changed'
| 'task.due_changed'
| 'task.edited'
| 'task.checkpoint_reported'
| 'task.file_removed'
| 'task.removed'