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

Import/Drag Solid Component(.jsx/.tsx) files directly from files storage into Playground. #39

Open
swise0 opened this issue Jul 12, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@swise0
Copy link

swise0 commented Jul 12, 2021

Feature Request..
Allow component files to be loaded and renamed automatically in a new tab when user drags and drop file(s) into the playground editor..

Also button to import them either in json format or file format (Level.jsx) in the nav menu should be nice 🙂..

Bonus.. Allow multiple files being dragged into code playground to be treated the same.. loaded automatically and renamed by their original component file names eg(Root.jsx)..

@amoutonbrady
Copy link
Member

That a nice idea.

This should not be too hard to implement if you take some inspirations from the JSON import/export.

I'm open to PR.

@amoutonbrady amoutonbrady added enhancement New feature or request good first issue Good for newcomers labels Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants