Repository navigation
feat: 대체 미리보기 새 서식(백엔드 #78)·엑셀 일괄 등록 주소/신규 인적사항(#82)·비엑셀 업로드 안내(#80) - #97
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (12)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. Walkthrough대체 경력증명서 미리보기를 새 서식으로 변경하고, 경력 데이터 및 문서 계산을 추가합니다. 비Excel 파일 업로드 오류에는 안내 메시지를 연결합니다. Changes경력증명서 대체 미리보기
비Excel 업로드 오류 안내
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix · Severity of issue fixed: Low Sequence Diagram(s)sequenceDiagram
participant CareerCertificateIssue
participant CertificatePreviewView
participant certificateDocument
CareerCertificateIssue->>CertificatePreviewView: 인적사항, 주소, 경력 행 전달
CertificatePreviewView->>certificateDocument: 문서 날짜와 경력 정보 계산 요청
certificateDocument-->>CertificatePreviewView: 날짜, 근무기간, 퇴직사유 반환
CertificatePreviewView-->>CareerCertificateIssue: 대체 미리보기 표시
Merge Risk: ⚪ Minimal · up to No actionable issue established here prevents merging the fallback preview and upload guidance after normal checks. 🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
개요
백엔드가 경력증명서 PDF를 새 「경력증명서 서식」으로 바꾸는 중입니다(DSM2026-Commonly/Commonly-Backend#78, API·DB 변경 없음). 서버 미리보기·발급 PDF는 FE가 받은 그대로 띄우므로 자동으로 바뀌지만, 서버 미리보기를 못 받을 때 FE가 입력값으로 그리는 대체 미리보기는 옛 모양이었습니다. 민원인 화면은 본인 발급 경로가 닫혀 있어 항상 대체 미리보기가 나옵니다.
Closes #96
수정
제 미리보기 호/ 담당자·연락처1999.09.09.), 주소career-certificate/certificateDocument.ts)WorkPeriodCalculator와 동일. 실제 서버 PDF의 "총 58 개월 27 일"과 같은 값이 나오는지 테스트로 확인.xlsx로 바꾼 한글 파일 등을 올리면 백엔드가 500 대신 400NOT_AN_EXCEL_FILE를 줍니다. 일반 400 문구("지원하지 않는 형식") 대신 "다른 이름으로 저장 → Excel 통합 문서(.xlsx)"로 변환하라는 안내를 보여줍니다.확인
build5/5 ·lint0 warnings / 0 errors ·test342 pass / 0 fail (utils 222 · ui 112 · civil-web 8)참고
추가 반영 (백엔드 #82 대응, 엑셀 일괄 등록)
address를 추가했습니다. 엑셀의 "주소" 열이 자동으로 연결되고, 처음 등장한 대상자의 인적사항 주소로 저장돼 증명서 주소 칸에 찍힙니다.createdHumanCount)을 보여줍니다.[, 0B]로 보이던 것도 형식·크기를 표시합니다.{"insertedCount":1,"createdHumanCount":1}→ 완료 화면 "신규 인적사항 1명". 비엑셀 파일 → 변환 안내 표시.🤖 Generated with Claude Code