shadcn-vue icon indicating copy to clipboard operation
shadcn-vue copied to clipboard

[Feature]: Can it support trees?

Open qianmoQ opened this issue 1 year ago • 6 comments
trafficstars

Describe the feature

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

Additional information

  • [ ] I intend to submit a PR for this feature.
  • [ ] I have already implemented and/or tested this feature.

qianmoQ avatar Mar 12 '24 19:03 qianmoQ

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

zernonia avatar Mar 18 '24 09:03 zernonia

@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

qianmoQ avatar Mar 19 '24 04:03 qianmoQ

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

robinsandstrom avatar Apr 05 '24 12:04 robinsandstrom

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

qianmoQ avatar Apr 07 '24 03:04 qianmoQ

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

ilovesusu avatar Oct 03 '24 11:10 ilovesusu