Skip to content

v0.7.9 - iOS Mobile Experience Improvements

Choose a tag to compare

@Th0rgal Th0rgal released this 14 Feb 17:38
· 2838 commits to master since this release

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.