Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: refreshing buoy data #2734

Open
mattboutet opened this issue Jan 10, 2024 · 1 comment
Open

Feature request: refreshing buoy data #2734

mattboutet opened this issue Jan 10, 2024 · 1 comment
Assignees

Comments

@mattboutet
Copy link

mattboutet commented Jan 10, 2024

When the Mariners site has been saved to the iOS home screen it will act as a web app and open without any of the Safari chrome:
image

This is great, but it means that there's no good way to get the data to update. It's necessary to either kill the app and relaunch or navigate away from the buoy data screen and then back and hope for a refresh that way. Edit, since this seems like it's not a universal behavior: this is happening for me on an iPhone 14 Pro and iOS 17.1.2

It would be great if the data either auto-updated, or if there was a way to manually force a refresh when the browser refresh button isn't present - pull-to-refresh seems like it'd be a great fit here, and I think that's relatively straightforward to implement in React.

@abkfenris
Copy link
Member

This may require some tweaking of React-Query, and it'll be worth testing how it interacts with Next.js.

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

No branches or pull requests

3 participants