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

Always check previews when refocusing the page #10546

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

NickM-27
Copy link
Sponsor Collaborator

If the browser got in a backgrounded state it would not acknowledge the setTimeout so previews would not be updated accordingly.

Instead of setting a long timeout, we should just check on each refocus of the window if there are new previews that should be pulled

Copy link

netlify bot commented Mar 19, 2024

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit 2683115
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/65fa0c6dc7ef4d00084b47c9
😎 Deploy Preview https://deploy-preview-10546--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hawkeye217 hawkeye217 merged commit f474bc4 into dev Mar 20, 2024
13 checks passed
@hawkeye217 hawkeye217 deleted the preview-reload branch March 20, 2024 03:16
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