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

Adjust timeout for showcase screenshots #1158

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

jeremyfrank
Copy link
Contributor

Summary:

Adds the timeout option to the requestIdleCallback when getting screenshots for showcase sites.

Background:

After opening #1157, I added a site to withastro/roadmap#521 (comment), then ran the update-showcase script locally to see things run. The script timed out on the new site, due to requestIdleCallback not resolving. This probably has something to do with animations running on load and an idle state never being reached for this particular site.

Before After
image image

Copy link

vercel bot commented Jun 28, 2024

@jeremyfrank is attempting to deploy a commit to the Astro Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable — thanks @jeremyfrank!

Copy link

vercel bot commented Jun 28, 2024

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

Name Status Preview Comments Updated (UTC)
astro-build ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 1:51pm

@delucis delucis merged commit 619f333 into withastro:main Jun 28, 2024
4 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