Skip to content
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

Feature/#49/mypage #52

Merged
merged 6 commits into from
Jan 16, 2025
Merged

Feature/#49/mypage #52

merged 6 commits into from
Jan 16, 2025

Conversation

kevinmj12
Copy link
Collaborator

@kevinmj12 kevinmj12 commented Jan 16, 2025

Overview

마이페이지 구현(디테일)

Related Issue

Issue Number : #49

Task Details

  • 유저 아이콘을 클릭해 드롭다운을 띄우고 마이페이지로 이동하는 경우 드롭다운이 닫히도록 개선하였습니다. (Navigation.tsx에서 을 로 감쌈. 다른 버튼에도 적용 가능.)
  • 마이페이지에서 로그인한 유저의 이름과 이메일을 보여주도록 설정하였습니다.
  • login()함수와 autologin()함수에서 유저 정보를 저장할 때 데이터 형식이 달랐던 것을 통일하였습니다.
  • 로그인하지 않은 상태로 주소창을 통해 /mypage, /mypage/myprojects 등을 통해 마이페이지에 접근하면 로그인이 필요하다는 문구와 함께 홈 화면으로 되돌아가도록 설정하였습니다. (useAuthStore에 isAuthLoading을 추가하여 구현 완료하였습니다.)
  • emotion의 을 활용하여 무한스크롤에서 스크롤바가 보이지 않도록 적용하였습니다.

Screenshots (Optional)

로그인하지 않은 상태로 마이페이지 접근
image
스크롤바가 숨겨진 모습
image

Test Scope & Checklist (Optional)

  • 로그인하지 않은 상태로 마이페이지에 접근 시 안내 문구와 함께 홈 화면으로 이동된다.
  • 마이페이지의 "나의 프로젝트" 항목에서 스크롤바가 보이지 않는다.

Review Requirements

@kevinmj12 kevinmj12 self-assigned this Jan 16, 2025
@kevinmj12 kevinmj12 merged commit a6d16b8 into develop Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant