Andrew Olson4,028 Points
Today we are introducing a new feature for Workspaces called Snapshots. Snapshots allow you to share your workspaces with others. When a snapshot is created, a unique link is generated that anyone can use to view your code.
A snapshot is a read-only version of your workspace at a particular point in time. You can create up to 5 snapshots per workspace. You can't edit a snapshot, but you can delete snapshots that are no longer used.
Snapshots are great for sharing a project that you've been working on or sharing a unique solution to a problem.
We also hope that snapshots will make it easier to ask questions about code on the forum. If you're having trouble with a piece of code, simply create a forum post about the problem you're having with a link to a snapshot.
To get started, create your first snapshot today!
- Launch any of your workspaces.
- Select the snapshot menu in the upper right corner.
- Click "Take Snapshot"
- Visit the link and share it with someone.
Take a look at a snapshot that I recently created: https://w.trhou.se/111xofa85d
Tim Holley8,464 Points
I see you say it's read only, but wondering if there is a way to view the workspace functioning. This would make it easier to understand when someone says a specific item doesn't look right, but all we can see is their code, not what they are visually seeing in the browser.
Gracias!! This will definitely ease some pain points. Thanks again!
amazing feature. wondered if you can actually share your preview with others aswell. Wanted to put a few stuff that l have done on my CV and link to it.
Matt Varner5,373 Points
Just in time, too. I was beginning to worry about permanently screwing up and not being able to roll back, now that I'm getting into more complex course material.
Awesome! Looking forward to the preview feature of Snapshots also.
Keep up the fantastic work everyone!
so awesome! Thanks!
Igor Demchenko1,433 Points
I used to take screenshots of tutorial vids and Workspace with my phone. Handy to review and re-think onTheGo, during the day.
Aleksandr Vinogradov12,113 Points
Hey, its cool ! The only question i have is whether its possible to preview the snapshot code. Seems like right now its give you just code without preview option.
Fantastic update! I love that this site is in an almost constant state up UX upgrading. This particularly will be very helpful.
Hopefully it's not something that will be overlooked by a lot of folks.
That's innovation!! Thanks a ton.
Felipe Alarcon2,930 Points
pretty cool but a nice feature for the future would be to run the snapshot directly without having to fork it, keep it up guys.
Ryan Sherry12,449 Points
This will be very helpful with showing my projects to my colleagues and friends who code. Thanks Treehouse! Keep being awesome!
Great update. It will help a lot; also in the forums when someone asks a question related to workspaces.
Randy Preising3,254 Points
Ok. I've taken my snapshot, but don't see where to "share" it. How do I do that?
I'm not sure what's happening. I think you might have shared it correctly, but the fork is not showing your files or content. When I fork it (which I was able to do this time), then click the preview link, it displays a page in the browser that says "Index of /" at the top, but there isn't anything else.
When I shared my link about a month ago, I copied and pasted the url from the window where I previewed my page. That may not be displaying correctly, either. I'm going to test what I think is the way they've designed the sharing feature--
There is a button in the workspaces view in the top right near the "preview" icon that looks like an eye. There are three of them in a row left to right: a suitcase looking one, one that looks like a branch, and then the eye. If you click on the suitcase a little drop down menu appears that says "Take Snapshot". You can take up to 5 snapshots. I'm going to test it by sharing a very rough sketch of a simple website. I just clicked on one of the links in the drop down menu under take snapshot. Here is the url https://w.trhou.se/ml5vwcnvsa Maybe this will work. It should have 2 folders and 5 html files. Thanks for following up.
Randy Preising3,254 Points
Weird. I went in again a few hours later and the workspace window that opened looked different. The original workspace didn't have a URL "window" on top. It was more like a modal pop-up. This time a "regular" window opened, and I was able to copy the URL.
I able to view the workspace you shared btw.
Sam Donald36,301 Points
Every time I follow a link to a Snapshot I get "Bummer...The Workspace Snapshot you are looking for doesn't exist."
Also when I try to share a Snapshot, I go to access it from the shared link and I get the same error. Even though I know it exists, because it's mine.
Does Snapshot not work anymore???