Skip to content

[FEAT] TODO 삭제 API 날짜 파라미터 업데이트 - #338

Merged
yumin-kim2 merged 2 commits into
developfrom
feat/web/337-todo-delete-date-api
Oct 29, 2026
Merged

yumin-kim2 merged 2 commits into
developfrom
feat/web/337-todo-delete-date-api

Conversation

@yumin-kim2

@yumin-kim2 yumin-kim2 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

ISSUE 🔗

close #337



What is this PR? 🔍

TODO 삭제 API 변경에 맞춰 date 쿼리 파라미터를 추가했습니다.

  • Swagger 명세를 기준으로 삭제 API 관련 타입과 Zod 스키마를 갱신했습니다.
  • 삭제 시 TODO ID와 해당 TODO의 날짜를 함께 전달하도록 수정했습니다.
  • 일반 TODO와 반복 TODO 모두 날짜를 전달합니다.



To Reviewers

오늘 날짜를 고정해서 보내지 않고, 상세 모달에서 조회 중인 TODO의 currentDate를 전달하도록 했습니다.

전체 API 재생성 결과 중 이번 삭제 API 변경에 필요한 부분만 반영했습니다.



Screenshot 📷

image



Test Checklist ✔

  • 로컬 개발자 도구에서 TODO 삭제 요청 확인

@yumin-kim2 yumin-kim2 linked an issue Oct 29, 2026 that may be closed by this pull request
6 tasks
@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
timo-client-timo-web Ready Ready Preview Oct 29, 2026 3:58pm UTC

@github-actions
github-actions Bot requested review from ehye1 and jjangminii October 29, 2026 15:58
@github-actions github-actions Bot added the ⏰ Timo-web Timo 웹 서비스 label Oct 29, 2026
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 9ec263e and fd68ef9.

Files ignored due to path filters: 4
  • apps/timo-web/generated/endpoints/todo/todo.ts is excluded by !**/generated/**
  • apps/timo-web/generated/endpoints/todo/todo.zod.ts is excluded by !**/generated/**
  • apps/timo-web/generated/models/deleteTodoParams.ts is excluded by !**/generated/**
  • apps/timo-web/generated/models/index.ts is excluded by !**/generated/**
Files selected for processing: 2
  • apps/timo-web/containers/todo-modal/detail/DetailTodoModalContainer.tsx
  • apps/timo-web/hooks/todo-modal/detail/use-delete-todo-submit.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

TODO 삭제 요청에 삭제 대상 날짜를 추가했습니다. 삭제 훅은 TODO ID와 날짜를 요청 파라미터로 전달하며, 컨테이너는 currentDate를 넘깁니다.

Changes

TODO 삭제 요청 날짜 전달

Layer / File(s) Summary
삭제 요청 날짜 전달
apps/timo-web/hooks/todo-modal/detail/use-delete-todo-submit.ts, apps/timo-web/containers/todo-modal/detail/DetailTodoModalContainer.tsx
handleDelete가 date를 인자로 받고 삭제 요청에 전달합니다. 호출부는 currentDate를 넘깁니다.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related issues

  • Team-Timo/Timo-client#336 — 삭제 요청에 date 쿼리 파라미터를 전달하라는 목표를 이 변경이 반영합니다.

Suggested labels: ⏰ Timo-web, 🐛 Bug

Suggested reviewers: jjangminii

Merge Risk: Minimal · up to fd68e

No merge-blocking client issue was identified. Recurring deletion behavior on the server remains unverified.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive [#337] TODO 삭제 API에 date 쿼리 파라미터를 반영하는 요구사항을 검토했습니다.

확인된 구현 (PR 요약 근거)
- useDeleteTodoSubmit의 handleDelete가 date: string 인자를 추가로 받습니다. 삭제 요청에 todoId와 date를 함께 전달합니다. 이전에는 todoId만 전달…
다음 정보가 있으면 판정을 확정할 수 있습니다.
1. 제외 파일 중 deleteTodoParams와 삭제 함수 정의의 내용 또는 diff. 이를 통해 date 필수 여부와 요청 경로를 확인합니다.
2. Zod 스키마에서 date의 형식 정의. YYYY-MM-DD 형식인지 확인합니다.
3. handleDelete와 삭제 API 함수의 전체 호출부 목록(검색 결과 또는 참조 목록). 모든 호출부가 date를 …
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed PR 제목은 TODO 삭제 API에 날짜 파라미터를 추가하는 주요 변경 사항을 정확하고 간결하게 설명합니다.
Out of Scope Changes check Passed 확인된 변경은 모두 [#337] 범위에 속합니다.
- use-delete-todo-submit.ts: handleDelete에 date 인자를 추가하고 삭제 요청에 전달합니다. 이슈의 "삭제 훅이 TODO ID와 삭제 대상 날짜를 함께 전달" 항목에 해당합니다.
- DetailTodoModalContainer.tsx: deleteTodo …
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Description check Passed PR 설명은 TODO 삭제 API에 date 쿼리 파라미터를 추가하는 변경 사항과 일치합니다. currentDate 전달 방식과 테스트 내용도 설명합니다.
Full details: Out of Scope Changes check

Explanation

확인된 변경은 모두 [#337] 범위에 속합니다.

  • use-delete-todo-submit.ts: handleDelete에 date 인자를 추가하고 삭제 요청에 전달합니다. 이슈의 "삭제 훅이 TODO ID와 삭제 대상 날짜를 함께 전달" 항목에 해당합니다.
  • DetailTodoModalContainer.tsx: deleteTodo 호출에 currentDate를 추가합니다. 이슈의 "삭제 호출부에 삭제 대상 TODO의 날짜를 연결" 항목에 해당합니다.
  • 제외 파일(apps/timo-web/generated/**)의 변경은 이슈의 "Orval API 및 Zod 코드 재생성" 항목에 해당합니다. 이 파일들의 내용은 확인하지 않았습니다. PR 설명의 "재생성 결과 중 필요한 부분만 반영" 주장은 제외 파일 내용으로 검증되지 않았습니다.

확인된 변경 중 범위 밖 변경은 없습니다. 제외 파일 내부의 범위 밖 변경 여부는 확인 불가이며, 이는 요구사항 평가에서 다룹니다.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files.

Full details: Linked Issues check

Explanation

[#337] TODO 삭제 API에 date 쿼리 파라미터를 반영하는 요구사항을 검토했습니다.

확인된 구현 (PR 요약 근거)

  • useDeleteTodoSubmit의 handleDelete가 date: string 인자를 추가로 받습니다. 삭제 요청에 todoId와 date를 함께 전달합니다. 이전에는 todoId만 전달했습니다.
  • DetailTodoModalContainer.tsx의 deleteTodo 호출에 상세 모달의 currentDate를 전달합니다. 오늘 날짜를 고정하지 않습니다.
  • 일반 TODO와 반복 TODO 모두 같은 호출 경로를 사용하므로 date가 함께 전달됩니다.

확인 불가 항목

  • Orval 및 Zod 재생성 결과는 제외 파일입니다. 제외 규칙: !**/generated/**. 대상 경로: apps/timo-web/generated/endpoints/todo/todo.ts, apps/timo-web/generated/endpoints/todo/todo.zod.ts, apps/timo-web/generated/models/deleteTodoParams.ts, apps/timo-web/generated/models/index.ts. 따라서 date의 필수 여부, 요청 경로, Zod 스키마의 YYYY-MM-DD 형식을 확인할 수 없습니다.
  • handleDelete의 전체 호출부 목록은 요약에 없습니다. 상세 모달 외 다른 삭제 호출부가 있는지 확인할 수 없습니다. #337은 호출부 전체 확인을 요구합니다.
  • currentDate의 타입과 값 형식(YYYY-MM-DD)을 요약만으로 확인할 수 없습니다.

비코딩 항목

  • 웹 배포 및 삭제 동작 수동 확인은 평가에서 제외했습니다.
  • 이슈에 자동 테스트 요구사항은 없습니다.

칭찬

  • 훅 시그니처 변경을 상세 모달 호출부까지 일관되게 연결했습니다. 깔끔한 연결입니다.

Resolution

다음 정보가 있으면 판정을 확정할 수 있습니다.

  1. 제외 파일 중 deleteTodoParams와 삭제 함수 정의의 내용 또는 diff. 이를 통해 date 필수 여부와 요청 경로를 확인합니다.
  2. Zod 스키마에서 date의 형식 정의. YYYY-MM-DD 형식인지 확인합니다.
  3. handleDelete와 삭제 API 함수의 전체 호출부 목록(검색 결과 또는 참조 목록). 모든 호출부가 date를 전달하는지 확인합니다.
  4. currentDate의 타입 정의와 생성 경로.

참고 문서: Orval 설정 및 생성 결과 https://orval.dev/ , Zod 스키마 문서 https://zod.dev/

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added ✨ Feature 새로운 기능(기능성) 구현 ♣️ 유민 유민양 labels Oct 29, 2026
@github-actions

Copy link
Copy Markdown

Timo Performance Report

Bundle Size — timo-web
라우트 크기 First Load JS
/[locale]/home 278.74 kB 🔴 484.56 kB
/[locale]/today 262.97 kB 🔴 468.78 kB
/[locale]/focus 224.27 kB 🔴 430.08 kB
/[locale]/settings 230.78 kB 🔴 436.59 kB
/[locale]/statistics 212.69 kB 🔴 418.50 kB
/[locale]/[...rest] 0 B 🟡 205.81 kB
/[locale]/login 282.88 kB 🔴 488.69 kB
/[locale]/oauth/calendar/callback 121.38 kB 🟡 327.19 kB
/[locale]/oauth/callback 121.04 kB 🟡 326.85 kB
/[locale]/onboarding 295.68 kB 🔴 501.49 kB
/[locale] 120.35 kB 🟡 326.17 kB
/[locale]/policy 121.32 kB 🟡 327.14 kB
/robots.txt/route 0 B 🟡 205.81 kB
/sitemap.xml/route 0 B 🟡 205.81 kB

공유 번들: 205.81 kB
🟢 < 200kB  |  🟡 < 350kB  |  🔴 ≥ 350kB (First Load JS · gzip)

Lighthouse — timo-web
URL Perf A11y LCP CLS TBT
/en/home 🔴 61 🟢 96 🔴 16.3s 🟢 0.000 🟡 505ms
/en/today 🔴 62 🟢 96 🔴 16.1s 🟢 0.000 🟡 498ms
/en/focus 🔴 62 🟢 96 🔴 16.1s 🟢 0.000 🟡 497ms
/en/statistics 🔴 65 🟢 96 🔴 16.0s 🟢 0.000 🟡 398ms

Perf ≥ 70 / A11y ≥ 85 목표
LCP 🟢 < 2.5s 🟡 < 4s 🔴 ≥ 4s  |  CLS 🟢 < 0.1 🟡 < 0.25 🔴 ≥ 0.25  |  TBT 🟢 < 200ms 🟡 < 600ms 🔴 ≥ 600ms

Image Optimization — timo-web
파일 크기 포맷 상태
favicon.png 27.84 kB PNG ⚠️ 🟢
images/google-calendar.png 36.20 kB PNG ⚠️ 🟢
images/google-logo.png 26.79 kB PNG ⚠️ 🟢
og.png 437.44 kB PNG ⚠️ 🟡

총 4개 · 528.28 kB  |  🟢 < 200KB  |  🟡 < 500KB  |  🔴 ≥ 500KB
⚠️ 4개 파일 WebP/AVIF 변환 권장

측정 커밋: 80bc2f1

@jjangminii jjangminii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

체크아웃해서 확인했습니다 👍 👍

@yumin-kim2
yumin-kim2 merged commit 4b135cb into develop Oct 29, 2026
19 checks passed
@jjangminii jjangminii mentioned this pull request Oct 29, 2026

This branch was successfully deployed

1 active deployment
Preview — fd68ef98 Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 새로운 기능(기능성) 구현 ⏰ Timo-web Timo 웹 서비스 ♣️ 유민 유민양

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] TODO 삭제 API date 쿼리 파라미터 반영

2 participants