feat: 공개 게임 API에 활성 빌드의 캔버스 크기 노출 - #118
Conversation
홈페이지 플레이어가 실제 빌드 해상도 비율로 캔버스를 맞추려면 필요하다. canvasWidth/canvasHeight는 이미 admin 응답에는 있었고, 완료 웹훅으로 채워진다 — 공개 응답에 필드만 추가한다.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesActive build response
Estimated code review effort: 2 (Simple) | ~5 minutes Merge Risk: ⚪ Minimal · up to The public active-build response now includes canvas width and height so players can render at the build’s intended aspect ratio. The fields are sourced from existing build metadata with no remaining concrete merge-blocking risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
Summary
홈페이지 게임 상세 페이지 플레이어가 실제 빌드 해상도 비율로 캔버스를 렌더링하려면
canvasWidth/canvasHeight가 공개 API에도 필요하다(참고 사이트 arcade.codingbot.kr/play 구조 반영 작업 중 발견). 이미 admin 응답과 완료 웹훅에는 있던 값을 공개GameActiveBuildResponse에도 추가한다.검증
./gradlew test --tests "*Game*"전체 통과.Summary by CodeRabbit