Objective
Ship a complete embeddable EmailTemplateAdmin React page in @singleton-sd/post-kit-editor so consumers mount one component and only wire list/save/send-test callbacks. The canvas must match the official EmailBuilder.js playground UX (MUI inspector + samples), not the current skinny hand-rolled canvas.
Locked decisions
- Hosting: embeddable package component only (not a PostKit-hosted
apps/ CMS).
- Canvas: port
usewaypoint/email-builder-js examples/vite-emailbuilder-mui (inspector, samples drawer, template panel).
- Boundary unchanged: no API keys in the browser; no disk/Git/Azure I/O inside the package; save/send remain consumer callbacks.
Target consumer API
import { EmailTemplateAdmin } from '@singleton-sd/post-kit-editor';
<EmailTemplateAdmin
templates={catalog}
onSave={saveToConsumerApi}
onSendTest={postSendTestToBff}
/>
Work
Out of scope
- Hosted multi-tenant CMS under
apps/
- Real GitHub App / consumer SSO inside the package
- Changing compile/publish/Blob contracts (
template.json remains EmailBuilder JSON)
Acceptance criteria
- A consumer can mount
EmailTemplateAdmin and get list + EmailBuilder playground-quality canvas + PostKit metadata/preview/save/send without rebuilding admin chrome.
- Existing
EmailTemplateEditor / EmailBuilderCanvas remain exported for advanced hosts.
- Docs and
examples/admin-editor default to the one-component model.
Objective
Ship a complete embeddable
EmailTemplateAdminReact page in@singleton-sd/post-kit-editorso consumers mount one component and only wire list/save/send-test callbacks. The canvas must match the official EmailBuilder.js playground UX (MUI inspector + samples), not the current skinny hand-rolled canvas.Locked decisions
apps/CMS).usewaypoint/email-builder-jsexamples/vite-emailbuilder-mui(inspector, samples drawer, template panel).Target consumer API
Work
post-kit-editor; swap default canvasEmailTemplateAdminpage (list + PostKit chrome + new canvas); export + ThemeProviderexamples/admin-editor+ editor-integration docs to one-component embeddingOut of scope
apps/template.jsonremains EmailBuilder JSON)Acceptance criteria
EmailTemplateAdminand get list + EmailBuilder playground-quality canvas + PostKit metadata/preview/save/send without rebuilding admin chrome.EmailTemplateEditor/EmailBuilderCanvasremain exported for advanced hosts.examples/admin-editordefault to the one-component model.