Conversation
|
@coderabbitai summary |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
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:
개요AI 장소 추출 기능을 새로 구현하여 URL 입력 → 분석 → 결과 표시 → 저장의 완전한 워크플로우를 추가했습니다. PlaceModel을 공통 모듈로 이동시키고 라우팅을 업데이트하며 버전을 1.0.42로 올렸습니다. 변경사항
시퀀스 다이어그램sequenceDiagram
actor User
participant UIPage as AiExtractionPage
participant Notifier as AiExtractionNotifier
participant Repo as AiExtractionRepository
participant DataSource as RemoteDataSource
participant API as Backend API
User->>UIPage: URL 입력 및 분석 클릭
UIPage->>Notifier: analyze()
Notifier->>Notifier: URL 검증
Notifier->>Repo: analyze(AnalyzeRequest)
Repo->>DataSource: analyze()
DataSource->>API: POST /contentAnalyze
API-->>DataSource: AnalyzeResponse (contentId)
DataSource-->>Repo: return contentId
Repo-->>Notifier: return AnalyzeResponse
Notifier->>Notifier: contentId 저장, 폴링 시작
rect rgba(100, 150, 200, 0.5)
Note over Notifier,API: 5초 주기 폴링 (최대 시도)
loop 상태 = PENDING/PROCESSING
Notifier->>Repo: getContentDetail(contentId)
Repo->>DataSource: getContentDetail()
DataSource->>API: GET /contentDetail
API-->>DataSource: ContentDetailResponse
DataSource-->>Repo: return response
Repo-->>Notifier: return response
end
end
Notifier->>Notifier: 상태 = COMPLETED, places 업데이트
Notifier->>UIPage: state 갱신
UIPage->>User: 결과 목록 표시
User->>UIPage: 항목 선택 및 저장 클릭
UIPage->>Notifier: saveSelectedPlaces()
rect rgba(150, 100, 200, 0.5)
Note over Notifier,API: 선택된 각 항목에 대해 반복
loop placeId in selectedPlaceIds
Notifier->>Repo: savePlace(placeId)
Repo->>DataSource: savePlace()
DataSource->>API: POST /savePlace
API-->>DataSource: success
DataSource-->>Repo: return void
Repo-->>Notifier: completed
Notifier->>Notifier: saveProgress 업데이트
end
end
Notifier->>Notifier: 상태 = saved
Notifier->>UIPage: state 갱신
UIPage->>User: 저장 완료 표시
코드 리뷰 예상 난이도🎯 4 (복잡함) | ⏱️ ~60분 관련 PR
✨ 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 |
✅ Actions performedSummary regeneration triggered. |
|
✅ 변경사항이 자동으로 deploy 브랜치에 적용되었습니다. PR을 수동으로 닫아주세요. |
Summary by CodeRabbit
릴리스 노트
새로운 기능
버전 업데이트