♻️ refactor: 기본 alert 및 confirm 다이얼로그 커스텀 Modal로 교체#51
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
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 요약 (PR Summary)
사용자 경험(UX) 개선 및 디자인 통일성을 위해 브라우저의 기본
alert와 confirm 기능들을 프로젝트 내의 커스텀 Modal UI 컴포넌트로 교체했습니다. 또한 바텀 시트와 함께 사용할 때 모달 창이 뒤로 숨겨지는z-index우선순위 명세 이슈를 해결했습니다.✨ 상세 작업 내용 (Detailed Changes)
댓글 기능 (CommentSection.tsx, CommentBottomSheet.tsx)
alert경고창을 확인 버튼 형태의 커스텀 Modal로 교체했습니다.소셜 피드 영역 (SocialFeedItem.tsx)
alert창을 커스텀 에러 Modal로 교체했습니다.공통 컴포넌트 (Modal.tsx)
z-index를 기존50에서100(z-[100])으로 상향 조정했습니다. 이를 통해z-index: 70을 사용하는 모바일 환경의 CommentBottomSheet(바텀 시트) 위에서 모달이 가려지지 않고 올바르게 표시되도록 수정했습니다.