Skip to content

feat(mobile): pull-to-refresh to pick up new deploys (#28) - #66

Merged
gnacho merged 1 commit into
mainfrom
feat/28-pull-refresh
Aug 12, 2026
Merged

gnacho merged 1 commit into
mainfrom
feat/28-pull-refresh

Conversation

@gnacho

@gnacho gnacho commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Pull-to-refresh on mobile to pick up new deploys without reopening

Ports the PullToRefresh pattern already shipped in Keynest (issue keynest
#79): pulling down from the top of the page reloads the current view, so a
freshly deployed build is picked up without closing and reopening the app.

  • Only activates when window.scrollY <= 0 and the gesture is a vertical
    pull from the top (does not interfere with native overscroll or the app's
    own scrollable lists).
  • Threshold of 70px: short pulls just bounce back, long pulls reload.
  • Desktop is unaffected (touch listeners only).
  • Wraps the <main> content in AppLayout.

Verified with Playwright on a mobile viewport (390x844, real touch via CDP):
short pull does not reload, long pull reloads; 0 page errors.

Closes #28

@gnacho
gnacho merged commit 2b8249f into main Aug 12, 2026
4 checks passed
@gnacho
gnacho deleted the feat/28-pull-refresh branch August 12, 2026 08:33
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.

Pull-to-refresh on mobile to pick up new deploys without reopening

1 participant