[Feat] : SD 캐릭터 PNG 적용 및 빈 상태 캐릭터 컴포넌트·애니메이션 추가 (#235)#249
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
/describe |
|
/review |
|
/improve |
Review Summary by Qodo(Agentic_describe updated until commit 4c9b2e4)Add SD character PNG assets and CharacterMessage component with animations
WalkthroughsDescription• Add 6 SD character PNG variants with bounce/shake animations • Create CharacterMessage component for unified empty/loading states • Replace icon-based empty states with character-based UI across app • Add accessibility support via prefers-reduced-motion media query Diagramflowchart LR
A["6 SD Character PNGs<br/>pina1-6.png"] --> B["SdCharacter Component<br/>6 variants"]
B --> C["CharacterMessage Component<br/>Character + Message"]
C --> D["Empty/Loading States<br/>login, search, recent, tosing"]
E["Character Animations<br/>bounce, shake"] --> D
F["Accessibility<br/>prefers-reduced-motion"] --> E
File Changes1. apps/web/src/globals.css
|
Code Review by Qodo
Context used✅ Tickets:
🎫 AI 미소녀 SD 캐릭터 배치로 서브컬처 도메인 특징 강조 1. LoginPage missing SD character
|
| return ( | ||
| <div className="bg-background flex h-dvh flex-col justify-center px-4"> | ||
| <div className="w-full space-y-6"> | ||
| <div className="space-y-2 text-center"> | ||
| <div className="flex flex-col items-center gap-1"> | ||
| <h1 className="text-2xl font-bold">로그인</h1> | ||
| <p className="text-muted-foreground text-sm">로그인해서 더 많은 서비스를 이용하세요</p> | ||
| </div> |
There was a problem hiding this comment.
1. Loginpage missing sd character 📎 Requirement gap ≡ Correctness
apps/web/src/app/login/page.tsx does not render the SD character component, so the login/onboarding experience lacks the required mascot/decorative element. This fails the compliance requirement to include the SD character on the login page.
Agent Prompt
## Issue description
The login page does not render any SD character element, violating the requirement to show the SD character on login/onboarding.
## Issue Context
A new `SdCharacter`/`CharacterMessage` component exists in this PR, but `apps/web/src/app/login/page.tsx` currently only renders the login heading/form without the SD character.
## Fix Focus Areas
- apps/web/src/app/login/page.tsx[1-16]
- apps/web/src/app/login/page.tsx[76-82]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
📌 PR 제목
[Feat] : SD 캐릭터 PNG 적용 및 빈 상태 캐릭터 컴포넌트·애니메이션 추가
📌 변경 사항
pina1~6.png) 추가SdCharacter개선placeholder="blur"로 "텍스트 먼저, 이미지 나중" 현상 해소default/greeting/focus/joy/curious/sad)으로 확장,priorityprop 추가CharacterMessage공통 컴포넌트 신규: 캐릭터 + 안내 메시지를 함께 표시.message는ReactNode(여러 줄 지원), variant별 애니메이션 적용SearchStatus(로딩/결과없음) 신규 분리tosing/SongList·recent빈 상태를CharacterMessage기반으로 교체globals.css)default/greeting/joy→ 위아래 bounce (무한)sad→ 좌우 shake (2회 후 정지)prefers-reduced-motion사용자는 애니메이션 비활성화 (접근성)login,not-found,HomePage,SongList,recent💬 추가 참고 사항
pina5.png(약 2MB),pina6.png(약 2.8MB)는 용량이 큰 편입니다. 추후 WebP 변환/리사이즈로 최적화 여지가 있습니다.