Skip to content

feat(react-email): useTitleTag flag on Preview component#3554

Merged
gabrielmfern merged 2 commits into
canaryfrom
feat/flag-to-hide-title-tag-in-preview
Jun 2, 2026
Merged

feat(react-email): useTitleTag flag on Preview component#3554
gabrielmfern merged 2 commits into
canaryfrom
feat/flag-to-hide-title-tag-in-preview

Conversation

@gabrielmfern
Copy link
Copy Markdown
Member

@gabrielmfern gabrielmfern commented Jun 2, 2026

Summary by cubic

Add a useTitleTag prop to the react-email Preview component to optionally disable rendering the title tag. Defaults to true; minor release.

Written for commit 35202e3. Summary will update on new commits.

Review in cubic

Signed-off-by: gabriel miranda <gabriel@resend.com>
@gabrielmfern gabrielmfern requested a review from dielduarte June 2, 2026 12:32
@gabrielmfern gabrielmfern self-assigned this Jun 2, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 2, 2026

🦋 Changeset detected

Latest commit: 35202e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
react-email Minor
@react-email/editor Patch
@react-email/ui Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 2, 2026

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

Project Deployment Actions Updated (UTC)
react-email Ready Ready Preview, Comment Jun 2, 2026 12:54pm
react-email-demo Ready Ready Preview, Comment Jun 2, 2026 12:54pm

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 2, 2026

Open in StackBlitz

npm i https://pkg.pr.new/react-email@3554

commit: 35202e3

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files

Confidence score: 4/5

  • This PR looks safe to merge overall; the only reported issue is a release-labeling mismatch rather than a runtime bug.
  • In .changeset/new-owls-walk.md, the bump should be minor instead of patch because adding useTitleTag to Preview is a backward-compatible feature, which can affect downstream versioning expectations.
  • Given the 4/10 severity and that impact is limited to semver/changeset classification, risk to functionality appears minimal.
  • Pay close attention to .changeset/new-owls-walk.md - ensure the changeset bump type reflects a new feature (minor).

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread .changeset/new-owls-walk.md Outdated
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

Auto-approved: This PR adds a simple optional useTitleTag prop to the Preview component that defaults to true, preserving existing behavior, and the lockfile changes are routine dependency resolution updates, so the blast radius and risk of breakage are very low.

Re-trigger cubic

@gabrielmfern gabrielmfern merged commit 16ff94c into canary Jun 2, 2026
18 of 19 checks passed
@gabrielmfern gabrielmfern deleted the feat/flag-to-hide-title-tag-in-preview branch June 2, 2026 12:55
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