Skip to content

Commit 55750ce

Browse files
committed
Merge branch 'trunk' into task/15065-failed-uploads-screen
2 parents fc23702 + 7b9d692 commit 55750ce

File tree

91 files changed

+773
-786
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+773
-786
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
9191
return true
9292
case .acceptCashForPointOfSale:
9393
return true
94-
case .variableProductsInPointOfSale:
95-
return true
9694
case .hideSitesInStorePicker:
9795
return true
9896
case .filterHistoryOnOrderAndProductLists:

Experiments/Experiments/FeatureFlag.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,6 @@ public enum FeatureFlag: Int {
197197
///
198198
case acceptCashForPointOfSale
199199

200-
/// Supports variable products in POS.
201-
///
202-
case variableProductsInPointOfSale
203-
204200
/// Supports hiding sites from the store picker
205201
///
206202
case hideSitesInStorePicker

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- [*] Now "Suggested by AI" label is visible in dark mode in Blaze campaign creation flow. [https://github.com/woocommerce/woocommerce-ios/pull/15088]
77
- [*] Improved image loading in Blaze Campaign Creation: displays a redacted and shimmering effects when loading product image and falls back to a placeholder if no image is available. [https://github.com/woocommerce/woocommerce-ios/pull/15098]
88
- [*] Product List: Display syncing animation on items with image upload in progress [https://github.com/woocommerce/woocommerce-ios/pull/15052]
9+
- [*] Background image upload: Fix missing error notice in iPhones [https://github.com/woocommerce/woocommerce-ios/pull/15117]
910

1011
21.7
1112
-----

WooCommerce/Classes/POS/Colors/Color+POSColorPalette.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ extension Color {
88
static var posOnPrimaryContainer: Color { Color(.posOnPrimaryContainer) }
99

1010
// MARK: - Secondary Container Colors
11+
static var posSecondary: Color { Color(.posSecondary) }
12+
static var posOnSecondary: Color { Color(.posOnSecondary) }
1113
static var posSecondaryContainer: Color { Color(.posSecondaryContainer) }
1214
static var posOnSecondaryContainer: Color { Color(.posOnSecondaryContainer) }
1315

@@ -44,11 +46,6 @@ extension Color {
4446
static var posAlert: Color { Color(.posAlert) }
4547
static var posOnAlert: Color { Color(.posOnAlert) }
4648

47-
// MARK: - Text Colors
48-
static var posPrimaryText: Color { Color(.posPrimaryText) }
49-
static var posSecondaryText: Color { Color(.posSecondaryText) }
50-
static var posTertiaryText: Color { Color(.posTertiaryText) }
51-
5249
// MARK: - Other
5350
static var posShadow: Color { Color(.posShadow) }
5451
}

WooCommerce/Classes/POS/Colors/POSColorPalette.xcassets/posSecondaryText.colorset/Contents.json renamed to WooCommerce/Classes/POS/Colors/POSColorPalette.xcassets/posOnSecondary.colorset/Contents.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"color-space" : "srgb",
66
"components" : {
77
"alpha" : "1.000",
8-
"blue" : "0x5E",
9-
"green" : "0x57",
10-
"red" : "0x50"
8+
"blue" : "0x17",
9+
"green" : "0x15",
10+
"red" : "0x10"
1111
}
1212
},
1313
"idiom" : "universal"
@@ -23,9 +23,9 @@
2323
"color-space" : "srgb",
2424
"components" : {
2525
"alpha" : "1.000",
26-
"blue" : "0xAD",
27-
"green" : "0xAA",
28-
"red" : "0xA7"
26+
"blue" : "0x17",
27+
"green" : "0x15",
28+
"red" : "0x10"
2929
}
3030
},
3131
"idiom" : "universal"

WooCommerce/Classes/POS/Colors/POSColorPalette.xcassets/posOnSuccess.colorset/Contents.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"color-space" : "srgb",
66
"components" : {
77
"alpha" : "1.000",
8-
"blue" : "0xFF",
9-
"green" : "0xFF",
10-
"red" : "0xFF"
8+
"blue" : "0x17",
9+
"green" : "0x15",
10+
"red" : "0x10"
1111
}
1212
},
1313
"idiom" : "universal"
@@ -23,9 +23,9 @@
2323
"color-space" : "srgb",
2424
"components" : {
2525
"alpha" : "1.000",
26-
"blue" : "0xFF",
27-
"green" : "0xFF",
28-
"red" : "0xFF"
26+
"blue" : "0x17",
27+
"green" : "0x15",
28+
"red" : "0x10"
2929
}
3030
},
3131
"idiom" : "universal"

WooCommerce/Classes/POS/Colors/POSColorPalette.xcassets/posPrimaryText.colorset/Contents.json renamed to WooCommerce/Classes/POS/Colors/POSColorPalette.xcassets/posSecondary.colorset/Contents.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"color-space" : "srgb",
66
"components" : {
77
"alpha" : "1.000",
8-
"blue" : "0x00",
9-
"green" : "0x00",
10-
"red" : "0x00"
8+
"blue" : "0xFF",
9+
"green" : "0xC1",
10+
"red" : "0xD1"
1111
}
1212
},
1313
"idiom" : "universal"
@@ -24,8 +24,8 @@
2424
"components" : {
2525
"alpha" : "1.000",
2626
"blue" : "0xFF",
27-
"green" : "0xFF",
28-
"red" : "0xFF"
27+
"green" : "0xC1",
28+
"red" : "0xD1"
2929
}
3030
},
3131
"idiom" : "universal"

WooCommerce/Classes/POS/Colors/POSColorPalette.xcassets/posTertiaryText.colorset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

WooCommerce/Classes/POS/Presentation/Card Present Payments/Reader Messages/PointOfSaleCardPresentPaymentPreparingForPaymentMessageViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ private extension PointOfSaleCardPresentPaymentPreparingForPaymentMessageViewMod
1313
comment: "Title shown on the Point of Sale checkout while the reader is being prepared."
1414
)
1515
static let message = NSLocalizedString(
16-
"pointOfSale.cardPresent.preparingForPayment.message",
17-
value: "Preparing card for payment",
16+
"pointOfSale.cardPresent.preparingReaderForPayment.message",
17+
value: "Preparing reader for payment",
1818
comment: "Message shown on the Point of Sale checkout while the reader is being prepared."
1919
)
2020
}

WooCommerce/Classes/POS/Presentation/CardReaderConnection/CardReaderConnectionStatusView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private extension CardReaderConnectionStatusView {
8888
var connectedFontColor: Color {
8989
switch backgroundAppearance {
9090
case .primary:
91-
.posPrimaryText
91+
.posOnSurface
9292
case .secondary:
9393
POSFloatingControlView.secondaryFontColor
9494
}
@@ -97,7 +97,7 @@ private extension CardReaderConnectionStatusView {
9797
var disconnectedFontColor: Color {
9898
switch backgroundAppearance {
9999
case .primary:
100-
.posPrimaryText
100+
.posOnSurface
101101
case .secondary:
102102
POSFloatingControlView.secondaryFontColor
103103
}
@@ -111,7 +111,7 @@ private extension CardReaderConnectionStatusView {
111111
static let imageDimension: CGFloat = 12
112112
static let progressIndicatorDimension: CGFloat = 10
113113
static let progressIndicatorLineWidth: CGFloat = 2
114-
static let font = POSFontStyle.posDetailEmphasized
114+
static let font = POSFontStyle.posBodyMediumRegular()
115115
static let horizontalPadding: CGFloat = 24
116116
static let overlayRadius: CGFloat = 4
117117
static let overlayLineWidth: CGFloat = 2

0 commit comments

Comments
 (0)