Skip to content

feat: add subject line preview in campaign builder#411

Draft
saurabhhhcodes wants to merge 1 commit into
Kuldeeep18:mainfrom
saurabhhhcodes:codex/subject-line-preview
Draft

feat: add subject line preview in campaign builder#411
saurabhhhcodes wants to merge 1 commit into
Kuldeeep18:mainfrom
saurabhhhcodes:codex/subject-line-preview

Conversation

@saurabhhhcodes

Copy link
Copy Markdown
Contributor

What changed

  • Added a live mobile inbox preview beneath the subject field in the campaign builder.
  • The preview updates as the subject line changes and shows a compact lock-screen style card.
  • Kept the behavior scoped to email steps so the editor stays lightweight.

Why

  • Long subject lines can get truncated in mobile inbox previews.
  • This helps contributors see the user-facing impact of the subject before sending.

Validation

  • git diff --check
  • node --check /tmp/campaign-builder-inline.js

Closes #398

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2747b833-2aa8-424c-963c-b1687580d222

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

LO-061 [Easy]: HTML Subject Line Preview in Template Editor

1 participant