feat: 수정 요청 메시지를 선택 사항으로 변경

수정 요청 시 공용 메시지 입력을 필수에서 선택으로 완화한다.

- 백엔드: ApprovalChangesDto.note 를 선택값으로 변경, requestChanges 가
  빈 메시지면 changesNote 를 null 로 저장
- 프론트: 제출 버튼 비활성(메시지 필수) 해제, 빈 메시지는 미전송,
  안내/라벨 문구를 '선택'으로 정리

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-21 19:42:37 +09:00
parent 70d75cf88d
commit 3b78574855
6 changed files with 15 additions and 19 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ export function useTask() {
async function requestChanges(
projectId: string,
taskId: number,
note: string,
note: string | undefined,
checklist?: ChecklistReviewItem[],
): Promise<ApiTaskDetail> {
return (await api.post(`/projects/${projectId}/tasks/${taskId}/approval/changes`, {