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

Library editor: Show categories as a tree view #1362

Open
ubruhin opened this issue Apr 4, 2024 · 0 comments
Open

Library editor: Show categories as a tree view #1362

ubruhin opened this issue Apr 4, 2024 · 0 comments
Labels

Comments

@ubruhin
Copy link
Member

ubruhin commented Apr 4, 2024

SUMMARY

From https://librepcb.discourse.group/t/increase-librepcb-usability/722:

Both UI categories (component and package) should be treeviews not listviews. It should be made visible that a category is not a root category, but a child category. As it is now it is too confusing (am I the only one?). I solved this (for me) by only creating root categories in my library: “Integrated Circuits - Analog”, “Integrated Circuits - Digital”, etc. but a treeview would probably make more sense in the long run.

SOLUTION

Not easy to fix since a library usually contains only parts of the category tree, not all of them. Let's consider a category "A" is in library "L1", and its child "B" is in library "L2". If L2 is not installed and you open L1 in the library editor, the parent category of B is not available so it's impossible to render it correctly.

Maybe for such cases a virtual "Unknown" category could be displayed instead, probably we need to make some experiments to see what works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant