-
Notifications
You must be signed in to change notification settings - Fork 2
[#206] 상세페이지 리팩토링 #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[#206] 상세페이지 리팩토링 #219
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for GitHub.
💡 Enable Vercel Agent with $100 free credit for automated AI reviews |
Closed
5 tasks
Closed
suuuuya
approved these changes
Oct 18, 2025
Contributor
suuuuya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생많으셨습니다!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📄 PR 내용 요약
✅ 작업 내용 상세
기본 상태 : 총 리뷰가 5개 이하이면 항상 버튼을 숨김, 5개 초과하면 기본으로 5개만 노출하고 버튼 표시
리뷰 추가 : 총 개수가 늘어나면 표시 개수를 다시 5개로 리셋하고 버튼 유지 ( 5개 초과일 때만 )
리뷰 삭제 : 더보기를 펼쳐둔 상태라면 리뷰를 삭제해도 그 상태 유지, 삭제 후 리뷰갯수가 5개 이하면 버튼 숨김
더보기 클릭 : 리뷰를 5개씩 늘려가되 총 리뷰 수를 넘지 않도록 조절
기존 향 이미지 크기를 100x100으로 일괄 통일
기존 태블릿 향 갯수 4개에서 3개로 조정
Flavor컴포넌트 내에 작성된 텍스트 중복 표시를 막기 위해 Props 추가📸 스크린샷 (선택사항)
태블릿 향 컴포넌트 수정 사진
💬 참고 사항
로컬 환경에서는 문제가 없는 것 같습니다. 추후 배포 후에 확인하면 좋을 것 같습니다.
로컬에서 테스트하는 와중에 낙관적 업데이트으로 수정한 브랜치로 남긴 리뷰들이 해당 PR 브랜치에서 오류가 생겨
낙관적 업데이트를 도입한 브랜치의 코드를 해당 브랜치로 merge하여 추가 수정하였습니다.
page-modal.tsx,confirm-modal스크롤 유지 로직이 있었지만 페이지가 리렌더링 되면서 스크롤이 0으로 초기화 되는 현상이 있어requestAnimationFrame로 감싸 렌더링 완료 후에 스크롤이 복구되도록 코드 한 줄 수정하였습니다.