Onboarding Brand Design Update: Add in-context End dialog#8484
Draft
mikescamell wants to merge 4 commits into
Conversation
This was referenced May 7, 2026
Contributor
Author
b7a3d2b to
a199fa5
Compare
0266f57 to
240a7ac
Compare
a199fa5 to
b3ba3e8
Compare
240a7ac to
791b81f
Compare
791b81f to
d72a13a
Compare
b3ba3e8 to
1a7b945
Compare
1a7b945 to
85dc129
Compare
d72a13a to
7e05a6a
Compare
7e05a6a to
2b3bc76
Compare
85dc129 to
0513f60
Compare
13 tasks
0513f60 to
b19e377
Compare
2b3bc76 to
5144b64
Compare
7 tasks
5144b64 to
0f32eba
Compare
b19e377 to
931d111
Compare
11 tasks
931d111 to
e20ae89
Compare
37837c3 to
aac9d44
Compare
e20ae89 to
7f403a9
Compare
aac9d44 to
89562a2
Compare
Populate the Stage-1 stub, replace both CtaViewModel sentinels (getBrowserCta + getEndStaticDialogCta), and add the per-dialog unit test. DaxEndCta has zero BrowserTabViewModel touchpoints so no sentinel replacement there.
…hen arm Three Stage 2 agents each replaced their own sentinel in the onOnboardingCtaOkButtonClicked when block, producing three sibling arms with byte-identical bodies. Re-collapse into a single arm with all six is labels (three legacy + three brand-design) sharing the body, matching the pre-migration fall-through shape and halving the maintenance surface. Flagged by integration review as the canonical cross-track parallel- edit artifact that no single Stage 2 review could have caught.
Reuses bg_onboarding_end, the drawable already shipped for the welcome bubble counterpart.
89562a2 to
09631cb
Compare
33bacde to
3d261b5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Task/Issue URL: https://app.asana.com/1/137249556945/project/1207908166761516/task/1214598047620091?focus=true
Description
Migrates the End contextual onboarding dialog ("You're all set!") to the new brand-design layout introduced in #8439, gated behind the
onboardingBrandDesignUpdatefeature flag — and closes out the in-context CTA migration started in this stack.With the flag on:
DaxEndCtapixel param assertions in tests so the brand-design path stays telemetry-equivalent to legacy.With this PR merged, all in-context dialogs (SERP, Trackers Blocked, No Trackers, Main Network, Fire Button, Site Suggestions, End) are migrated to the brand-design layout under
onboardingBrandDesignUpdate. No legacy / stub paths remain on the brand-design code path.Steps to test this PR
Designs
Please run all testing steps for in-context dialog changes — this PR is the canonical surface to test the full contextual flow end-to-end.
To see these changes patch (Linear onboarding flag included just for continuity)
UI changes
Screenshots
Note
Medium Risk
Updates onboarding CTA selection and UI wiring for the end-of-journey dialog, which could affect CTA sequencing or dismissal behavior in the in-context onboarding flow (though gated by a feature flag). No security- or data-sensitive logic is introduced.
Overview
Adds a fully implemented brand-design variant of the in-context End onboarding dialog (
DaxEndBrandDesignUpdateContextualCta), including background artwork, content binding, and primary button click wiring.Switches
CtaViewModelto return this new CTA when the brand-design flag is enabled (both for the static end dialog and the end-of-journey refresh path), and adds instrumentation tests to ensure the new CTA is selected and remains pixel-equivalent/marks itself read.Simplifies
BrowserTabViewModelby consolidating the trackers/no-trackers/main-network CTA OK-click handling into a single branch that transitions to the fire-dialog CTA.Reviewed by Cursor Bugbot for commit 09631cb. Bugbot is set up for automated code reviews on this repo. Configure here.