Skip to content

refactor: [TA-275] antd 제거 — DatePicker를 경량 대안으로 교체 - #153

Merged
seorinn merged 1 commit into
developfrom
TA-275-remove-antd
Jun 30, 2026
Merged

seorinn merged 1 commit into
developfrom
TA-275-remove-antd

Conversation

@seorinn

@seorinn seorinn commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

변경 사항

  • EventPeriod의 antd DatePicker → 네이티브 input[type=date] 2개로 교체
    • value=dayjs.format, onChange에서 YYYY-MM-DD→dayjs|null 변환 후 부모 onChangeDate 호출(계약 유지)
    • 시작 min=today, 종료 min=시작일+시작 없으면 disabled → 기존 disabledDate 동등
    • 불필요해진 customParseFormat/dayjs.extend 제거(네이티브 ISO 파싱)
  • antd 의존성 제거(dayjs는 TA-271에서 직접 의존성 유지)
  • EventPeriod/index.test.tsx 신규 6케이스

배경

실사용이 DatePicker 1개뿐인 antd가 rc-*+dayjs와 함께 통째로 번들에 포함돼 최대 단일 무게였음.

검증

  • tsc·전체 테스트(42 suites/181 tests)·build 통과, antd 청크 제거 확인
  • 동등성: 경계(오늘 당일 허용/시작일 당일 허용) 기존과 동일
  • 전제: 서버 startedAt/endedAt는 date-only("YYYY-MM-DD") 문자열(코드베이스 전반 split/replace 처리로 확인)
  • Opus 리뷰: 머지 가능. 시작 min·종료 초기화 테스트 보강 반영

Closes TA-275

@vercel

vercel Bot commented Jun 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
damaba Ready Ready Preview, Comment Jun 30, 2026 5:28am

@seorinn
seorinn marked this pull request as ready for review June 30, 2026 05:29
@seorinn
seorinn merged commit dc1c215 into develop Jun 30, 2026
3 checks passed
@seorinn
seorinn deleted the TA-275-remove-antd branch June 30, 2026 05:29

This branch was successfully deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant