Conversation
3 tasks
|
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 |
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.
#️⃣연관된 이슈
📝작업 내용
admin api 연동
스크린샷 (선택)
💬리뷰 요구사항(선택)
Summary by CodeRabbit
릴리스 노트
New Features
Refactor