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

fix: do not render page while examples are loading #4768

Merged
merged 7 commits into from
Nov 22, 2024

Conversation

lucaseduoli
Copy link
Collaborator

This pull request includes changes to improve the handling of the useGetBasicExamplesQuery in the AppInitPage component. The most important changes include adding a retry mechanism to the query and ensuring that the LoadingPage and Outlet components are correctly displayed based on the fetching status of the examples.

Improvements to query handling:

Changes to AppInitPage component:

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 21, 2024
@lucaseduoli lucaseduoli self-assigned this Nov 21, 2024
@github-actions github-actions bot added the bug Something isn't working label Nov 21, 2024
@ogabrielluiz ogabrielluiz changed the title fix: not render page while examples are loading fix: do not render page while examples are loading Nov 21, 2024
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Nov 21, 2024
Copy link
Member

@Cristhianzl Cristhianzl left a comment

Choose a reason for hiding this comment

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

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 21, 2024
@Cristhianzl Cristhianzl enabled auto-merge (squash) November 22, 2024 18:05
@ogabrielluiz ogabrielluiz merged commit f440552 into main Nov 22, 2024
18 checks passed
@ogabrielluiz ogabrielluiz deleted the fix/examples_not_loading branch November 22, 2024 18:07
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
* Added check if examples load before loading all pages

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants