Skip to content

Commit d8930a2

Browse files
authored
Merge pull request #6927 from woocommerce/issue/6914-feature-flag-shipping-labels-onboarding-m1
Shipping Labels Onboarding M1 feature flag
2 parents 6f51e46 + c73e74f commit d8930a2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
3333
return true
3434
case .updateOrderOptimistically:
3535
return buildConfig == .localDeveloper || buildConfig == .alpha
36+
case .shippingLabelsOnboardingM1:
37+
return buildConfig == .localDeveloper || buildConfig == .alpha
3638
default:
3739
return true
3840
}

Experiments/Experiments/FeatureFlag.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,8 @@ public enum FeatureFlag: Int {
6565
/// Enable optimistic updates for orders
6666
///
6767
case updateOrderOptimistically
68+
69+
/// Enable Shipping Labels Onboarding M1 (display the banner in Order Detail screen for installing the WCShip plugin)
70+
///
71+
case shippingLabelsOnboardingM1
6872
}

0 commit comments

Comments
 (0)