forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Summary
Add pull-to-refresh support to allow users to manually refresh content by pulling down on the screen.
Context
A TestFlight user requested the ability to refresh the page/content. On mobile apps, pull-to-refresh is a standard pattern that allows users to:
- Refresh the current view to get updated data
- Re-establish connection to the server
- Reload recent projects list
- Force refresh of session content
Current Behavior
Currently, the app doesn't have any pull-to-refresh mechanism. Users must manually navigate or wait for automatic updates.
Proposed Implementation
Consider adding pull-to-refresh to:
- Home Screen - Refresh recent projects list and server connection status
- Session Screen - Refresh file content, chat history, or re-sync with server
This should be a native mobile gesture that feels natural on iOS (and future Android port).
Technical Considerations
- Use platform-native pull-to-refresh components
- Show appropriate loading indicator during refresh
- Handle refresh failures gracefully (show error toast, allow retry)
- Consider whether refresh should auto-close any open dialogs or panels
Labels
- enhancement
- ux-improvement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels