Plenti CMS Devlog: Committing back to Repo
Jantcu
This is a Dev Vlog series where Plentico maintainers work on the git-backed CMS for the Plentico project (https://github.com/plentico/plenti). We are building in public, so feel free to watch along, ask questions, or even contribute if you're so inclined.
This video starts by reviewing a PR that consolidates the user object and leverages Svelte stores to avoid having to do full page refreshes during the login / logout cycles: https://github.com/plentico/plenti/pull/178
We then take a look at interacting with the GitLab API to make POST requests to commit to the remote repository. Jesse integrated Prose Mirror (https://prosemirror.net/) to allow a basic JSON editing interface for updating the "content" magic prop.
Finally we close with next steps:
- Error handling and warnings for users (e.g. trying to login to sites where they don't have repo access)
- Pulling the editor and commit workflow changes into the main Plenti repo
- Improvements to the content editing experience ... https://www.youtube.com/watch?v=n6SWBk-m5gM
224488005 Bytes