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

Examples browser cleanup #185

Merged
merged 5 commits into from
Jan 9, 2024
Merged

Conversation

sebjulliand
Copy link
Contributor

@sebjulliand sebjulliand commented Jan 7, 2024

I noticed that the Examples browser looped when loading if no SQL job was started, because loading the Services called refresh which in turn called getChildren...and if the Services are still undefined (because no SQL job), then it loops.

So this PR fixes that. Loading the Services example doesn't call refresh anymore (it wasn't needed in the first place), and an information item is displayed under the Service folder to ask for an SQL job.

A Reload was added to the browser to allow to reload the Services example if needed.

The Examples are now sorted alphabetically and their icon is the SQL file's.

@worksofliam worksofliam self-assigned this Jan 7, 2024
Copy link
Contributor

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

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

Cool - this logic is much easier to follow. Thanks @sebjulliand!

@worksofliam worksofliam merged commit 8df50db into codefori:main Jan 9, 2024
1 check failed
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