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

Tree Component #318

Open
zhaopuming opened this issue Oct 8, 2024 · 2 comments
Open

Tree Component #318

zhaopuming opened this issue Oct 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@zhaopuming
Copy link

Hi Jason,

I'm using this library to create a simple demo ui, and found that there is no tree component right now.

I checked the source code of Zed, and found their ProjectPanel is a tree view, but is deeply coupled with project management.

Are you interested in developing a Tree component for more general uses?

In my scenario, a tree component should:

  1. Put in a sidebar
  2. Be able to expand and collapse
  3. on click of an entry, could switch to a different view in the main dock-area
@huacnlee
Copy link
Member

huacnlee commented Oct 8, 2024

This may not plan to do in recent months. I have written this library to used in our product. But we not need Tree, so it not a first priority.

@huacnlee huacnlee added the enhancement New feature or request label Oct 10, 2024
@zhaopuming
Copy link
Author

OK. I'll check the tree in Zed's ProjectPanel class and simplify it into a generalized widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants