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

Features folders suggestion #2

Open
ianitsky opened this issue Jun 18, 2019 · 3 comments
Open

Features folders suggestion #2

ianitsky opened this issue Jun 18, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@ianitsky
Copy link

Hi, I have a suggestion.

First, I love the rekit studio. Thanks for this.


To better organize myself, I like to create folders with the same component names as if they were child components.

Like this:

image

But in rekit-studio, these created folders are inside the Others folder.

Maybe if we could create folders with the same names of the components and make them integrate, it would be very interesting.

Like this:

image

I even tried to create the mod and do a PR, but I'm still not a master at react.

That's why Rekit helps me a lot.

Thanks

@supnate
Copy link
Collaborator

supnate commented Jun 19, 2019

Thanks @ianitsky for the suggestion, it's very reasonable. In React world, many components are created just used by their parent components for decoupling logic rather than reuse. So show them in a nested structure will be helpful.

In my mind this could be implemented as a Rekit plugin, and rather than creating a folder, I think this could be implemented by dependency analytics. If a component is only used by another component in the same folder, then show it as a child of the component. In the disk they are still in the same folder but in Rekit project explorer, they can be showed in group.

@supnate supnate added the enhancement New feature or request label Jun 19, 2019
@ianitsky
Copy link
Author

ianitsky commented Jun 19, 2019 via email

@supnate
Copy link
Collaborator

supnate commented Jun 20, 2019

Thanks @ianitsky , I will create a simple guide for start plugin development and update you here. Looking forward to your work:-)

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