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
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.
aac9d44 to
89562a2
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
Moderate risk because it changes onboarding CTA selection/hand-off logic and introduces a new contextual dialog implementation gated by a feature flag, which could affect dialog transitions and telemetry if miswired.
Overview
Migrates the in-context onboarding End dialog to the brand-design contextual CTA path when
onboardingBrandDesignUpdateis enabled, returningDaxEndBrandDesignUpdateContextualCtafromCtaViewModel(both static end CTA and end-of-journey refresh).Implements the new
DaxEndBrandDesignUpdateContextualCtaUI wiring (brand layout include, background, description binding, primary CTA click handler) and consolidatesBrowserTabViewModel’s post-dialog OK handling so the trackers/no-trackers/main-network CTAs share a single Fire-dialog hand-off.Adds an Android test to assert the flag-gated CTA selection and that shown/ok/dismiss pixels and “mark as read” dismissal behavior remain correct for the new End CTA.
Reviewed by Cursor Bugbot for commit 89562a2. Bugbot is set up for automated code reviews on this repo. Configure here.