✨ feat: 프로필 업데이트 페이지 UX 개선 및 기능 분리#52
Merged
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.
🚀 Description
이 PR은 프로필 수정 페이지(
profile/edit)의 전반적인 사용자 경험(UX)을 대폭 개선하고 오작동하던 기존 프로필 이미지 렌더링을 픽스합니다. 또한, 혼동을 방지하기 위해 사용자가 비밀번호를 자가 갱신할 수 있는 별도의 설정 페이지를 독립적으로 구성했습니다.✨ Key Changes
UX/UI 전면 개선 (Native Alert 제거)
alert()호출을 일괄 제거했습니다.{ success: boolean, error?: string }) 형식으로 컨트롤하여 반환하도록 훅을 뜯어고쳤으며, 실패 및 성공 메시지가sonner의toast컴포넌트를 통해 깔끔하게 띄워지도록 호출부를 수정했습니다.프로필 이미지 복구 및 삭제 기능 구현
imagePath가 먼저null로 세팅되던 꼬임 이슈를 고쳤습니다./profile-images/)를 getImageUrl 유틸 함수로 교체하여 소셜 로그인이나 원격 이미지 등의 스토리지 주소가 누락 없이 제대로 렌더링되게 변경했습니다.X삭제 아이콘 UI를 추가해, 버튼 클릭 시 프로필 이미지를 초기화시키고 즉각적으로 기본 영문 이니셜 아바타 모드로 전환되게 수정했습니다.비밀번호 변경 전용 신규 뷰 분리
/protected/profile/update-password)를 새로 오픈했습니다./login으로 튕겨내는 프로세스를 구현했습니다.레이아웃 쏠림 현상(Layout Shift) 방어
absolute속성을 통해 물리적으로 포지션을 빼내어 고정되게 만들었습니다.success프로퍼티 결과에 따라 분기 처리를 하셔야 합니다.