-
Notifications
You must be signed in to change notification settings - Fork 1
feat: 문서 작성 기능 개발 #33
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
Walkthrough이 변경 사항은 문서 작성 및 필드 라벨 매핑 기능을 대폭 확장합니다. 문서 작성 API, DTO, 서비스 계층이 추가 및 개선되었고, 필드 라벨의 한글 매핑이 코드 및 리소스 파일로 도입되었습니다. Flask 연동 예외 및 오류 코드가 별도 패키지로 분리되어 관리됩니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant DocumentController
participant DocumentService
participant UserRepository
participant FormRepository
participant PdfService
participant S3Service
participant DocumentRepository
Client->>DocumentController: POST /api/document/{formId}/write
DocumentController->>DocumentService: writeDocument(userPrincipal, formId, writeDocsReqList)
DocumentService->>UserRepository: findById(userId)
DocumentService->>FormRepository: findById(formId)
DocumentService->>PdfService: fillImageFromS3(imageUrl, fields)
PdfService->>S3Service: downloadFile(imageUrl)
PdfService-->>DocumentService: imageUrl(작성된 이미지 S3 URL)
DocumentService->>PdfService: convertImageToPdf(image)
PdfService-->>DocumentService: pdfByteArray
DocumentService->>S3Service: uploadFile(pdfFileName, pdfByteArray)
S3Service-->>DocumentService: pdfUrl
DocumentService->>DocumentRepository: save(Document)
DocumentRepository-->>DocumentService: Document
DocumentService-->>DocumentController: WriteDocsRes
DocumentController-->>Client: SuccessResponse<WriteDocsRes>
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (26)
💤 Files with no reviewable changes (2)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🔍 관련 이슈
✅ 작업 분류
✨ 작업 내용
✅ 체크리스트
📸 스크린샷
Summary by CodeRabbit
신규 기능
버그 수정
API 변경
리팩터링 및 기타