Skip to content
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

Feature Optimizely #1008

Merged
merged 5 commits into from
Jan 8, 2020
Merged

Feature Optimizely #1008

merged 5 commits into from
Jan 8, 2020

Conversation

ifbarrera
Copy link
Contributor

📲 What

A collection of PRs for the Optimizely integration and first Optimizely A/B experiment.

PRs:
#989
#994
#1007

cdolm92 and others added 4 commits December 20, 2019 10:24
* wip - optimizely ab test set up

* wip - optimizely struct

* wip - optimizely

* wip - optimizely refactor

* wip - optimizely

* wip - a testable optimizely client

* wip - a testable optimizely client swift format

* wip - optimixely refactor

* wip - optimizely fix tests

* wip - optimizely appdelegate test

* wip - optimizely fix

* wip - optimizely test environment

* wip - optimizely

* wip - remove func

* [NT-580] Optimizely Integration Updates (#999)

* Testing configuration result

* Linking Optimizely with Framework instead of main app target

* Updating targets

* Cleaning up targets etc

* Removing commented out line

* Formatting

* Remove test code

* Line length

* Add OptimizelyResultType with tests

* Formatting and adding weak self

* Line length

* Chaining the variant enum into the guard

Co-authored-by: Isabel Barrera <ifbarrera@me.com>
* wip - optimizely ab test set up

* wip - optimizely struct

* wip - optimizely

* wip - optimizely refactor

* wip - optimizely

* wip - a testable optimizely client

* wip - a testable optimizely client swift format

* wip - optimixely refactor

* wip - optimizely fix tests

* wip - optimizely appdelegate test

* wip - optimizely fix

* wip - optimizely test environment

* wip - optimizely

* wip - remove func

* See rewards experimental copy

* wip - optimizely a/b experiment

* snapshot testing

* Formatting

* Fixing targets, tests

* Cleaning up warnings

* Removing Optimizely imports

* Specify control group in VC test

* Merge

* MockUUID and shared function

* Formatting

Co-authored-by: Isabel Barrera <ifbarrera@me.com>
* Setting OptimizelyLogLevel based on bundle type

* Formatting

* Adding OptimizelyLogLevelType as a file
…feature-optimizely

# Conflicts:
#	Cartfile.resolved
#	Kickstarter-iOS/ViewModels/AppDelegateViewModel.swift
#	Kickstarter-iOS/ViewModels/AppDelegateViewModelTests.swift
@nativeksr
Copy link
Collaborator

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

Copy link
Contributor

@justinswart justinswart left a comment

Choose a reason for hiding this comment

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

Cool! Just noticed the one small thing but no strong feelings 👍

optimizelyClient.start { [weak self] result in
let shouldUpdateClient = self?.viewModel.inputs.optimizelyConfigured(with: result)

if let shouldUpdateClient = shouldUpdateClient, shouldUpdateClient {
Copy link
Contributor

Choose a reason for hiding this comment

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

This could probably just be if shouldUpdateClient == true

@ifbarrera ifbarrera merged commit ec2d4a5 into master Jan 8, 2020
@ifbarrera ifbarrera deleted the feature-optimizely branch January 8, 2020 22:13
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.

4 participants