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
separate atb and variant to remove duplicate variant storage #332
separate atb and variant to remove duplicate variant storage #332
Conversation
Don't review this for now, please. |
This is good to review now. Thanks in advance! |
Just looking at this conflict. |
…_storage # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj
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.
Looks great, just one suggested tidy up
@@ -96,8 +96,8 @@ public struct AppUrls { | |||
|
|||
public var atb: URL { | |||
var url = URL(string: Url.atb)! | |||
if let atb = statisticsStore.atb, let setAtb = statisticsStore.retentionAtb { | |||
url = url.addParam(name: Param.atb, value: atb) | |||
if let atbWithVariant = statisticsStore.atbWithVariant, let setAtb = statisticsStore.retentionAtb { |
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!
|
||
} | ||
|
||
func testWhenVariantIsNInCurrentExperimentThenVariantIsNotRemovedFromStorage() { |
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.
Typo extra N
in test name
Task/Issue URL:
Tech Design URL:
CC:
Description:
Steps to test this PR:
Upgrade
Install
Internal references:
Software Engineering Expectations
Technical Design Template