Skip to content

Onboarding Brand Design Update: Add in-context Trackers Blocked dialog v2#8565

Merged
mikescamell merged 5 commits into
developfrom
feature/mike/onboarding-brand-design-updates/contextual-trackers-blocked
May 14, 2026
Merged

Onboarding Brand Design Update: Add in-context Trackers Blocked dialog v2#8565
mikescamell merged 5 commits into
developfrom
feature/mike/onboarding-brand-design-updates/contextual-trackers-blocked

Conversation

@mikescamell
Copy link
Copy Markdown
Contributor

@mikescamell mikescamell commented May 14, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/1207908166761516/task/1214598065379691?focus=true

This was accidentally removed from develop.

See #8479 for description.


Note

Medium Risk
Changes onboarding CTA selection/rendering for the trackers-blocked flow and its interaction timing, which could affect when dialogs show and how the privacy shield highlight is triggered. Risk is mitigated by added unit tests around toggle behavior and pixel/dismissal side effects.

Overview
Routes the trackers blocked onboarding CTA to a new DaxTrackersBlockedBrandDesignUpdateContextualCta when the brand-design update is enabled, while keeping the legacy OnboardingDaxDialogCta.DaxTrackersBlockedCta path as fallback.

Fills in the previously-stubbed brand-design CTA to render the trackers-blocked description, apply a dedicated background, wire the primary button click, and trigger the post-typing callback used to mirror the legacy privacy-shield highlight behavior.

Adds a focused test suite covering toggle-based CTA selection plus pixel firing and dismissal persistence for the new CTA.

Reviewed by Cursor Bugbot for commit a1c4212. Bugbot is set up for automated code reviews on this repo. Configure here.

- base class onTypingAnimationSettled defaults to no-op so only
  DaxTrackersBlocked triggers the privacy-shield highlight, matching
  legacy single-CTA gating (C1)
- TrackersBlocked stub docstring reflects the no-op default (C2)
- hideOnboardingCta cancels the typing animation defensively (I3)
- base-class tests cover the empty-title branch and assert
  titleView.alpha on mid-animation tap-to-skip (I2)
- renamed rapidDoubleTap test to respectsAlreadySettledFlag (M1)
- Skill 2 preconditions table uses actual sentinel hint names (I1)
…xtual dialog

Populate the Stage-1 stub with the dynamic trackers description helper and
the onTypingAnimationSettled override, replace sentinels across
CtaViewModel and BrowserTabViewModel, and add the per-dialog unit test.
8 WebP variants (4 densities × light/dark) at 90% quality. Used by the
TrackersBlocked CTA and shared by MainNetwork and NoTrackers when their
banners land in subsequent stack branches.
@mikescamell mikescamell force-pushed the feature/mike/onboarding-brand-design-updates/contextual-trackers-blocked branch from c93d5b5 to a1c4212 Compare May 14, 2026 16:13
@mikescamell mikescamell merged commit df73250 into develop May 14, 2026
13 checks passed
@mikescamell mikescamell deleted the feature/mike/onboarding-brand-design-updates/contextual-trackers-blocked branch May 14, 2026 16:36
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