Skip to content

Conversation

@huuitae
Copy link
Contributor

@huuitae huuitae commented Oct 17, 2025

📄 PR 내용 요약

번들 크기를 줄이기 위한 이미지 최적화와 토스트 메시지가 사라지지 않는 버그를 수정했습니다.

✅ 작업 내용 상세

  1. 이미지 최적화
    card-img.tsx, review-info.tsx, wine-info.tsx, wine-header.tsx 파일에서
    직접 import 하던 PlaceholderImage<Image /> 컴포넌트를 통해 불러오도록 수정했습니다.

  2. 토스트 메시지 버그
    에러 바운더리에서 토스트 메시지를 사용하기 위해 RootLayout파일에 선언해둔 <ToastContainer />컴포넌트로 인한 버그로,
    관련된 코드들을 지웠습니다.

  3. 확인 모달 창의 와인 이름이 길면 스크롤이 생기는 문제
    break-word를 추가하여 이름이 길어지면 줄바꿈이 되도록 했습니다.
    ...처럼 말 줄임표로 하려고 했으나 영어와 한글의 문자 인식이 달라 영어에서는 말줄임표가 되지만 한글은 줄바꿈이 되어 줄바꿈으로 통일했습니다.

  4. 확인 모달 창 스크롤 방지가 안되는 문제
    확인 모달창 전용으로 사용하는 스크롤 방지 로직을 추가했습니다.

📸 스크린샷 (선택사항)

이미지 최적화를 통해 최대 490kb -> 260kb까지 줄였습니다.

기존 최적화
스크린샷 2025-10-15 17 40 31 스크린샷 2025-10-17 16 23 36
스크린샷 2025-10-17 21 16 10

💬 참고 사항

해당 파일 담당자분들 확인 부탁드립니다

@huuitae huuitae self-assigned this Oct 17, 2025
@huuitae huuitae added 🐞 BugFix 제대로 작동하지 않음 🔨 Refactor 코드 리팩토링 labels Oct 17, 2025
@vercel
Copy link

vercel bot commented Oct 17, 2025

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

Project Deployment Preview Comments Updated (UTC)
wine Ready Ready Preview Comment Oct 17, 2025 0:12am

Copy link
Member

@junye0l junye0l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!

코멘트 확인 부탁드립니다. 🙇🏻

@@ -1,5 +1,5 @@
import Image from "next/image";
import PlaceholderImgWine from "@/../public/images/placeholder/img-wine.svg";
// import PlaceholderImgWine from "@/../public/images/placeholder/img-wine.svg";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석 처리된 코드는 삭제하셔도 될 것 같습니다!

@junye0l junye0l requested review from junye0l, suuuuya and wlrnjs October 17, 2025 09:10
@huuitae huuitae changed the title [#165] 이미지 최적화 및 토스트 메시지 수정 [#165] 이미지 최적화, 토스트 메시지 수정, 확인 모달 수정 Oct 17, 2025
Copy link
Contributor

@suuuuya suuuuya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

card-img.tsx 이미지 최적화, 모달 적용 확인 완료했습니다. 고생 많으셨습니다!

@huuitae huuitae merged commit bbf1a72 into develop Oct 18, 2025
3 checks passed
@huuitae huuitae deleted the feature/QA branch October 18, 2025 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 BugFix 제대로 작동하지 않음 🔨 Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants