Repository navigation
v0.7.9 - iOS Mobile Experience Improvements
iOS Mobile Experience Improvements
This release significantly improves the sandboxed.sh iOS mobile app experience.
π― Key Improvements
Historical Conversations
- β Historical conversations now load correctly when reopening the app
- β UserDefaults caching for instant display of previously viewed conversations
- β App lifecycle monitoring to catch missed SSE events when returning to foreground
User Interface
- β Conversations appear instantly at the bottom (no more jarring scroll animation)
- β Immediate scroll positioning for historical loads
- β Smooth, animated scroll only for new messages during active sessions
Thoughts Panel
- β Thoughts panel now displays thinking events (matching web dashboard behavior)
- β Added "thinking" event type to API requests
Bug Fixes
- π Fixed defer timing issue with isLoadingHistory flag
- π Fixed race conditions in reloadMissionFromServer
- π Fixed cached data visibility issue
- π Fixed animated scroll conflicts during history load
π¦ Version Updates
- iOS app: 1.0 β 1.1
- Backend: 0.7.8 β 0.7.9
π§ Technical Changes
- Implemented UserDefaults caching with `cacheMissionHistory()` and `loadCachedMissionHistory()`
- Added `scenePhase` monitoring for app lifecycle events
- Created `reloadMissionFromServer()` function for background-to-foreground transitions
- Added proper race condition guards checking `viewingMissionId` after async operations
- Replaced synchronous `defer` with async Task delay for state flag management
π Pull Request
Full details: #107
All changes reviewed and approved by Cursor Bugbot with all review threads resolved.