Skip to content

feat(community): 게시물 사진 축소본 주소 전달 - #31

Merged
SD-gif merged 1 commit into
feat/schedule-creation-page-api-integrationfrom
feat/media-thumbnail
Sep 19, 2026
Merged

SD-gif merged 1 commit into
feat/schedule-creation-page-api-integrationfrom
feat/media-thumbnail

Conversation

@SD-gif

@SD-gif SD-gif commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

업로드 응답의 축소본 주소를 게시물 작성에 넘기도록 했음.

서버 feat/media-thumbnail 브랜치 필요. 서버 먼저 머지.

변경 사항

  • uploadMedia 응답 타입에 thumbnailUrl 추가
  • 게시물 작성이 mediaList[].thumbnailUrl 로 전달
  • PostMedia 타입에 선택 필드 추가 (게시물 수정이 상세 응답을 그대로 되돌려 보내므로 자동 유지)
  • 목록 화면은 이미 thumbnailUrl 을 쓰고 있어 변경 없음

효과

커뮤니티 목록 첫 화면 전송량이 10MB 안팎에서 1MB 아래로 줄어듦. 새로 올린 사진부터 적용.

검증

tsc, eslint, next build 통과

🤖 Generated with Claude Code

목록 화면은 이미 thumbnailUrl 을 쓰고 있어, 업로드 응답의 값을 작성 요청에
그대로 실어 보내면 목록이 원본 대신 사본을 받는다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tour-client Ready Ready Preview Sep 17, 2026 5:16pm UTC

@SD-gif
SD-gif merged commit 8ae8db3 into feat/schedule-creation-page-api-integration Sep 19, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
Preview — c2bdb208 Deployed Sep 17, 2026 by vercel[bot]
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