[Feature] 정산 상세 내역 화면 구현 및 정산 계산 로직 고도화 #51
Merged
Conversation
Roy-wonji
approved these changes
Dec 11, 2025
Contributor
Roy-wonji
left a comment
There was a problem hiding this comment.
@Peter1119 수고 하셨습니다 로직이 복잡했을텐데 ..
| } | ||
| } | ||
| } | ||
| .padding(16) |
| } | ||
| } | ||
|
|
||
| private func formatDate(_ date: Date) -> String { |
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.
🔗 관련 이슈
✨ 작업 내용
CalculateSettlementUseCase를 확장하여 단순히 총액만 계산하는 것이 아니라, 각 멤버가 '어떤 지출에 참여하여 얼마를 부담해야 하는지' 상세 내역(ExpenseDetail)까지 산출하도록 변경했습니다.MemberDetailCard: 멤버별 요약 정보를 보여주는 카드ExpenseBreakdownSection: 지출 내역 및 부담 내역을 펼쳐서 볼 수 있는 Expandable ListSettlementResultView)에서 상세 화면으로 이동하는 네비게이션을 연결했습니다.ExpenseListView에 항목 추가/삭제 시 부드러운 애니메이션(transition,spring)을 적용했습니다.📸 Showcase
📝 참고 사항
Double값이었던 정산 결과를MemberSettlementDetail구조체로 확장하여, 결제 내역(Paid)과 분담 내역(Shared)을 모두 들고 있도록 했습니다.ExpenseListView)에서 아이템이 추가될 때 스케일과 투명도가 함께 변하는 애니메이션을 적용해 자연스러움을 더했습니다.Motivation 🥳 (코드를 추가/변경하게 된 이유)
Key Changes 🔥 (주요 구현/변경 사항)
Features/SettlementDetail/...: 신규 모듈 및 View, Reducer 구현.transition,.animation추가To Reviewers 🙏 (리뷰어에게 전달하고 싶은 말)
Reference 🔗
Close Issues 🔒 (닫을 Issue)
Close #No.
Checklist