Plenti CMS Devlog (ep 21): Adding Content
Jantcu
This is a Dev Vlog series where Plentico (https://plenti.co) maintainers work on the git-backed CMS for the Plenti 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.
New features:
- Gathering allBlueprints
- Minification of JS assets and --minify flag for CLI
- Uploads persist to gallery and can be downloaded
- New /add/type routes only available to authenticated users (potentially being changed to #add-type)
Bugs:
- Updating content.filepath from add_content.svelte (triple firing in visual_editor.svelte)
- Reseting filename and blueprint.fields when adding additional content
- Remove "assets" folder showing up as filter (potentially other baseurl issues as well)
Future features
- Completely disabling CMS and not loading it into build with --cms=false flag
- GitLab commit API: Update if file exists, else Create (needed for themes and adding content)
- Only add WYSIWYG when @html is used
- Local CMS workflow
- Ability to replace images directly when editing content
- Image crop / scale / optimization based on existing image
- Defined components for JSON arrays (and other field schema like required fields, select lists, etc)
GitLab Commit API: https://docs.gitlab.com/ee/api/commits.html ... https://www.youtube.com/watch?v=cIzegsagumw
2022-06-08
0.01870715 LBC
Copyrighted (contact publisher)
101300313 Bytes