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(study-tree-ui): fix folder loading #2325

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

smailio
Copy link
Contributor

@smailio smailio commented Jan 30, 2025

Add item loading mechanic. Currently the study tree display the folders from the initial study tree, and then display folder loaded dynamically if any. This is annonying for the user as a folder can move at the time he's clicking on it.

Replace onClickNode by onItemExpansionToggle. The onClick is only applied to the text part of the tree item and not the arrow part. This is confusing for the user as the subfolders aren't loaded when the user click on an arrow, and the user is stuck with a loading message.

Disable scan on default folder as this makes no sense. The front end call the api with invalid arguments which just returns an error.

@smailio smailio requested a review from hdinia January 30, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant