stackblitz / tutorialkit

TutorialKit by StackBlitz - Create interactive tutorials powered by the WebContainer API
https://tutorialkit.dev
MIT License
504 stars 48 forks source link

Adding new files in the file tree #340

Closed rainmakersumit closed 2 months ago

rainmakersumit commented 2 months ago

Is your feature request related to a problem?

When creating tutorials, we may work on projects where it's beneficial to give users the option to add new files directly in the editor to keep the codebase modular. This is why this feature is particularly useful.

Describe the solution you'd like.

The solution is simple. There can be two icons inside the editor to add new file and folder.

Describe alternatives you've considered.

No alternative

Additional context

No response

AriPerkkio commented 2 months ago

Duplicate of https://github.com/stackblitz/tutorialkit/issues/263.

This was implemented in https://github.com/stackblitz/tutorialkit/pull/314 but is not yet released. We are planning to release this soon though, in 1-2 weeks I think. First we need to finish couple of other features, like https://github.com/stackblitz/tutorialkit/pull/336.

tk-filetree-example.webm