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

#435: show spinner indicating page is loading #449

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

djyotta
Copy link
Contributor

@djyotta djyotta commented Jun 23, 2024

Closes #435

@djyotta djyotta marked this pull request as draft June 23, 2024 21:42
@djyotta
Copy link
Contributor Author

djyotta commented Jun 23, 2024

@lovasoa can you take a look to see if it's ok in principle before I start on documentation?

@djyotta djyotta marked this pull request as ready for review June 26, 2024 05:24
The name of a [spinner](https://tabler.io/docs/components/spinners) (from tabler.io).
Default is "spinner-border".
Set to the empty string to disable the spinner - e.g. to display only progress
updates.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've noticed this whole approach doesn't work inside run_sql for some reason. So I should note that 'loader-start' component should be selected before descending into run_sql.

Copy link
Owner

Choose a reason for hiding this comment

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

Yes, run_sql is a function, it returns a single json value all at once, it can't stream its results.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought as much but didn't want to assume. It's good to have the clarification.

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.

Spinner to indicate page is loading
2 participants