feat(editor): metadata panel, subject editing, and variable catalogue - #95
feat(editor): metadata panel, subject editing, and variable catalogue#95patoperpetua wants to merge 1 commit into
Conversation
…ogue Wire controlled metadata fields and a variable catalogue into EmailTemplateEditor working TemplateSourceFiles state so admins can edit key/name/description/subject and copy or insert placeholders without memorising variable names. Closes #44 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning Review limit reachedNext included review available in 39 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (15)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai full review |
|
Summary
MetadataPanel(key, name, description, subject; read-onlyschemaVersion) andVariableCatalogue(copy/insert, declare add/remove) to@singleton-sd/post-kit-editor.EmailTemplateEditorworkingTemplateSourceFilesstate beside the existing EmailBuilder canvas; subject supports cursor insert + live preview-data hint.keyinput to publisher-safe charset ([a-zA-Z0-9._-], not./..); clipboard copy degrades without throwing.Closes #44
Test plan
pnpm --filter @singleton-sd/post-kit-editor test(45 passing)pnpm --filter @singleton-sd/post-kit-editor buildkeywith/or spaces; insert{{name}}into focused subject; copy placeholderMade with Cursor