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

support ChildrenExist prop in schema tree #1836

Open
adameat opened this issue Jan 17, 2025 · 1 comment
Open

support ChildrenExist prop in schema tree #1836

adameat opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
area/ux Issues to improve UX. Mainly research follow-ups size/m

Comments

@adameat
Copy link
Member

adameat commented Jan 17, 2025

  1. we should never expand a tree element and display "No data" for a child with no children - just reset its state to non-openable.
  2. for every children there is could be a property called "ChildrenExist"

Image

and I suggest the following logic:

a) if it doesn't exist - work like before (like in n.1)
b) if it does exist and false - disable opening the tree element
c) if it does exist and true - show toggle to allow opening it (but ready to fall back to n.1)

@adameat adameat added the area/ux Issues to improve UX. Mainly research follow-ups label Jan 17, 2025
@antonkovalenko
Copy link
Member

antonkovalenko commented Jan 20, 2025

In versions without grandchildren nodata sign might be removed
> and loader must remain as they are

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ux Issues to improve UX. Mainly research follow-ups size/m
Projects
None yet
Development

No branches or pull requests

3 participants