Repository navigation
feat(cms): add Sveltia CMS admin with tests and CMS workflow - #17
Merged
Merged
Conversation
Static Sveltia CMS 0.266.0 admin in cms/public/admin (unpkg, SRI pinned), GitHub backend on comdotlinux/blog main with the editorial workflow (branch cms/posts/<slug> plus a PR per post), date-only pubDatetime and modDatetime, and omit_empty_optional_fields so modDatetime is never ''. Tests: unit (config.yml against the blog posts schema keys, golden outputs from Spike 1, admin page pins), integration and e2e smoke (Playwright against a static server), and compat-check.sh building the blog with the fixture. content-guard.sh rejects Markdoc tags, dropped file= fence labels and empty frontmatter values on post changes. .github/workflows/cms.yml adds cms-changes, cms-test, cms-compat and content-guard with fail-safe !cancelled() conditions. Claude-Session: https://claude.ai/code/session_01426xQEC2VhQSZVe7cBXuz5
Deploying blog with
|
| Latest commit: |
bbe9bc1
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://459e562e.blog-7qk.pages.dev |
| Branch Preview URL: | https://feat-cms-app.blog-7qk.pages.dev |
…stro preset The cms-test job installs only cms dependencies; Vite picked up the root tsconfig.json, which extends astro/tsconfigs/strict, and failed to load it. Claude-Session: https://claude.ai/code/session_01426xQEC2VhQSZVe7cBXuz5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the owner-only CMS: Sveltia CMS 0.266.0 as static files in
cms/public/admin/, to be served by a separate Cloudflare Pages projectblog-cmsatcms.blog.kulkarni.cloudbehind Zero Trust Access (Access app already created). Sveltia won the local bake-off against Keystatic on content fidelity (Keystatic wrote{% table %}, droppedfile=fence labels and rewrote existing bodies); evidence in the plan research notes.cms/public/admin/index.html(unpkg pin + SRI),config.yml(GitHub backend, editorial workflow, date-onlypubDatetime,omit_empty_optional_fields: true).src/content.config.tskeys, golden frontmatter), integration (admin and config served), e2e smoke (sign-in renders),scripts/compat-check.sh(blog renders table,file=label, callout, image, no{%),scripts/content-guard.sh..github/workflows/cms.yml:cms-changesfilter (fail-safe),cms-test,cms-compat,content-guard.cms/README.md: never use Sveltia Publish or Discard (they delete branches); merge or close post PRs on GitHub.Local: root gate green (lint 0, build 27 pages, unit 75, e2e 96, Lighthouse 99.7%); CMS checks green; negative checks fail as expected.
https://claude.ai/code/session_01426xQEC2VhQSZVe7cBXuz5