Skip to content

Conversation

@olliethedev
Copy link
Collaborator

@olliethedev olliethedev commented Dec 17, 2025

Changes in this PR:

  • CMS plugin
cms-demo cms-demo-1 cms-demo-2

Note

Introduces a full CMS plugin (API, client routes/components, hooks) and integrates it across examples with new docs, e2e tests, UI primitives, and supporting fixes/updates.

  • CMS Plugin:
    • Backend API: Content types JSON-schema sync, CRUD endpoints, DB schema, and extensible hooks.
    • Client: Routes (/cms, /cms/:typeSlug, /cms/:typeSlug/:id/new), loaders/meta, ComposedRoute, localization/overrides (e.g., uploadImage, fieldComponents).
    • Hooks: Suspense and non-Suspense queries, infinite pagination/load-more, item-by-id/slug, create/update/delete.
    • UI: Dashboard, list, editor, file upload; CSS export.
  • UI Library Enhancements:
    • New AutoForm system + fields (input, number, textarea, checkbox, switch, date, select, radio, file).
    • Shared PageWrapper/PageLayout; new primitives: calendar/date-picker, popover, separator, table, checkbox, radio, toggle.
  • Examples Integration:
    • Next.js, React Router, TanStack: add CMS backend/client, type-safe schemas, example pages, style imports, custom file field overrides.
  • E2E Tests:
    • Playwright suites for CMS dashboard/list/editor, hooks example, image upload, custom fields; config updates and project inclusion.
  • Docs:
    • New docs/plugins/cms page and plugins index entry; sidebar meta update; AGENTS.md adds ComposedRoute + Suspense/error guidance; troubleshooting additions.
  • Other Changes:
    • Blog API: slug sanitization on create/update; client skeletons use shared UI; pages use shared PageWrapper.
    • AI Chat: fix edit flow race/overwrite; add data-testid to sidebar.
    • Build/Versioning: export CMS build entries; bump @btst/stack to 1.5.0.
    • Deps: upgrade zod to ^4.2.0 across workspace; lock/workspace updates; minor config tweaks.

Written by Cursor Bugbot for commit ea627a6. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Dec 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
better-stack-docs Ready Ready Preview, Comment Dec 18, 2025 5:41pm

@olliethedev olliethedev merged commit 5bb7b83 into main Dec 18, 2025
5 checks passed
@olliethedev olliethedev deleted the feat/cms-plugin branch December 18, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants