update: 家事を未完了に戻す機能と家族グループメンバー管理の実装 #63
Merged
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.
Summary
関連Issue: #61
Changes
新機能
未完了に戻す機能: 承認待ち状態の家事を未完了に戻せるように実装
HouseworkItem.updateIncomplete(): 家事を未完了状態にリセットHouseworkListStore.returnToIncomplete(): 未完了に戻す処理HouseworkDetailActionContent: 未完了に戻すボタンを追加家族グループメンバー管理: CohabitantStoreを追加し、リアルタイムでメンバー情報を取得・キャッシュ
CohabitantStore: 家族グループメンバーのリアルタイム監視とキャッシュCohabitantMemberList: メンバーリストの管理CohabitantClient: Firestoreとの連携(snapshotListener追加)実施者名の表示: 家事詳細画面と承認画面に実施者名を表示
HouseworkDetailItemListContent: 実施者行を追加HouseworkApprovalView: 実施者名を動的に表示アーキテクチャ改善
Model/Store/からModel/Domain/配下の適切な場所に移動バグ修正・改善
FirestoreService.removeSnapshotListner→removeSnapshotListener(タイポ修正)HouseworkItem.updateState()をupdatePendingApproval()とupdateIncomplete()に分割CohabitantMemberList.missingMemberIds()のSetを使った最適化HouseworkListStoreでlistenerTaskをTaskで管理テスト
CohabitantStoreTest: 新規追加addSnapshotListenerIfNeeded_add_member_case: 新しいメンバーの追加テストaddSnapshotListenerIfNeeded_already_exist_member_case: 既存メンバーの重複追加防止テストHouseworkListStoreTest.returnToIncomplete(): 未完了に戻す処理のテスト追加ObservationHelper: テストヘルパーを追加Test plan
🤖 Generated with Claude Code