simplajs / simpla

Open, modular, and serverless content management for a modern web
https://www.simplajs.org
MIT License
527 stars 36 forks source link

Add revision history and draft support API #81

Open madeleineostoja opened 6 years ago

madeleineostoja commented 6 years ago

I'm submitting a

Feature request

Description

Now that Simpla uses Github as a backend, we have full version control baked in. We should create a JS API for navigating and restoring a past revision.

We should also create an API for saving as a draft, rather than publishing straight to master. Under the hood this would just create a branch and open a PR on the underlying repo.

Notes