Skip to content

Add page pull-to-refresh functionality #2

@BillSteinUNB

Description

@BillSteinUNB

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:

  1. Home Screen - Refresh recent projects list and server connection status
  2. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions