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

Alert user to reload page on failed asset loading #509

Merged
merged 1 commit into from
May 8, 2023

Conversation

maxwofford
Copy link
Member

@maxwofford maxwofford commented May 7, 2023

This is the second part of #475 – if we do fail to load an asset, let's alert the user and ask them to refresh. Next step is to actually introduce retries to get these assets loading correctly!

@vercel
Copy link

vercel bot commented May 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
sinerider ✅ Ready (Inspect) Visit Preview May 7, 2023 7:31pm

@camdan-me
Copy link
Member

This doesn't seem to work if a load is hanging. I.E. if the loading gets stuck but the page is still in the "loading" state, the alert won't trigger until you click the stop loading button.

@maxwofford
Copy link
Member Author

@camdan-me which browser are you in? This worked for me on ff-dev and latest chrome on macos.

what's the "stop loading" button?

@camdan-me
Copy link
Member

camdan-me commented May 7, 2023

I'm on Edge. And I'm not sure what the word for the button would be, but it's the "x" that the reload button turns in to when a page is loading.
image

@polytroper polytroper merged commit ba5c497 into main May 8, 2023
@polytroper polytroper deleted the alert-user-to-reload-on-failure branch May 8, 2023 12:23
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.

3 participants