Skip to content

feat: add email notification toggle to DoneScreen#8796

Draft
edmonday wants to merge 26 commits intomainfrom
edmondshen/nes-1295-toggle-email-notifications-on-for-a-journey
Draft

feat: add email notification toggle to DoneScreen#8796
edmonday wants to merge 26 commits intomainfrom
edmondshen/nes-1295-toggle-email-notifications-on-for-a-journey

Conversation

@edmonday
Copy link
Contributor

@edmonday edmonday commented Mar 2, 2026

Summary

  • Make NotificationSwitch Tooltip conditional — only renders when name prop is provided
  • Add "Choose where responses go" section with email notification toggle to DoneScreen
  • Add tests for both components

Verification

  • pnpm run build: passed
  • NotificationSwitch.spec.tsx: 4/4 passed
  • DoneScreen.spec.tsx: 9/9 passed

Files changed

  • NotificationSwitch.tsx — conditional Tooltip rendering
  • NotificationSwitch.spec.tsx — new test for no-Tooltip case
  • DoneScreen.tsx — notification section UI
  • DoneScreen.spec.tsx — 3 new tests for notification section

Refs: NES-1295

edmonday and others added 5 commits March 2, 2026 04:04
Create ScreenWrapper component with responsive title/subtitle and
migrate all 6 customization screens to use it. Fixes MediaScreen
using wrong Typography variants and broken color prop.

Refs: NES-1364

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Eliminate the headerSx prop from DoneScreen, LanguageScreen, LinksScreen, and ScreenWrapper components to streamline the code. Update TextScreen to maintain consistent mobileSubtitle formatting.
Refs: NES-1295

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@linear
Copy link

linear bot commented Mar 2, 2026

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 2, 2026

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: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: b8279dd4-4abb-4b09-a4c9-78d9867679d3

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
  • Post copyable unit tests in a comment
  • Commit unit tests in branch edmondshen/nes-1295-toggle-email-notifications-on-for-a-journey

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.

❤️ Share

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2026

Fails
🚫 Please request a reviewer for this PR.

Generated by 🚫 dangerJS against ed64382

@edmonday edmonday self-assigned this Mar 2, 2026
@github-actions github-actions bot requested a deployment to Preview - journeys-admin March 2, 2026 22:51 Pending
@edmonday edmonday changed the base branch from main to edmondshen/nes-1364-media-screen-styling-changes March 2, 2026 22:51
@nx-cloud
Copy link

nx-cloud bot commented Mar 2, 2026

View your CI Pipeline Execution ↗ for commit 7ef0dd6


☁️ Nx Cloud last updated this comment at 2026-03-02 22:58:11 UTC

Base automatically changed from edmondshen/nes-1364-media-screen-styling-changes to main March 9, 2026 01:01
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.

1 participant