Skip to content

Conversation

@stotic-dev
Copy link
Owner

Summary

  • LoadingStateの導入によるローディングUI管理の改善
  • CohabitantStoreによる家族グループメンバー管理機能の追加
  • 家事を未完了に戻す機能の実装

主な変更内容

LoadingState導入

  • Boolベースのローディング管理をLoadingStateStoreに移行
  • @LoadingState property wrapperの追加
  • fullScreenLoadingIndicatorの引数をBoolからLoadingStateStoreに変更

CohabitantStore追加

  • 家族グループメンバーをリアルタイムで監視・管理するCohabitantStoreを実装
  • CohabitantMemberListドメインモデルの追加
  • 家事承認画面、家事詳細画面で実施者名の表示に対応

家事を未完了に戻す機能

  • HouseworkItem.updateIncomplete()メソッドの追加
  • HouseworkListStore.returnToIncomplete()の実装
  • 家事詳細画面の「未完了に戻す」ボタンの実装
  • ユニットテストの追加

その他

  • Store関連ファイルをDomain配下に移動してファイル構造を整理
  • removeSnapshotListnerremoveSnapshotListenerのtypo修正
  • 不要なpreviewとEnvironmentBindableStoreの削除

Test plan

  • ローディング表示が正しく動作すること
  • 家族グループメンバーが正しく表示されること(家事承認画面、家事詳細画面)
  • 家事を未完了に戻せること
  • ユニットテストが全て通ること
  • スナップショットテストが全て通ること

🤖 Generated with Claude Code

@stotic-dev-bot
Copy link
Collaborator

Warnings
⚠️

homete/Views/SettingView/SettingView.swift#L32 - TODOs should be resolved (メニューボタンタップ時の処理) (todo)

⚠️

homete/Views/SettingView/SettingView.swift#L118 - TODOs should be resolved (エラーハンドリング) (todo)

Messages
📖 Project coverage: 35.18%

homete.app: Coverage: 55.83

File Coverage
RegistrationAccountView.swift 88.05%
LoadingIndicator.swift 100.0%
LoadingState.swift 44.0%
LoginView.swift 65.75%
CohabitantRegistrationPeersListView.swift 79.38%
CohabitantRegistrationScanningStateView.swift 0.0% ⚠️
SettingView.swift 82.31%
HouseworkDetailView.swift 63.27%
AccountAuthStore.swift 93.24%
RegisterHouseworkView.swift 74.48%

Generated by 🚫 Danger Swift against 727b1a6

@stotic-dev stotic-dev merged commit d7b149c into main Jan 14, 2026
4 checks passed
@stotic-dev stotic-dev deleted the refactor/loading_state_manage branch January 14, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants