-
Notifications
You must be signed in to change notification settings - Fork 2
[FEAT] 사용자, 기사 프로필 생성 및 수정 추가 #62
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4b28d49
feat: 프로필 생성, 수정 페이지 추가(임시)
9g-g9 8c2c92d
feat: 프로필 업로드, 수정 추가, 이미지 업로드 임시 추가, refactor: type 하나로 병합
9g-g9 e634f83
fix: formField 기능 확장 및 profile formField 사용
9g-g9 d7830b9
fix: 프로필 수정 방식 및 디자인 수정
9g-g9 97fe065
Merge branch 'dev' of https://github.com/4roro-moving/moving-frontend…
9g-g9 b643b5e
Merge branch 'dev' of https://github.com/4roro-moving/moving-frontend…
9g-g9 f082e57
feat: oAuth 계정 생성 시 전화번호 입력, 수정 시 비밀번호 숨김 처리
9g-g9 47869ff
feat: useMoverAuthReady customer 와 맞춤, 비밀번호 수정 틀릴 시 focus 추가
9g-g9 fc23375
feat: loadingFallback 파일 분리 및 프로필 생성, 수정 스켈레톤 UI 추가
9g-g9 b4c861a
feat: header 반응형 적용, apiError 응답 구조 수정
9g-g9 4b04725
feat: customer basic info 수정 추가
9g-g9 fb1d407
fix: header focus trap, 프로필 수정 시 toast 추가, 전화번호 검증 느슨하게 변경
9g-g9 f6dc473
fix: 일반 로그인 프로필 생성 시 전화번호 노출 오류 수정
9g-g9 d088993
fix: 리뷰 사항 수정
9g-g9 15c44c3
fix: phone schema 수정 및 signup 도 해당 검증 사용 변경
9g-g9 a3b162b
fix: 접근 불가 시 안내 문구 수정, 프로필 정보 못불러왔을 때 상태 컴포넌트 생성
9g-g9 1dd372a
fix: imageUploader a11y 적용
9g-g9 c32c0a9
Merge branch 'dev' of https://github.com/4roro-moving/moving-frontend…
9g-g9 db3c1bf
fix: 충돌수정 및 side nav 컴포넌트 수정
9g-g9 8c8e26b
fix: chip 공통 사용, dirty reset 추가, side nav 수정
9g-g9 060c8af
feat: side nav 애니메이션 추가, chip hover border 추가
9g-g9 38bfe5b
fix: mover sent 활성 상태 제외
9g-g9 4634639
Merge branch 'dev' of https://github.com/4roro-moving/moving-frontend…
9g-g9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import CustomerProfileEditView from "@/components/profile/CustomerProfileEditView"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "프로필 수정 | 무빙", | ||
| description: "무빙 고객 프로필 수정", | ||
| }; | ||
|
|
||
| const CustomerProfileEditPage = () => { | ||
| return <CustomerProfileEditView />; | ||
| }; | ||
|
|
||
| export default CustomerProfileEditPage; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,14 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import { Text } from "@/components/common/Text"; | ||
| import CustomerProfileCreateView from "@/components/profile/CustomerProfileCreateView"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "프로필 등록 | 무빙", | ||
| description: "무빙 고객 프로필 등록", | ||
| }; | ||
|
|
||
| const CustomerProfilePage = () => { | ||
| return ( | ||
| <div className="flex flex-1 flex-col items-center justify-center px-24 py-80"> | ||
| <Text as="h1" variant="2lg-bold" className="text-text-primary"> | ||
| 고객 프로필 등록 | ||
| </Text> | ||
| <Text as="p" variant="md-medium" className="text-text-description mt-12"> | ||
| 프로필 등록 UI는 추후 연결됩니다. | ||
| </Text> | ||
| </div> | ||
| ); | ||
| return <CustomerProfileCreateView />; | ||
| }; | ||
|
|
||
| export default CustomerProfilePage; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,23 @@ | ||
| "use client"; | ||
|
|
||
| import type { ReactNode } from "react"; | ||
| import { usePathname } from "next/navigation"; | ||
|
|
||
| import RoleGuard from "@/components/auth/RoleGuard"; | ||
| import { getMoverProtectedLoadingFallback } from "@/lib/loading/getMoverProtectedLoadingFallback"; | ||
|
|
||
| interface MoverProtectedLayoutProps { | ||
| children: ReactNode; | ||
| } | ||
|
|
||
| const MoverProtectedLayout = ({ children }: MoverProtectedLayoutProps) => { | ||
| return <RoleGuard allowedRole="MOVER">{children}</RoleGuard>; | ||
| const pathname = usePathname(); | ||
|
|
||
| return ( | ||
| <RoleGuard allowedRole="MOVER" loadingFallback={getMoverProtectedLoadingFallback(pathname)}> | ||
| {children} | ||
| </RoleGuard> | ||
| ); | ||
| }; | ||
|
|
||
| export default MoverProtectedLayout; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import MoverBasicInfoEditView from "@/components/profile/MoverBasicInfoEditView"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "기본정보 수정 | 무빙", | ||
| description: "무빙 기사님 기본정보 수정", | ||
| }; | ||
|
|
||
| const MoverBasicInfoEditPage = () => { | ||
| return <MoverBasicInfoEditView />; | ||
| }; | ||
|
|
||
| export default MoverBasicInfoEditPage; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import MoverProfileEditView from "@/components/profile/MoverProfileEditView"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "기사 프로필 수정 | 무빙", | ||
| description: "무빙 기사님 프로필 수정", | ||
| }; | ||
|
|
||
| const MoverProfileEditPage = () => { | ||
| return <MoverProfileEditView />; | ||
| }; | ||
|
|
||
| export default MoverProfileEditPage; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,14 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import { Text } from "@/components/common/Text"; | ||
| import MoverProfileCreateView from "@/components/profile/MoverProfileCreateView"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "기사 프로필 등록 | 무빙", | ||
| description: "무빙 기사님 프로필 등록", | ||
| }; | ||
|
|
||
| const MoverProfilePage = () => { | ||
| return ( | ||
| <div className="flex flex-1 flex-col items-center justify-center px-24 py-80"> | ||
| <Text as="h1" variant="2lg-bold" className="text-text-primary"> | ||
| 기사님 프로필 등록 | ||
| </Text> | ||
| <Text as="p" variant="md-medium" className="text-text-description mt-12"> | ||
| 프로필 등록 UI는 추후 연결됩니다. | ||
| </Text> | ||
| </div> | ||
| ); | ||
| return <MoverProfileCreateView />; | ||
| }; | ||
|
|
||
| export default MoverProfilePage; |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.