Skip to content

Onboarding Brand Design Update: Add in-context Site Suggestions dialog v2#8564

Merged
mikescamell merged 4 commits into
developfrom
feature/mike/onboarding-brand-design-updates/contextual-site-suggestions
May 14, 2026
Merged

Onboarding Brand Design Update: Add in-context Site Suggestions dialog v2#8564
mikescamell merged 4 commits into
developfrom
feature/mike/onboarding-brand-design-updates/contextual-site-suggestions

Conversation

@mikescamell
Copy link
Copy Markdown
Contributor

@mikescamell mikescamell commented May 14, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/task/1212699268790181

Was removed from develop.

See #8483 for description and details


Note

Medium Risk
Updates onboarding CTA selection and renders a new in-context site-suggestions dialog, which could affect onboarding flow and CTA telemetry if view wiring or toggles behave unexpectedly.

Overview
Switches the brand-design onboarding path for the site suggestions dialog to return DaxSiteSuggestionsBrandDesignUpdateContextualCta (instead of the legacy DaxSiteSuggestionsCta) and wires it into the browser query handling so custom visit-site pixels still fire.

Implements the previously-stubbed DaxSiteSuggestionsBrandDesignUpdateContextualCta UI (layout include, background, title/description, 4 option buttons, and click callbacks via setOnOptionClicked) and adds a test ensuring the brand-design toggle returns the new CTA and that shown/ok/dismiss pixels continue to fire with the expected params.

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

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b7e3dc9. Configure here.

Comment thread app/src/main/java/com/duckduckgo/app/cta/ui/CtaViewModel.kt
…xtual dialog

Populate the Stage-1 stub with options binding
(onboardingStore.getSitesOptions) and the options-variant content layout,
replace sentinels across CtaViewModel and BrowserTabViewModel, and add
the per-dialog unit test.
8 WebP variants (4 densities × light/dark) at 90% quality.
CtaViewModel gained this constructor dependency on develop. Adds the
mock to DaxSiteSuggestionsBrandDesignUpdateContextualCtaTest to fix
the broken unit test compilation on this branch.
@mikescamell mikescamell force-pushed the feature/mike/onboarding-brand-design-updates/contextual-site-suggestions branch from b7e3dc9 to f7e78f8 Compare May 14, 2026 15:52
@mikescamell mikescamell merged commit 3daab5c into develop May 14, 2026
14 checks passed
@mikescamell mikescamell deleted the feature/mike/onboarding-brand-design-updates/contextual-site-suggestions branch May 14, 2026 16:06
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