yuguang / fiddlesalad

An online playground with an instantly ready coding environment. Combine language preprocessors, CSS, HTML and JavaScript to create and share coding examples.
fiddlesalad.com
GNU General Public License v3.0
232 stars 80 forks source link

Saving/cloning a fiddle #17

Closed eldrgeek closed 11 years ago

eldrgeek commented 11 years ago

First, let me say that I think that fiddlesalad is brilliant!

Second: I'd like to clone an existing project, but did not see a way to do it.

I added a new project from the dashboard, then went back to the dashboard and never saw it. So I'd like a way to save it.

Can you point me to a doc that will help me out. If such does not exist, I'd be happy to write it if you tell me what the magic is.

yuguang commented 11 years ago

To add a clone command/link in the dashboard, a view similar to save need to be added to https://github.com/yuguang/django-cloud-ide/blob/master/cloud_ide/fiddle/views.py. The difference would be that the view wouldn't do as much validation and it would return an html response that renders the dashboard. A button could also be added in the IDE interface, taking the url as the argument to identify the project.

On Sun, Feb 17, 2013 at 1:18 PM, EmbeddedMike notifications@github.comwrote:

First, let me say that I think that fiddlesalad is brilliant!

Second: I'd like to clone an existing project, but did not see a way to do it.

I added a new project from the dashboard, then went back to the dashboard and never saw it. So I'd like a way to save it.

Can you point me to a doc that will help me out. If such does not exist, I'd be happy to write it if you tell me what the magic is.

— Reply to this email directly or view it on GitHubhttps://github.com/yuguang/fiddlesalad/issues/17.

eldrgeek commented 11 years ago

Thanks for the response. I finally found the save button. My browser and font size was such that it was hidden. Might be better to put the button at the top and gray it out until the minimal requirements for saving are met, which I would suggest is just a name for the project.

yuguang commented 11 years ago

I'm not planning on putting a button at the top.