feat: [마이페이지] - 구매 내역#30
Merged
Hidden character warning
The head ref may contain hidden characters: "feature/-\ub9c8\uc774\ud398\uc774\uc9c0-\uad6c\ub9e4-\ub0b4\uc5ed-\ucd94\uac00"
Merged
Conversation
- 아이콘, 버튼크기 등
- 복잡했던 로직, private func로 분리
- typo 추가 (suit10R) - 야무지다 잘짯다
- 추후 필요하면 디자인 받고 구현
jini-coding
approved these changes
Jan 28, 2026
Member
jini-coding
left a comment
There was a problem hiding this comment.
구매 내역 구조도 괜찮고 기존 코드도 같이 정리가 좀 되었네요. 굿입니다.
| } | ||
| } | ||
|
|
||
| // MARK: - Private Methods |
Member
|
멋져멋져 |
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.
🎯 PR 내용
마이페이지에서 구매 내역을 확인할 수 있는 기능을 구현했습니다.
1. Receipt 모델 생성
User/{userId}/Receipts서브컬렉션 데이터 모델itemTypeDisplayName)purchasedAtFormatted)2. ItemPurchaseManager 리팩토링
validatePurchaseInfo,fetchCurrentCoin,buildUpdateData,saveReceipt등)3. 구매내역 화면 구현
PurchaseHistoryViewModel: Firestore에서 구매내역 fetchPurchaseHistoryView: 구매내역 리스트 UI4. 네비게이션 연결
HomeRoute.purchaseHistory추가MyPageView에 "구매내역" 버튼 추가📱 스크린샷 (UI 변경 시)
🔗 관련 이슈
✅ 체크리스트