-
Notifications
You must be signed in to change notification settings - Fork 429
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
Alessandro/onboarding add to dock experiment setup #3679
Alessandro/onboarding add to dock experiment setup #3679
Conversation
Task/Issue URL: https://app.asana.com/0/1206329551987282/1208258905717852/f **Description**: This PR removes the onboarding experiment branches and sets the onboarding highlights and contextual dialogs for all the users.
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.
Great Job
.onReceive(NotificationCenter.default.publisher(for: UIApplication.didEnterBackgroundNotification), perform: { _ in | ||
isPlaying.wrappedValue = false | ||
}) | ||
.onReceive(NotificationCenter.default.publisher(for: UIApplication.didBecomeActiveNotification)) { _ in | ||
isPlaying.wrappedValue = true | ||
} |
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 thinking!
…foreground after backgrounding it
0d135e6
to
c8d2e97
Compare
|
@SabrinaTardio as per our discussion instead of opening another PR I followed your advice and changed the main target branch to be main |
…ild-number # By Alessandro Boron (1) and Sabrina Tardio (1) # Via GitHub * main: add fake experiment (#3688) Alessandro/onboarding add to dock experiment setup (#3679) # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Task/Issue URL: https://app.asana.com/0/1206329551987282/1208662187851716/f
Description:
This PR setup the Add to Dock experiment to be prompted from the onboarding flow.
The commits are self-contained. The PR includes a small cleanup of unused onboarding variables (last commit). You can review that one separately to avoid polluting the overall review
Steps to test this PR:
Scenario 1 - Present Add to Dock from linear onboarding
return VariantIOS(name: "mk", weight: 1, isIncluded: VariantIOS.When.notPadDevice, features: [.addToDockIntro])
inDefaultVariantManager
->selectVariant() -> Variant?
at line 155.return true
inHomeRowReminder
->func showNow() -> Bool
at line 55 (after the variant check)Scenario 2 - Add to Dock is presented from contextual onboarding
return VariantIOS(name: "mo", weight: 1, isIncluded: VariantIOS.When.notPadDevice, features: [.addToDockContextual])
inDefaultVariantManager
->selectVariant() -> Variant?
at line 155.return true
inHomeRowReminder
->func showNow() -> Bool
at line 55 (after the variant check)Scenario 3 - Add To Dock is presented from banner for control variant
return VariantIOS(name: "mh", weight: 1, isIncluded: VariantIOS.When.notPadDevice, features: [])
inDefaultVariantManager
->selectVariant() -> Variant?
at line 155.return true
inHomeRowReminder
->func showNow() -> Bool
at line 55 (after the variant check)return true
)Scenario 4 - Smoke test pixels are sent
Link to the Pixel scenarios #3543
Definition of Done (Internal Only):
Copy Testing:
’
rather than'
Orientation Testing:
Device Testing:
OS Testing:
Theme Testing:
Internal references:
Software Engineering Expectations
Technical Design Template