fix : PinFeedCard 재생 파형 네온 적용 및 노래 등록 소개 글자수 안내 - #342
Conversation
📝 WalkthroughWalkthroughPinFeedCard의 재생 파형에 지도 핀 메시지 박스 스타일과 상태 클래스를 적용했습니다. SongDetailPage의 소개 입력에 최대 길이 안내, 접근성 설명 연결, 글자 수 색상 변경을 추가했습니다. Changes핀 및 곡 상세 UI
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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.
Actionable comments posted: 2
🧹 Nitpick comments (1)
src/pages/SongDetailPage.tsx (1)
640-647: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win
textarea에maxLength를 선언하세요.현재 입력 제한은
onChange의slice()에만 의존합니다.maxLength={INTRO_MAX_LENGTH}를 추가하면 브라우저와 보조 기술에도 제한을 전달할 수 있습니다. 기존slice()는 IME 및 붙여넣기 입력에 대한 상태 방어로 유지하세요.Based on learnings, 한국어 IME 입력은 제한을 일시적으로 초과할 수 있으므로 native
maxLength와 현재 상태 방어를 함께 유지하는 구성이 안전합니다.제안 수정
<textarea id="song-intro" + maxLength={INTRO_MAX_LENGTH} value={introduction}🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/pages/SongDetailPage.tsx` around lines 640 - 647, SongDetailPage의 song-intro textarea에 maxLength={INTRO_MAX_LENGTH}를 추가해 브라우저와 보조 기술에 입력 제한을 전달하세요. 기존 onChange의 slice() 기반 상태 방어는 한국어 IME 및 붙여넣기 입력을 위해 유지하세요.Source: Learnings
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/features/pin/components/PinFeedCard.tsx`:
- Line 11: Update the SoundWaveIcon SVG stroke to use currentColor instead of
the hardcoded `#BBBBBB` value, preserving the existing .gc-wave color contract
while leaving the .gc-wave--playing mask gradient behavior unchanged.
In `@src/pages/SongDetailPage.tsx`:
- Around line 630-633: SongDetailPage의 introduction 길이 제한 안내 문구를 PR 요구사항에 맞게
“소개는 최대 100자까지 입력할 수 있어요”로 변경하세요.
---
Nitpick comments:
In `@src/pages/SongDetailPage.tsx`:
- Around line 640-647: SongDetailPage의 song-intro textarea에
maxLength={INTRO_MAX_LENGTH}를 추가해 브라우저와 보조 기술에 입력 제한을 전달하세요. 기존 onChange의
slice() 기반 상태 방어는 한국어 IME 및 붙여넣기 입력을 위해 유지하세요.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 91798316-24ff-4299-8b56-8d1685978b55
📒 Files selected for processing (2)
src/features/pin/components/PinFeedCard.tsxsrc/pages/SongDetailPage.tsx
변경 내용
관련 이슈
Closes #341
변경 사항
테스트
스크린샷 (UI 변경시)
체크리스트
pnpm format)pnpm lint:fix)코드 품질 확인
PR 제출 전에 다음 명령어를 실행하여 코드 품질을 확인해주세요:
Summary by CodeRabbit