epicweb-dev / epicshop

The workshop app for all workshops on EpicWeb.dev
https://www.epicweb.dev
Other
205 stars 33 forks source link

Automatically Save Playground Files for Course Progress #229

Closed larissapissurno closed 2 weeks ago

larissapissurno commented 2 weeks ago

I often take notes on playground files and noticed that manually saving them can be tedious. To streamline this, I've created a script that saves the playground into a new folder with the command npm run save-playground, making it easier to save progress throughout the course.

I have drafted a PR for this on epicweb-dev/advanced-react-patterns, but I guess it would be better to drop that on the workshop app.

Would this be helpful for others? Looking forward to your thoughts. Thanks in advance! 🙌

PR Link: https://github.com/epicweb-dev/advanced-react-patterns/pull/132/files

kentcdodds commented 2 weeks ago

Thanks for the suggestion! I've added a few preference to the /preferences route (you can find a link to this on your /account page) which will auto-save the playground each time you click "set to playground"

image
larissapissurno commented 2 weeks ago

awesome @kentcdodds, thx!