-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Feature]: default new project template #564
Comments
A workaround I use is to have "template" sandboxes from which you then fork. The only drawback is that sometimes I open a "template" sandbox and forget to fork it, so I end up overwriting the template - it needs some getting used to, but overall it works. As an example, this is my simple Vue template. |
I think we could have the 'Mark as Template' functionality. Wouldn't be too
hard to build too.
…On Sun, Feb 18, 2018, 12:15 Bogdan Luca ***@***.***> wrote:
A workaround I use is to have "template" sandboxes from which you then
fork. The only drawback is that sometimes I open a "template" sandbox and
forget to fork it, so I end up overwriting the template, so it needs some
getting used to, but over all it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#564 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAj1CC83EoyJTkhXSSNsj1PcIAUepUakks5tWAYzgaJpZM4SJfOE>
.
|
So that when you open it, make changes and save, it should automatically fork it? |
@lbogdan This is exactly what I'm doing and exactly the problems i face with this approach. |
@CompuIves Sounds great, you will need a special "Edit Template mode" though. |
Yep, and we could also show all 'marked' as templates sandboxes when you open 'Create New Sandbox' modal 😄.
I think we could make a switch in the left bar, if it's on you can't edit, and if it's off you can. So if you want to make changes you'll need to turn the switch on and off. |
Is anyone working on this feature yet? |
I think this is the perfect time to start building this feature! No one started yet, so feel free to start @sag1v! I think what we need is a new switch in the Project sidebar, called 'Mark as template'. When you change the switch we should do a
The next step would be to add them to the |
@CompuIves Ok, i just started the process you can take a look. |
@CompuIves Did you take a look? let me know if this is going in the right direction... |
@sag1v Can you please create a PR for this, as it would be easier to follow? |
Hi, Thanks for this great tool.
Is there a way we can configure or create a default project snippet instead of the built in one?
For example, i often find myself editing the default react
App
component from a stateless component to aclass
component with astate
etc.I would love to configure my own starting template or maybe even have some snippets of code.
The text was updated successfully, but these errors were encountered: