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

there is no visual indicator when running long queries on demand #28182

Closed
pieh opened this issue Nov 19, 2020 · 0 comments · Fixed by #28562
Closed

there is no visual indicator when running long queries on demand #28182

pieh opened this issue Nov 19, 2020 · 0 comments · Fixed by #28562
Assignees
Labels
type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement.

Comments

@pieh
Copy link
Contributor

pieh commented Nov 19, 2020

Description

As reported in #27620 (comment)

halts in navigation while browsing localhost without visual feedback can be jarring

With query on demand Gatsby will run the queries when user tries to navigate to a page, in case of heavier queries user doesn't get the that feedback that something is happening in background that browser is waiting for. Experience is just not great in cases like this.

For now with this feature being opt-in it's not blocking because user has explicitly decide to use it, so they can be aware of why this happen, but we do need a way to indicate that navigation (or first render) is not "stalled" or broken and that runtime is waiting for something

@pieh pieh added type: bug An issue or pull request relating to a bug in Gatsby topic: query on demand* labels Nov 19, 2020
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 19, 2020
@pieh pieh self-assigned this Nov 19, 2020
@pieh pieh added type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement. and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby labels Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant