feat(feedback): 피드백 PDF 다운로드 (클라이언트)#67
Merged
Merged
Conversation
피드백 화면에 'PDF 다운로드' 버튼 추가 — 리포트 DOM 을 캡처해 A4 PDF 로 저장.
- features/feedback/lib/downloadPdf: html2canvas-pro(oklch 지원, Tailwind v4) + jsPDF.
여러 페이지 분할. 한글은 DOM 래스터화라 폰트 임베딩 불필요.
- jspdf/html2canvas-pro 는 다운로드 시점 동적 import → 메인 번들 비대화 없음(별도 청크).
- FeedbackReport: 캡처 대상(ref) 분리 + 다운로드 버튼('PDF 생성 중…' 상태).
검증: npm run build 통과(메인 번들 436KB 유지, PDF 청크 분리), lint 클린.
백엔드/DB/openapi 무변경. 서버 저장·링크 공유는 다음(공유) 작업.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
피드백 화면에 'PDF 다운로드' 버튼 추가 — 리포트 DOM 을 캡처해 A4 PDF 로 저장.
검증: npm run build 통과(메인 번들 436KB 유지, PDF 청크 분리), lint 클린. 백엔드/DB/openapi 무변경. 서버 저장·링크 공유는 다음(공유) 작업.
변경 사항