Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Walkthroughprepare-quiz 모듈과 훅들 추가, 기존 useMakeQuiz 제거 및 MakeQuiz 페이지가 usePrepareQuiz로 전환됨. 퀴즈 생성 스토어를 sessionId 기반 EventSource 스트리밍으로 재설계하고 solve-quiz 훅을 서브훅으로 분해해 state/actions 네임스페이스화함. quizHistoryStorage 삭제·로컬 저장 통합, Footer 컴포넌트 추가, Prettier 도입 및 전역 포맷 정리. Changes
Sequence Diagram(s)sequenceDiagram
participant User as 사용자
participant UI as MakeQuiz UI
participant Prepare as usePrepareQuiz
participant Upload as FileUploader
participant GenStore as useQuizGenerationStore
participant Server as 서버
participant SSE as EventSource
User->>UI: 파일 선택 및 옵션 설정
UI->>Prepare: 업로드/옵션/페이지 업데이트
Prepare->>Upload: 업로드 위임 (pre-sign, PUT)
Upload->>Server: 파일 업로드 요청
Server-->>Upload: 업로드 완료, 업로드 URL 반환
Upload->>GenStore: uploadedUrl 및 fileInfo 저장
User->>UI: generateQuestions 호출
UI->>Prepare: generateQuestions 전달
Prepare->>GenStore: 스트리밍 시작 요청 (sessionId 생성)
GenStore->>Server: 생성 시작 요청 (sessionId 포함)
Server-->>SSE: SSE 스트리밍 시작
SSE-->>GenStore: 청크 이벤트 전송
GenStore->>GenStore: 청크 누적 및 상태 업데이트
SSE-->>GenStore: 완료 이벤트
GenStore->>UI: 생성 완료 상태 반영 / 내비게이션 트리거
UI-->>User: 퀴즈 풀이 화면으로 이동
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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 |
Summary by CodeRabbit
새로운 기능
개선 사항
버그 수정
스타일