Skip to content

Onboarding Design Experiment: Final fixes #6590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

mikescamell
Copy link
Contributor

@mikescamell mikescamell commented Aug 15, 2025

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

Description

This PR fixes several animation issues in the onboarding experience:

  1. Added proper handling for hiding the Buck magnifying glass animation when showing DaxIntroSearchOptionsCta
  2. Fixed the BB shield animating up as the text animation starts playing
  3. Fixed a bug where click listeners were being set before animations completed
  4. Improved animation cleanup when dialogs are dismissed to prevent memory leaks and visual glitches
  5. Added proper text initialization for dialog titles to prevent flashing empty content
  6. Ensured animations are properly canceled when clearing dialogs

Steps to test this PR

BB Fixes

  • Verify the shield does not move up as the text animation plays on the initial onboarding screen

Buck Fixes

  • Verify that the Buck magnifying glass animation properly hides when dismissing on new tabbing after "Try a Search"
  • Confirm that click listeners on search and site suggestion options only activate after animations complete. Tap them when they are not visible.
  • Test dialog dismissal to ensure all animations are properly cleaned up. This may or may not be consistent but is a best attempt.

UI changes

N/A

@mikescamell mikescamell requested a review from Copilot August 15, 2025 11:46
Copilot

This comment was marked as outdated.

…og opening

It would result in some parts of the content e.g. the primary CTA button being visible when the dialog was opened and used for a new CTA type.
@duckduckgo duckduckgo deleted a comment from Copilot AI Aug 15, 2025
@duckduckgo duckduckgo deleted a comment from Copilot AI Aug 15, 2025
@duckduckgo duckduckgo deleted a comment from Copilot AI Aug 15, 2025
@mikescamell mikescamell force-pushed the feature/mike/onboarding-test/final-fixes branch from a76b56d to 2666e96 Compare August 15, 2025 12:10
@duckduckgo duckduckgo deleted a comment from Copilot AI Aug 15, 2025
@duckduckgo duckduckgo deleted a comment from Copilot AI Aug 15, 2025
@mikescamell mikescamell requested a review from Copilot August 15, 2025 12:11
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses animation timing and cleanup issues in the onboarding experience to prevent visual glitches and improve user interaction reliability. The changes focus on proper animation sequencing and resource management.

Key changes:

  • Fixed animation timing by ensuring click listeners are only set after animations complete
  • Added proper animation cleanup and cancellation to prevent memory leaks
  • Improved handling of Buck magnifying glass animation hiding

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
BbWelcomePage.kt Initializes dialog title text to prevent empty content flashing
Cta.kt Implements proper animation cleanup, tracks animators, and delays click listener setup
BrowserTabFragment.kt Adds proper hiding of Buck magnifying glass animation for search options

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

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.

1 participant