feat(engagement): GE 217 design updates and feature flag cp-7.80.0#30985
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
| inProd: false, | ||
| productionDefault: { | ||
| enabled: false, | ||
| minimumVersion: '7.99.0', |
There was a problem hiding this comment.
Why are you setting it to 7.99? Shouldn't it be 7.81 since it's only impacting tests?
There was a problem hiding this comment.
This is the production default, which is a disabled state, so I don't think it really matters.
baptiste-marchand
left a comment
There was a problem hiding this comment.
LGTM. I'll approve once the CI passes
edbc524 to
f7e862e
Compare
Adds a new version-gated feature flag selector `selectPrePushPromptEnabled` under a new `engagement/` folder in `featureFlagController/` selectors. The folder is scoped for engagement-related flags and follows the same `validatedVersionGatedFeatureFlag` pattern as `brazeBannerHome`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… flag When the `prePushPromptMinVersion` feature flag is OFF (default), suppress the soft pre-push prompt sheets. If the user is eligible for the push_permission variant, the canonical `useEnableNotifications` path still requests native OS push permission directly (preserving pre-feature behavior). The `marketing_consent` prompt is simply suppressed. `PushNotificationOnboardingRoot` is now a thin gate: it waits for remote flags to load (`selectRemoteFeatureFlagsLoaded`, based on `cacheTimestamp > 0`) before choosing between the existing `PushNotificationOnboardingRootContent` (flag ON) and the new `PushNotificationPermissionFallback` (flag OFF). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Replace inline NotifCard with a shared NotifCard component that has a gradient border and dark outer container - Add close (X) button to NewUserSheet and ExistingUserSheet - ExistingUserSheet: add notification preview card, remove consent card, make both buttons Primary - NewUserSheet: reduce to single preview card, rename CTA to "Enable notifications", change "Not now" to Tertiary variant - Update copy for new_user body and existing_user body Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Extract shared NotifCard with fading border overlay (MaskedView + LinearGradient), bg-muted icon container, and BodyXs text - Add close button (ButtonIcon Lg) to both sheets, positioned near top-right edge outside content padding - Align sheet layout: px-6 for NotifCard area, px-4 for text/buttons, pt-2 top padding - Bump sheet title from HeadingMd to HeadingLg - Hardcode selectPrePushPromptEnabled to true for local testing (TODO: revert) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes the local-testing hardcode that forced the flag to true. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… spec Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ire selector Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…omptEnabled Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This reverts commit ca1ebab.
…s in push onboarding sheets Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3c4d05a to
9809cdb
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: The PR introduces:
E2E Impact Analysis:
Not selected:
Performance Test Selection: |
joaoloureirop
left a comment
There was a problem hiding this comment.
platform changes lgtm
Description
Revises the push notification onboarding UI (NewUserSheet, ExistingUserSheet) to match updated Figma specs — adjusting typography, spacing, icon alignment, and close button positioning. Gates the pre-push prompt behind the
prePushPromptEnabledremote feature flag, which enables/disables the sheet based on a minimum app version. Registers the flag in the feature flag registry and wires the selector to read from it.Changelog
CHANGELOG entry: Update push notification onboarding sheets with revised designs and wire pre-push prompt behind a remote feature flag
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
IOS

ANDROID

Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist