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

Added boolean for whether queries are running #135

Conversation

dylanratcliffe
Copy link
Member

No description provided.

@dylanratcliffe dylanratcliffe linked an issue Oct 7, 2023 that may be closed by this pull request
@dylanratcliffe dylanratcliffe enabled auto-merge (squash) October 7, 2023 11:01
@dylanratcliffe
Copy link
Member Author

@getinnocuous This is the boolean that we discussed, you should be able to use this to determine if we should show the spinner or not

@getinnocuous
Copy link
Member

How does this get consumed? Does it require a call each time to get the value?

@dylanratcliffe
Copy link
Member Author

Given its a getter I'm not 100% sure how react will handle it. I'm hoping you can just bind session.queriesRunning to the UI and that's it, but it'll require testing

@dylanratcliffe
Copy link
Member Author

Hopefully it's smart enough to see the underlying value change and then change detection can handle it. If it doesn't work we can always do another event handler

@dylanratcliffe
Copy link
Member Author

Closing in favour of implementing it as an event listener in React

auto-merge was automatically disabled October 23, 2023 08:45

Pull request was closed

@dylanratcliffe dylanratcliffe deleted the 89-add-querystatus-messages-to-tracking-in-requestprogress branch October 23, 2023 09:00
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.

Add QueryStatus messages to tracking in RequestProgress
2 participants