Skip to content

Commit c73e74f

Browse files
committed
feat: Shipping Labels Onboarding M1 feature flag
1 parent 6f51e46 commit c73e74f

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)