Repository navigation
fix(estimates): send quotes from ask@papercraft.kr - #47
Merged
Hidden character warning
The head ref may contain hidden characters: "brekarta-stack/\uacac\uc801\uc11c-\uc790\ub3d9\ud654"
Merged
Conversation
Supabase cached egress hit 134% of the free quota on 2026-09-22 and the project was restricted. PR #44 routed image traffic through the Vercel optimizer; this cuts what is left. - Admin tool on /admin/setup shrinks root-level images in the public `uploads` bucket in place (same path and format, width capped at 1920) after backing each original up to the private `uploads-originals` bucket. Dry-run is list-only; apply/restore run in 40s batches and the panel can resume from where a failure stopped. - Safety: folders (customer attachments, deliverables), GIF/SVG, animated, lossless WebP, CMYK colour handling, truncated and mislabelled files are skipped or handled; a pre-existing backup with different bytes blocks the overwrite; restore only touches files whose mark and recorded size still match (or whose bytes match a re-shrink of the backup), so a later same-name replacement is never clobbered. - Blog list, related posts, sitemap, RSS and llms.txt read posts without the body column; portfolio case- slug lookup fetches ids first; admin list thumbnails go through the optimizer at 256px. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The estimate mailer inherited INQUIRY_FROM_EMAIL (no-reply@papercraft.kr), the inquiry-form sender, so customers received quotes from an address that cannot take replies while Reply-To and the archive BCC pointed at ask@papercraft.kr. Default the From to SUPPLIER.managerEmail so all three land on one account; ESTIMATE_FROM_EMAIL still overrides it. Sending no longer fails when no from-address env is set, so the guard only checks RESEND_API_KEY. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Why
견적서 메일의 보내는 사람이 문의 폼 발신 주소(
INQUIRY_FROM_EMAIL=PE Studio <no-reply@papercraft.kr>)를 물려받고 있었다. 고객에게는 답장을 받지 않는 주소로 보이고, 회신(Reply-To)·보관 사본(BCC)은ask@papercraft.kr라 계정이 갈렸다.What
prepareSend()의 From 기본값을PE Studio <ask@papercraft.kr>(SUPPLIER.managerEmail)로.ESTIMATE_FROM_EMAIL로 여전히 덮어쓸 수 있다.RESEND_API_KEY만 본다.tests/estimate.test.mjs): 기본값·문의 폼 주소 미사용·회신·보관 사본이 한 계정인지.도메인(papercraft.kr)은 Resend 에 이미 인증돼 있어 발신 설정 변경은 필요 없다. 구글 드라이브 연결(ask@papercraft.kr)과 기록의 수행자 표시(로그인한 관리자 계정)는 이 변경과 무관하다.
Verification
npm test241/241, tsc, eslint,next build.🤖 Generated with Claude Code