feat: 전적 테이블 이벤트 열 제거·중앙정렬·날짜 로케일 포맷 적용#32
Conversation
- 크롤러가 event를 빈 값으로 저장해 항상 비어 나오던 이벤트 열 제거함 - 테이블 헤더·셀 전체 중앙정렬 처리함 - date-utils에 formatFullDate 추가해 날짜를 로케일별 표기(2025년 11월 1일 / Nov 1, 2025)로 변환함 - 미사용 fightRecord.event 번역 키 정리함
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughFightRecord가 로케일 기반 전체 날짜 포맷을 사용하도록 변경되고, ChangesFight record display updates
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install timed out. The project may have too many dependencies for the sandbox. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
전적(Fight Record) 테이블에서 항상 비어 있던 event 열을 제거하고, 날짜 표기를 로케일(ko/en)에 맞춰 “연도 포함 전체 날짜” 형식으로 통일해 UI 품질과 일관성을 개선하는 PR입니다.
Changes:
- 전적 테이블의
event열(헤더/셀) 제거 및 테이블 헤더·셀 중앙 정렬 적용 date-utils에formatFullDate()추가로"YYYY-MM-DD"캘린더 날짜를 로케일별 전체 날짜로 포맷- 더 이상 사용하지 않는
fightRecord.event번역 키(ko/en) 제거
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/messages/ko.json | fightRecord.event 번역 키 제거로 미사용 i18n 정리 |
| src/messages/en.json | fightRecord.event 번역 키 제거로 미사용 i18n 정리 |
| src/lib/date-utils.ts | 전적 등 과거 날짜 표기를 위한 formatFullDate() 유틸 추가 |
| src/components/fighter/FightRecord.tsx | 이벤트 열 제거, 중앙 정렬 적용, 날짜를 formatFullDate()로 로케일 포맷 처리 |
| * @param dateStr - "YYYY-MM-DD" 형식의 날짜 (그 외 형식은 Date 파싱 시도) | ||
| * @param locale - "ko" | "en" | ||
| * @returns 연도 포함 날짜 문자열, 파싱 실패 시 원본 dateStr |
Summary by CodeRabbit