fix: 알림 토스트 상품명 말줄임 적용 - #696
Conversation
- 제목·본문을 분리해 제목만 truncate, 본문은 shrink-0 - 원인: 가변 길이는 상품명 하나 - Toaster content 에 min-w-0 추가 - 원인: sonner [data-content] 에 min-width 0 없어 플렉스 아이템이 안 줄어듦 - useNotificationSSE.ts 를 .tsx 로 리네임 - 원인: 토스트 메시지를 JSX 노드로 구성
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Understand this PR’s impact Explore downstream dependencies and potential security impact with Blast Radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough토스트 콘텐츠가 flex 레이아웃에서 축소되도록 설정했습니다. 알림 메시지는 제목을 필요한 경우 축약하고 본문을 한 줄로 유지하는 React 요소로 변경했습니다. Changes토스트 표시
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
작업 요약
작업 세부 내용
메시지 구성 전환
제목 + 본문한 문자열아이템 등록이 완료되었습니다.)truncate, 본문에shrink-0콘텐츠 영역 축소 허용
[data-content]에min-width: 0없음classNames.content에min-w-0추가확장자 변경
hooks/useNotificationSSE.ts를.tsx로 리네임buildToastMessage외 diff 없음스크린샷
Summary by CodeRabbit