Merged
Conversation
[SPM-433] 프로필 수정 및 회원 관리 구현
[FEAT] 직원 재직 상태 추가
|
Caution Review failedThe pull request is closed. 개요사용자 도메인을 독립적인 모듈로 재구성하고, 직원 관리 기능을 추가하는 대규모 리팩토링입니다. User 모델을 auth에서 user 도메인으로 이동하고, 새로운 저장소, 사용 사례 및 UI 계층을 구현합니다. 변경 사항
시퀀스 다이어그램sequenceDiagram
participant UI as 로그인 화면
participant VM as LoginViewModel
participant LU as LoginUseCase
participant GU as GetProfileUseCase
participant Repo as UserRepository
participant Auth as AuthApi
UI->>VM: 로그인 시도
VM->>LU: invoke(email, password)
LU->>Repo: signIn(email, password)
Repo->>Auth: login(credentials)
Auth-->>Repo: LoginResponseDto
Repo-->>LU: Result<User>
LU-->>VM: Result<User>
rect rgb(200, 220, 255)
Note over VM,GU: 신규: 로그인 후 프로필 조회
VM->>GU: invoke("AGENCY")
GU->>Repo: getProfile("AGENCY")
Repo->>Auth: getProfile(workspace)
Auth-->>Repo: GetProfileResponseDto
Repo-->>GU: Result<User>
GU-->>VM: Result<User>
end
alt 성공
VM->>UI: loading=false, success=true
else 실패
VM->>UI: error 메시지 표시
end
예상 코드 리뷰 노력🎯 4 (복잡함) | ⏱️ ~60분 주의가 필요한 영역:
관련 PR
제안 라벨
제안 검토자
시 🐰
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (84)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Summary by CodeRabbit
릴리스 노트
새로운 기능
개선 사항