Skip to content

Dialog component for the onboarding design experiment #6157

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

Merged
merged 1 commit into from
May 29, 2025

Conversation

lmac012
Copy link
Contributor

@lmac012 lmac012 commented May 29, 2025

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

Description

This PR adds new dialog component for use in the upcoming onboarding design experiment.

Steps to test this PR

QA-optional

No UI changes

Copy link
Contributor Author

lmac012 commented May 29, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@lmac012 lmac012 requested a review from mikescamell May 29, 2025 07:46
@lmac012 lmac012 marked this pull request as ready for review May 29, 2025 07:46
@mikescamell mikescamell requested a review from Copilot May 29, 2025 08:12
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 introduces a new dialog component for the onboarding design experiment by adding appropriate color attributes, theming items, a background drawable, and a custom view implementation with entrance animations.

  • Added new XML attributes and colors in temp_colors.xml.
  • Updated theming in design-system-theming.xml to reference the new dialog background colors.
  • Created a new drawable and a Kotlin view (BuckOnboardingDialogView) with entrance animations for the onboarding dialog.

Reviewed Changes

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

File Description
common/common-ui/src/main/res/values/temp_colors.xml Introduces new color attributes for the onboarding dialog background
common/common-ui/src/main/res/values/design-system-theming.xml Updates theming items to use the new dialog background colors
app/src/main/res/drawable/background_buck_onboarding_dialog.xml Provides the drawable shape using the new background attribute
app/src/main/java/com/duckduckgo/app/onboarding/ui/page/BuckOnboardingDialogView.kt Implements the dialog view with entrance animations

Copy link
Contributor

@mikescamell mikescamell left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@lmac012 lmac012 merged commit 3fb340e into develop May 29, 2025
8 checks passed
@lmac012 lmac012 deleted the feature/lukasz/onboarding-dialog-view branch May 29, 2025 08:23
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