[Feat] : 곡 카드에 title_ko / artist_ko 표시 (#197)#198
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
/describe |
|
/review |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
/improve |
Code Review by Qodo
1. Excess ResizeObservers
|
Review Summary by QodoDisplay Korean translations in search result cards
WalkthroughsDescription• Add Korean translation fields to search API response • Display Korean title/artist in search result cards conditionally • Update Song type with optional title_ko and artist_ko fields Diagramflowchart LR
API["GET /api/search API"] -- "adds title_ko, artist_ko fields" --> Response["Search Response"]
Response -- "maps to Song type" --> SongType["Song Interface"]
SongType -- "consumed by" --> Card["SearchResultCard Component"]
Card -- "conditionally displays" --> KoTranslation["Korean translations below original text"]
File Changes1. apps/web/src/app/api/search/route.ts
|
Code Review by QodoNew Review StartedThis review has been superseded by a new analysisⓘ The new review experience is currently in Beta. Learn more |
Code Review by Qodo
1. Null translation contract
|
|
PR Description updated to latest commit (624014e)
|
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
/review |
|
Persistent review updated to latest commit 9ea9d4e |
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
📌 PR 제목
[Feat] : 곡 카드에 title_ko / artist_ko 표시
📌 변경 사항
GET /api/search응답에title_ko,artist_ko필드 추가Song타입에title_ko?,artist_ko?옵셔널 필드 추가text-xs스타일):SearchResultCard(검색 결과)SongCard(부를곡 목록)RecentSongCard(최근 추가)💬 추가 참고 사항
title_ko/artist_ko가 없거나 원어와 동일한 경우 노출하지 않음flex flex-col gap-0.5로 정렬해 2줄 레이아웃 대응