Skip to content

#435: show spinner indicating page is loading - #449

Open
djyotta wants to merge 16 commits into
sqlpage:mainfrom
djyotta:daniel/435-spinner-to-indicate-page-is-loading
Open

#435: show spinner indicating page is loading#449
djyotta wants to merge 16 commits into
sqlpage:mainfrom
djyotta:daniel/435-spinner-to-indicate-page-is-loading

Conversation

@djyotta

@djyottadjyotta commented Jun 23, 2024

Copy link
Copy Markdown
Contributor

Closes#435

@djyotta
djyotta marked this pull request as draft June 23, 2024 21:42
@djyotta

Copy link
Copy Markdown
ContributorAuthor

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

Comment threadexamples/official-site/sqlpage/sqlpage.yaml Outdated
@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
Copy Markdown
ContributorAuthor

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
Copy Markdown
Collaborator

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
Copy Markdown
ContributorAuthor

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 freeto 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

@djyotta@lovasoa