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

feat: Add loading state and skeleton UI for FlowPage sidebar #6738

Merged
merged 9 commits into from
Feb 21, 2025

Conversation

deon-sanchez
Copy link
Collaborator

@deon-sanchez deon-sanchez commented Feb 20, 2025

This pull request introduces several enhancements to the FlowPage component and its subcomponents to improve the loading state handling and user interface. The most important changes include adding a loading skeleton, refactoring components to accept a loading state, and updating the FlowPage to manage and pass down this state.

Enhancements to Loading State and UI:

Refactoring for Loading State:

BUG (clicking bundles and categories will break the app)

Screenshot 2025-02-20 at 2 34 08 PM

FIX (hides all clickable items in sidebar)

Screenshot 2025-02-20 at 3 07 25 PM

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 20, 2025
@deon-sanchez deon-sanchez self-assigned this Feb 20, 2025
@dosubot dosubot bot added the enhancement New feature or request label Feb 20, 2025
@deon-sanchez deon-sanchez changed the title feat: Add loading state and skeleton UI for FlowPage sidebar [LFOSS-609]: Add loading state and skeleton UI for FlowPage sidebar Feb 20, 2025
@github-actions github-actions bot added the lgtm This PR has been approved by a maintainer label Feb 20, 2025
@ogabrielluiz ogabrielluiz changed the title [LFOSS-609]: Add loading state and skeleton UI for FlowPage sidebar feat: Add loading state and skeleton UI for FlowPage sidebar Feb 21, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 21, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 21, 2025
Copy link
Collaborator

@mfortman11 mfortman11 left a comment

Choose a reason for hiding this comment

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

Nice add! Just a couple optional changes

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 21, 2025
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

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 21, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 21, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 21, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 21, 2025
@ogabrielluiz ogabrielluiz added lgtm This PR has been approved by a maintainer and removed lgtm This PR has been approved by a maintainer labels Feb 21, 2025
@deon-sanchez deon-sanchez added this pull request to the merge queue Feb 21, 2025
Merged via the queue into main with commit feff8b6 Feb 21, 2025
25 of 26 checks passed
@deon-sanchez deon-sanchez deleted the lfoss-609 branch February 21, 2025 19:09
tianzhipeng-git pushed a commit to tianzhipeng-git/langflow that referenced this pull request Feb 22, 2025
…w-ai#6738)

* feat: Add loading state and skeleton UI for FlowPage sidebar

* fix: Improve UI components with minor styling and z-index adjustments

* refactor: Simplify SkeletonGroup component and update FlowPage sidebar loading state

* refactor: Adjust SkeletonGroup rendering and FlowPage sidebar styling

* refactor: Remove z-index from PageComponent loading state

* refactor: Update FlowPage sidebar skeleton height class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants