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

Subfolders Support #27

Closed
glegenty opened this issue Jan 16, 2020 · 6 comments
Closed

Subfolders Support #27

glegenty opened this issue Jan 16, 2020 · 6 comments

Comments

@glegenty
Copy link

Hi !
Do you plan to handle subfolders ?

@cocopon
Copy link
Owner

cocopon commented Jan 17, 2020

Currently I don't have a plan but I'm interested in the feature. Do you have any specific examples that can be shared?

@glegenty
Copy link
Author

glegenty commented Jan 17, 2020

For example when i'm working on a three.js scene i could have :

> Main-Pane
| - - -> Camera (folder)
|    | - - > Toggle (function)
|    | - - > Position (folder)
|        | - > x (slider)
|        | - > y (slider)    
|        | - > z (slider)
| - - -> 3D Object (folder)
|    | - - > Toggle (function)
|    | - - > Position (folder)
|    |    | - > x (slider)
|    |    | - > y (slider)    
|    |    | - > z (slider)    
      | - - > Rotation (folder)
          | - > x (slider)
          | - > y (slider)    
          | - > z (slider)    

@lavolpecheprogramma
Copy link

I'm interested too and thanks for your work!

@charlieroberts
Copy link

great library! I agree with this, I can't see a way to represent non-trivial 3D scenes without subfolders...

@miltoncandelero
Copy link

miltoncandelero commented Apr 16, 2020

Another (similar) usecase:

To represent the Stage of pixijs:

Stage
| -> Sprite (folder)
|      | -> Position (x,y)
|      | -> Scale (x,y)
| -> Container (folder)
|      | -> Position (x,y)
|      | -> Scale (x,y)
|      | -> Children (folder)
|             | -> Sprite (folder)
|             |      | -> Position (x,y)
|             |      | -> Scale (x,y)
|             | -> Container (folder)
|             |      | -> Position (x,y)
|             |      | -> Scale (x,y)
|             |      | -> Children (folder)
|             |             | -> Sprite (folder)
|             |             |      | -> Position (x,y)
|             |             |      | -> Scale (x,y)
|             |             | -> Sprite (folder)
|             |                    | -> Position (x,y)
|             |                    | -> Scale (x,y)
|             | -> Sprite (folder)
|                    | -> Position (x,y)
|                    | -> Scale (x,y)
| -> ...

edit: Also could work nicely some sort of "tree" component, but subfolders would do just that 😅

@cocopon
Copy link
Owner

cocopon commented Jun 11, 2020

Thank you for requesting the feature. Released in 1.4.0!

@cocopon cocopon closed this as completed Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants