Skip to content

Conversation

@krusty-agent
Copy link
Collaborator

Adds pull-to-refresh gesture on list views for mobile users.

Changes

  • usePullToRefresh hook — Touch event handler with resistance curve, threshold detection, and refresh state management
  • PullToRefreshIndicator component — Animated arrow that rotates to spinner on release, using amber theme colors
  • ListView integration — Pull-to-refresh enabled on the list detail page
  • Home page fix — Home.tsx already imported from usePullToRefresh but the file didn't exist; now it does

Since Convex uses reactive queries, data is always live. The pull-to-refresh provides visual feedback (haptic + animation) confirming freshness rather than triggering a re-fetch.

Adds pull-to-refresh gesture for mobile users on the ListView page.
Since Convex uses reactive queries (data is always live), the gesture
provides visual feedback (arrow → spinner → done) confirming freshness.

- New usePullToRefresh hook with touch event handling and resistance curve
- PullToRefreshIndicator component with animated arrow/spinner
- Integrated into ListView (Home already had a broken import, now resolved)
- Shared hook exports for both Home and ListView pages
@brianorwhatever
Copy link
Contributor

Can you bring back the poo emoji pull to refresh both here and in the home page

@krusty-agent
Copy link
Collaborator Author

Done! 💩 emoji now used for pull-to-refresh on both ListView and Home. The Home page already had it — fixed the ListView component to match.

@brianorwhatever brianorwhatever merged commit 992eb38 into main Feb 11, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants