-
Notifications
You must be signed in to change notification settings - Fork 928
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
Onboarding Customisation Experiment #3003
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
dfccc9c
to
ff39553
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing that this is an experiment, and it's not sure that it will be permanent, I'd prefer that all modifications stay as contained as possible. That means, everything new, even colors and styles should stay in the app module. If and then this becomes permanent, then we follow the process of adding a new Component from ADS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
works as expected, leaving the UI discussion to the UI code owners 😁.
(Agree with David that new components should go through ADS standard process, however not clear if this is an established component atm. I assume we have some lint checks and that's why we put some colors inside common-ui, if that's the case, maybe we can do something similar to what we do with strings...have a separated file, or declare them under a comment that indicates they are not established. Just some thoughts)
app/src/main/java/com/duckduckgo/app/onboarding/ui/OnboardingViewModel.kt
Outdated
Show resolved
Hide resolved
...rc/main/java/com/duckduckgo/app/onboarding/ui/customisationexperiment/MultiselectListItem.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/duckduckgo/app/onboarding/ui/page/WelcomePage.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/duckduckgo/app/onboarding/ui/page/WelcomePage.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/duckduckgo/app/onboarding/ui/page/WelcomePageViewModel.kt
Show resolved
Hide resolved
private val command = Channel<Command>(1, DROP_OLDEST) | ||
internal fun commands(): Flow<Command> = command.receiveAsFlow() | ||
|
||
fun determineScreenOrientation() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include one test for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will 👌
…common-ui. Created a temp colors file too
d4bd59b
to
450079f
Compare
@malmstein following @cmonfortep suggestion I added a new resource file called @cmonfortep thanks a lot for all your feedback, I changed everything you suggested and added tests for portrait checks 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing the changes @nalcalag. Good work!
3315c87
to
6a7c383
Compare
Task/Issue URL: https://app.asana.com/0/72649045549333/1203826977705495/f
Description
Implement Onboarding Customisation experiment where experimental group will see an extra onboarding dialog with DDG feature options.
Steps to test this PR
Change all variants to 0 except for the
mj
variantNew multiselect dialog
Skip selecting options
Skip This Step
m_onboarding_option_skip
is firedContinue without options selected
Continue
buttonm_onboarding_option_skip
is firedContinue with options selected
Continue
buttonm_onboarding_option_selected
is firedUI changes
Screen_Recording_20230328_170114_DuckDuckGo.mp4