Skip to content

v1.5.32 — AI Prompt modal, dropdown fix, full context stack

Choose a tag to compare

@dompl dompl released this 23 Feb 13:27
· 20 commits to master since this release

What's new

Added

  • AI Prompt modal — "AI Prompt" button next to Generate with AI opens a popup where you describe the full email brief: visual feel, purpose, offer, number of sections, tone. Saved prompt is injected into every AI generation call for this session
  • Mandatory brief — clicking Generate with AI when no prompt has been written opens the modal automatically; you must fill in the prompt before generation proceeds

Fixed

  • Tone and language dropdowns broken — trigger buttons were using document-level event delegation, causing a sibling close-all handler to immediately re-close the menu on every click; now bound directly on the static elements so stopPropagation() works correctly

Changed

  • Full context stack — every Section Builder generation now sends: AI Trainer store description + AI Trainer product description + your AI Prompt brief, all merged into the OpenAI system prompt for strongly differentiated, on-brand output