Skip to content

Chore : UI 미세 조정 - #316

Merged
GulSam00 merged 15 commits into
mainfrom
develop
Aug 31, 2026
Merged

Chore : UI 미세 조정#316
GulSam00 merged 15 commits into
mainfrom
develop

Conversation

@GulSam00

Copy link
Copy Markdown
Owner

📌 PR 제목

[Type] : 작업 내용 요약

📌 변경 사항

💬 추가 참고 사항

GulSam00 and others added 15 commits August 28, 2026 13:30
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LrweuC2EWY9Tbee43P62dM
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LrweuC2EWY9Tbee43P62dM
[Chore] : UI 조정 및 검색 투어 종료 버그 수정 (#311)
#295에서 검색 화면의 추천 진입점이 사라진 뒤 ThumbUpModal이 어디서도
import되지 않는 고아 컴포넌트로 남아 있었다. 화면 로직은 이미 없었지만
api/search가 여전히 thumb_logs(*)를 select 절에 조인하고 있어,
테이블만 지우면 PGRST200으로 검색 전체가 깨지는 상태였다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VS4JWxSV5DBwcgB9zQfY95
태그 기능을 걷어낼 때 삭제 대신 전체 주석처리만 해뒀던 스크립트와
전용 유틸·DB 헬퍼를 마저 지웠다. removeDeadTjSongs는 유일하게 살아 있는
song_tags 참조였다 — 백업·삭제 블록을 제거해 백업 JSON이 { songs }만
남는다. translateJpnToKo는 translationJpn 전용이라 함께 고아가 됐다.
openai 의존성은 validateSongMatch가 계속 쓰므로 유지한다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VS4JWxSV5DBwcgB9zQfY95
코드에는 참조가 없어졌으니 Supabase 대시보드에서 tags·song_tags·
thumb_logs 테이블과 artists.language_tag_id 컬럼을 지우면 된다.
thumb_logs 드롭은 api/search 수정이 배포된 뒤여야 한다는 순서를 남긴다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VS4JWxSV5DBwcgB9zQfY95
태그 기능을 걷어내면서 song_tags 조인에 묶여 있던 translationJpn 배치가
함께 사라졌다. title_ko·artist_ko는 검색이 함께 훑는 컬럼이라 신규 유입곡에
계속 채워져야 해 태그 없이 동작하도록 복구한다.

- 대상 선정: song_tags.tag_id=101 조인 대신 미번역(title_ko is null) +
  가나·한자 포함을 PostgREST match(정규식)로 서버에서 거른다
- 일본곡 판별은 스크립트가 한 번 더 한다 — ① 한글 있으면 한국곡 스킵
  ② 가나 있으면 일본곡 ③ 가나가 없으면 이미 번역된 아티스트일 때만
  (米津玄師처럼 한자뿐인 이름). ③을 넘기면 한자 범위에 함께 걸린 중국곡이
  일본어 프롬프트로 들어가 엉뚱한 표기가 DB에 박힌다
- 워크플로는 삭제 전 주석 처리돼 있던 스케줄을 다시 켠다 (매일 19:00 KST)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XVzzjKPZnXmRL5s34wG8mj
태그 제거 기록에서 잘못 적힌 삭제 목록(translationJpn 관련 파일)을 바로잡고,
태그 없이 대상을 고르는 방식과 중국곡 혼입 위험을 남긴다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XVzzjKPZnXmRL5s34wG8mj
3단계(가나 없음) 게이트가 dbArtistKoMap(번역 이력)만 보고 있어, 수동 큐레이션된
artistAlias 사전에 있는 아티스트라도 이름이 한자뿐이면 통과하지 못했다.
사전은 사람이 직접 고른 J-POP 전용이라 번역 이력보다 강한 신호인데
정작 판별에는 약한 신호만 쓰던 셈이다.

지금 데이터에서는 그렇게 떨어지는 곡이 0건이라 동작이 바뀌지 않는다
(alias 포함/제외 모두 번역 대상 17 · 한국곡 175 · 스킵 2,120으로 동일).
사전에 새 아티스트를 추가했을 때 이름이 한자뿐이라 안 잡히는 일을 막는 변경이다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XVzzjKPZnXmRL5s34wG8mj
[Chore] : 태그·추천(thumb) 죽은 코드 제거 + 일본곡 번역 배치 복구 (#313)
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
singcode Ready Ready Preview Aug 31, 2026 6:25am

@GulSam00
GulSam00 merged commit 279cdfd into main Aug 31, 2026
4 checks passed
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