unovue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
5.36k stars 318 forks source link

[Feature]: Can it support trees? #407

Open qianmoQ opened 8 months ago

qianmoQ commented 8 months ago

Describe the feature

Recently, I was switching to the project https://github.com/devlive-community/datacap and found that tree was missing.

Additional information

zernonia commented 8 months ago

@qianmoQ can you elaborate more? What is the tree you are referring to? 😁

qianmoQ commented 8 months ago

@qianmoQ can you elaborate more? What is the you are referring to? 😁tree

Sorry, I didn't describe it clearly. What I mean is whether it can provide tree components. We are replacing datacap ui. This project uses a large number of tree components to render database-related library table relationships. Currently, we have not found any information included in the document. The tree component is installed, and the screenshot of the component is roughly as follows

image

robinsandstrom commented 8 months ago

Not sure if you solved this but we added some tree logic we build ourself with breadth first searches & normalizing/building-trees. By combining this with the taginput for example we got a multiple value select for hierarchies

qianmoQ commented 7 months ago

Not sure if you solved this but we added some tree logic we build ourself with breadth first searches & normalizing/building-trees. By combining this with the taginput for example we got a multiple value select for hierarchies

Currently I implement it by referencing other UI's tree components

ilovesusu commented 2 months ago

https://www.radix-vue.com/components/tree.html