-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Removed the experiment for the new default browser dialog for full release #1072
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
Removed the experiment for the new default browser dialog for full release #1072
Conversation
aaf432a to
d74b9f4
Compare
marcosholgado
left a comment
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.
Nice job. I left a few comments to rename tests and some methods and classes since we don't have an experiment or variants anymore. Other things to rename that are not in the PR are:
WelcomePageViewModelTesthasXpin the test names which will make no sense when renamingshouldShowExperiment.DefaultRoleBrowserDialogExperimenthas a method calledexperimentShownthat we should also rename to something likedialogShownor similar.VariantManagerhas the unused methodisAtLeastApiVersion
app/src/androidTest/java/com/duckduckgo/app/onboarding/ui/OnboardingPageManagerPageCountTest.kt
Outdated
Show resolved
Hide resolved
app/src/androidTest/java/com/duckduckgo/app/onboarding/ui/OnboardingPageManagerTest.kt
Outdated
Show resolved
Hide resolved
app/src/androidTest/java/com/duckduckgo/app/onboarding/ui/OnboardingPageManagerTest.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/duckduckgo/app/onboarding/di/WelcomePageModule.kt
Outdated
Show resolved
Hide resolved
46a263b to
712c88b
Compare
|
@marcosholgado thanks! I think I addressed all comments in the latest commit |
* Renamed DefaultRoleBrowserDialogExperiment -> DefaultRoleBrowserDialog * Renamed shouldShowExperiment -> shouldShowDialog * Renamed experimentShown -> dialogShown * Removed isAtLeastApiVersion * Removed references to browser dialog variant in tests
712c88b to
56f3cba
Compare
marcosholgado
left a comment
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! ![]()
|
Does this PR lead to a new OOBE? |
@Cyberdroid1, If by OOBE you mean out of the box experience then the answer is yes. |
|
Yes, I mean the out of box experience. I would be looking forward to it! |
Task/Issue URL: https://app.asana.com/0/414730916066338/1199628713920165/f
Tech Design URL:
CC: https://app.asana.com/0/1142021229838617/1199633113249889/f
Description:
After the successfull experiment, see https://app.asana.com/0/0/1199361498013999/f, this PR:
zuandztvariantsDefaultRoleBrowserDialogExperiment#shouldShowExperimentto remove the variant checkOnboardingPageManagerWithTrackerBlockingto remove the variant check and to ensure it shows when the "new Chrome default browser dialog" does notSteps to test this PR:
==Test case 1==
Device API >=29
==Test case 2==
==Test case 3==
==Test case 4==
Internal references:
Software Engineering Expectations
Technical Design Template