Commit Graph

218 Commits

Author SHA1 Message Date
Trey t
364f98a303 Fix logout, share code display, loading states, and multi-user support
iOS Logout Fix:
- Use @EnvironmentObject in MainTabView and ProfileTabView
- Pass loginViewModel from LoginView to MainTabView
- Handle logout by dismissing main tab when isAuthenticated becomes false
- Logout button now properly returns user to login screen

Share Code UX:
- Clear share code on ManageUsers screen open (iOS & Android)
- Remove auto-loading of share codes
- User must explicitly generate code each time
- Improves security with fresh codes

Loading State Improvements:
- iOS ResidenceDetailView shows loading immediately on navigation
- Android ResidenceDetailScreen enhanced with "Loading residence..." text
- Better user feedback during API calls

Multi-User Support:
- Add isPrimaryOwner and userCount to ResidenceWithTasks model
- Update iOS toResidences() extension to include new fields
- Sync with backend API changes for shared user access

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 10:51:51 -06:00
Trey t
492d8032f4 wip 2025-11-07 15:14:40 -06:00
Trey t
b922c4fb88 wip 2025-11-07 14:53:14 -06:00
Trey t
4e14352cd1 wip 2025-11-07 12:57:25 -06:00
Trey t
1b777049a8 wip 2025-11-07 12:21:48 -06:00
Trey t
66fe773398 wip 2025-11-06 17:53:41 -06:00
Trey t
e24d1d8559 wip 2025-11-06 09:25:21 -06:00
Trey t
e272e45689 wip 2025-11-05 21:35:52 -06:00
Trey t
a8083380aa wip 2025-11-05 20:52:51 -06:00
Trey t
bc289d6c88 wip 2025-11-05 20:31:01 -06:00
Trey t
fe99f67f81 wip 2025-11-05 19:21:46 -06:00
Trey t
6bad8d6b5a wip 2025-11-05 18:16:46 -06:00
Trey t
b2b8cc62de wip 2025-11-05 18:02:34 -06:00
Trey t
86c89121e1 ios ui refactor 2025-11-05 17:15:17 -06:00
Trey t
1d48a9bff1 wip 2025-11-05 15:15:59 -06:00
Trey t
5deac95818 wip 2025-11-05 13:52:02 -06:00
Trey t
2be3a5a3a8 wip 2025-11-05 10:38:46 -06:00
Trey t
78c62cfc52 Initial commit: Kotlin Multiplatform project setup
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 09:15:49 -06:00