Skip to content

fix(admin): 후기 CSV 다운로드 Firefox 호환(<a> body 부착 후 클릭)#2428

Merged
dusvlf111 merged 1 commit into
mainfrom
fix/admin-csv-download-firefox
Jul 7, 2026
Merged

fix(admin): 후기 CSV 다운로드 Firefox 호환(<a> body 부착 후 클릭)#2428
dusvlf111 merged 1 commit into
mainfrom
fix/admin-csv-download-firefox

Conversation

@dusvlf111

Copy link
Copy Markdown
Collaborator

배경

PR #2427(후기관리 블로그 CSV·인쇄 전량) 머지 직후 Gemini 리뷰가 남긴 마지막 지적을 반영하는 후속 PR입니다. 해당 지적은 #2427이 이미 머지된 뒤라 그 PR에 담기지 못했습니다.

변경

CSV 다운로드 시 동적 생성한 <a>document.body 에 붙였다 클릭 후 제거.

  • Firefox 등 일부 브라우저는 DOM 미부착 <a>click() 을 무시해 다운로드가 시작되지 않을 수 있음.

blogReviewExport.ts 3줄 추가(표준 크로스브라우저 패턴).

검증

  • pnpm build:admin 통과 / pnpm typecheck:admin 변경 파일 신규 에러 0 / ESLint 통과

🤖 Generated with Claude Code

Gemini 재리뷰 반영: DOM 미부착 <a> 의 click() 이 일부 브라우저에서
무시될 수 있어 document.body 에 추가 후 클릭·제거.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 풀 리퀘스트에서는 Firefox 등 일부 브라우저에서 DOM에 부착되지 않은 태그의 click() 메서드가 무시되는 현상을 방지하기 위해, 임시로 생성한 링크 엘리먼트를 document.body에 추가한 뒤 클릭 이벤트를 트리거하고 다시 제거하도록 코드를 수정했습니다. 해당 변경 사항에 대해 검토한 결과, 추가적인 피드백은 없습니다.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@dusvlf111 dusvlf111 self-assigned this Jul 7, 2026
@dusvlf111 dusvlf111 merged commit 3d7eddf into main Jul 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant