[Feat] 사용자 상세 정보 - 프로필 & 계정 이력 페이지 구현#158
Merged
Conversation
Mimiminz
approved these changes
Oct 10, 2025
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.
🌱 연관된 이슈
559
560
☘️ 작업 내용
TabMenu
TabMenu라는 공통 컴포넌트를 만들었습니다.
사용자 상세 정보 경로
상세 정보에서 탭은 크게 4가지 있습니다.
(현재 사용자 상세 정보 경로로 들어가는 flow를 파악하지 못하여, 구현이 안되어있습니다. 직접 주소창에 url를 입력해서 확인 부탁드립니다.)
/admin/detail/${memberId}/profile/admin/detail/${memberId}/account-history/admin/detail/${memberId}/study/admin/detail/${memberId}/sincerity-temp만약
/admin/detail,/admin/detail/${memberId}로 들어올 경우를 대비하기 위해, notFound를 이용하여 404 페이지를 표시해두었습니다.middleware.ts에서 jwt 토큰을 파싱하여 사용자가 어드민 권한이 없을 경우, 홈페이지로 리다이렉션 시켰습니다.
프로필 페이지
UserProfileModal 컴포넌트에서 붙여넣었습니다. 시간이 별로 없어 공통 부분은 나중에 리팩토링하도록 하겠습니다...
계정 이력
/api/v1/admin/members/{memberId}/account-histories에서 확인해야 할 부분이 있어 질문을 드린 상황입니다.
질문드린 내용은 다음과 같아요.
답변 받으면 바로 수정해서 노티 드리도록 하겠습니다.
{ "statusCode": 1073741824, "timestamp": "2025-10-09T15:31:14.056Z", "content": { "memberId": 9007199254740991, "joinedAt": "2025-10-09T15:31:14.056Z", "loginMostRecentlyAt": "2025-10-09T15:31:14.056Z", "loginHists": [ "2025-10-09T15:31:14.056Z" ], "roleChangeHists": [ { "changedAt": "2025-10-09T15:31:14.056Z", "from": "string", "to": "string" } ], "memberStatusChangeHists": [ { "changedAt": "2025-10-09T15:31:14.056Z", "from": "string", "to": "string" } ] }, "message": "string" }