Open
Conversation
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
마법진(소환진) 컨셉의 새로운 카드 뽑기 UI로 전환. - RitualCircle: 동심원 회전 마법진 + 룬 포인트 - SummonMotion: 원형 소환, 수렴, 파쇄, 충격파 모션 - SummonDrawingGame: 상태 머신 (ready→drawing→revealing→selected) - 모바일 반응형 대응 (카드 크기, 원 반지름 조정) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 게임 카드: 220×272 → 100×124 (데스크톱), 140×173 → 72×89 (모바일) - 결과 카드: width 320px + maxWidth 80vw 제한 추가 - 파쇄 컨테이너: 카드 크기에 맞게 조정 + 모바일 대응 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 백드롭을 별도 div로 분리하여 클릭 이벤트 확실히 전달 - 결과 카드, 닫기 메시지에도 직접 closeGame 핸들러 추가 - 오버레이 어디를 클릭해도 닫히도록 개선 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- revealTimerRef로 타이머 관리, 언마운트 시 cleanup - 닫기 메시지에 cursor: pointer 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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 |
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.
💻 작업 내용
기존
FanDrawingGame(부채꼴 펼침 방식)을 Spirit Summon(소환진 수렴 의식) 컨셉의 새로운 카드 뽑기 UI로 완전 교체했습니다.변경 전 → 변경 후
신규 파일 (4개)
SummonDrawingGame/RitualCircle.tsxSummonDrawingGame/SummonMotion.tsxSummonDrawingGame/SummonDrawingGame.tsxready→drawing→revealing→selected), cos/sin 원형 좌표 계산, 모바일 반응형SummonDrawingGame/index.ts수정 파일 (1개)
OnePet.tsx: import 경로를FanDrawingGame→SummonDrawingGame으로 변경주요 구현 사항
ready→drawing→revealing→selected4단계 전환animateSpin키프레임 활용, 반대 방향 동심원 회전, revealing 시 가속cos/sin으로 원형 좌표 계산 (데스크톱 반지름 140px, 모바일 90px)Props interface 변경 없음
기존
CardDrawingGameProps그대로 유지하여OnePet.tsx에서 import 경로만 변경.📸 스크린샷
데스크톱 (1280px) - 카드 소환 상태
마법진 동심원 위에 카드 7장이 원형으로 배치, 플로팅 애니메이션 적용
데스크톱 - 결과 카드 공개
충격파 + overshoot spring으로 결과 카드 등장 (HAMSTER_SANTA A+)
모바일 (400px) - 카드 소환 상태
모바일 반응형으로 카드/마법진 크기 축소
모바일 - 결과 카드 공개
모바일에서도 적절한 크기의 결과 카드 표시 (CAPYBARA_CARROT B-)