-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/#58 admin api 연동 #61
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
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughAdmin 애플리케이션의 요청 관리 기능을 개선합니다. API 경로를 단수형에서 복수형으로 변경하고, 정적 목데이터에서 동적 데이터 페칭으로 전환합니다. 새로운 API 서비스 함수와 타입을 추가하며, 요청 상세 페이지 구조를 재정렬합니다. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Home as Home Page<br/>(Server)
participant API as API Service
participant RequestList as Request List
participant DetailPage as Detail Page<br/>(Server)
participant DetailComponent as RequestDetailPage<br/>(Client)
participant ReviewAPI as Review API
User->>Home: 홈 페이지 접속
Home->>API: getRequests()
API-->>Home: Request[] 반환
Home->>RequestList: 캠퍼스별로<br/>분할된 데이터 전달
RequestList-->>User: 요청 목록 표시
User->>DetailPage: 요청 상세 페이지 클릭
DetailPage->>API: getRequestDetail(id)
API-->>DetailPage: RequestDetail 반환
DetailPage->>DetailComponent: data 전달
DetailComponent-->>User: 상세 정보 표시
User->>DetailComponent: 검토 결정
alt 거절
DetailComponent->>ReviewAPI: requestReview(REJECTED)
else 등록
DetailComponent->>ReviewAPI: requestReview(APPROVED)
end
ReviewAPI-->>DetailComponent: 응답
DetailComponent-->>User: 완료 알림 및<br/>홈으로 이동
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 분 추가 검토 필요 영역:
Possibly related PRs
Suggested labels
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (21)
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 |
#️⃣연관된 이슈
📝작업 내용
admin api 연동
스크린샷 (선택)
💬리뷰 요구사항(선택)
Summary by CodeRabbit
릴리스 노트
New Features
Refactor