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

[USER] 마이페이지 구현 #93

Merged
merged 51 commits into from
Oct 16, 2023
Merged

[USER] 마이페이지 구현 #93

merged 51 commits into from
Oct 16, 2023

Conversation

HAEROOL
Copy link
Contributor

@HAEROOL HAEROOL commented Aug 17, 2023

[#84] request

마이페이지 구현했습니다.

  • 기존의 PC 뷰를 제외하고 모바일 뷰로 우선 통일하여 구현하였습니다. PC 뷰가 확정나면 추가 구현 예정입니다.
  • 보관함의 경우 보관한 데이터 자체에 현재 겹치는 부분이 있어 무한스크롤 동작 시 key prop이 겹칩니다. 해당 부분은 데이터가 달라진다면 사라질 예정입니다.

Please check if the PR fulfills these requirements

  • It's submitted to develop branch, not the main branch
  • The commit message follows our guidelines
  • There are no warning message when you run yarn lint
  • Docs updated for breaking changes

Screenshot

스크린샷 2023-08-17 오후 6 39 49
스크린샷 2023-08-17 오후 6 40 10

Copy link
Member

@ChoiWonBeen ChoiWonBeen left a comment

Choose a reason for hiding this comment

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

로직에 문제없이 잘짜셨네요! 읽기도 수월했습니다 ㅎ
몇가지 오타나 생각해볼만한 점들만 좀 올려뒀으니 한번 확인해보시고 수정할 부분들은 수정해주시면 좋을 것 같아요 고생하셨습니다~

src/api/mypage/entity.ts Outdated Show resolved Hide resolved
src/App.tsx Outdated Show resolved Hide resolved
src/api/mypage/entity.ts Outdated Show resolved Hide resolved
src/api/mypage/entity.ts Outdated Show resolved Hide resolved
src/api/mypage/entity.ts Outdated Show resolved Hide resolved
src/pages/MyPage/components/HambergerBoard/index.tsx Outdated Show resolved Hide resolved
src/pages/MyPage/components/Information/index.tsx Outdated Show resolved Hide resolved

export const getScraps = async (pageParam:number) => myPageApi.get<ScrapResponse>(`/scraps?cursor=${pageParam}`);

export const patchProfileImage = async (image:FormData | null) => myPageApi.patch<PatchProfileImageResponse>('/user/profile', image, {
Copy link
Member

Choose a reason for hiding this comment

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

잘 이해가 되진 않지만 저는 테스트할때 해당 부분에서 2초가 넘어가서 에러가 나거든요..? myPageApi의 exceed시간을 늘리거나 해야할 것 같은데.. 사실 2초 넘어갈만한 작업은 아닌 것 같아서 백엔드측에 문의를 해볼게요

@kimeodml kimeodml requested review from haejinyun and kimeodml and removed request for jaewoogwak August 28, 2023 13:57
Copy link
Contributor

@kimeodml kimeodml left a comment

Choose a reason for hiding this comment

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

제가 리뷰한 부분만 수정하면 될것 같아요!
브랜치 최신화 한 후에 수정부탁드립니다. 고생하셨어요!!

src/pages/MyPage/MyPage.module.scss Outdated Show resolved Hide resolved
src/pages/MyPage/MyPage.module.scss Outdated Show resolved Hide resolved
src/pages/MyPage/components/BookMark/index.tsx Outdated Show resolved Hide resolved
@kimeodml kimeodml merged commit 5308a73 into develop Oct 16, 2023
1 check passed
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.

3 participants