Skip to content

Commit d17cf73

Browse files
committed
Merge branch 'trunk' into task/pos-historical-orders-i1
2 parents e74d70f + 4bfc20a commit d17cf73

File tree

546 files changed

+5299
-4071
lines changed

Some content is hidden

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

546 files changed

+5299
-4071
lines changed

.bundle/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ BUNDLE_RETRY: "3"
33
BUNDLE_PATH: "vendor/bundle"
44
BUNDLE_JOBS: "16"
55
BUNDLE_SPECIFIC_PLATFORM: "false"
6+
BUNDLE_FORCE_RUBY_PLATFORM: "true"
67
BUNDLE_WITHOUT: "screenshots"

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!--
22
Contains editorialized release notes. Raw release notes should go into `RELEASE-NOTES.txt`.
33
-->
4+
## 23.4
5+
This update delivers important fixes for a smoother store management experience. We've resolved navigation issues in order details and corrected store widget display on iOS 26. Update now for a more polished and reliable app experience.
6+
47
## 23.3
58
Enjoy a smoother store management experience with clearer shipping labels for physical items, friendlier product code error messages, more reliable custom fields, and better app performance for users authenticated with WordPress.com. All designed to streamline your daily workflow.
69

Gemfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,11 @@ end
88

99
gem 'danger-dangermattic', '~> 1.2'
1010
gem 'dotenv'
11-
# 2.217.0 includes a fix for Xcode 15 test results parsing in CI
1211
gem 'fastlane', '~> 2.228'
1312
gem 'fastlane-plugin-firebase_app_distribution', '~> 0.10'
1413
gem 'fastlane-plugin-sentry', '~> 1.0'
15-
# This comment avoids typing to switch to a development version for testing.
16-
#
1714
# gem 'fastlane-plugin-wpmreleasetoolkit', git: '[email protected]:wordpress-mobile/release-toolkit', branch: ''
18-
#
19-
# The '>= 13.3.1' aftre '~> 13.3' ensures that we resolve to any version compatible with 13.3 starting from 13.3.1
20-
# Using '~> 13.3.1' would constrain us to 13.3.2, 13.3.3, etc. without ever going up to 13.4
21-
# We need 13.3.1 because of a fix in screenshots generation we depend upon.
22-
gem 'fastlane-plugin-wpmreleasetoolkit', '~> 13.3', '>= 13.3.1'
15+
gem 'fastlane-plugin-wpmreleasetoolkit', '~> 13.5'
2316
gem 'rake', '~> 12.3'
2417
gem 'rubocop', '~> 1.65'
2518
gem 'rubocop-rake', '~> 0.6'

Gemfile.lock

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GEM
55
base64
66
nkf
77
rexml
8-
activesupport (8.0.2)
8+
activesupport (8.0.3)
99
base64
1010
benchmark (>= 0.3)
1111
bigdecimal
@@ -24,19 +24,19 @@ GEM
2424
ast (2.4.2)
2525
atomos (0.1.3)
2626
aws-eventstream (1.4.0)
27-
aws-partitions (1.1154.0)
28-
aws-sdk-core (3.232.0)
27+
aws-partitions (1.1169.0)
28+
aws-sdk-core (3.233.0)
2929
aws-eventstream (~> 1, >= 1.3.0)
3030
aws-partitions (~> 1, >= 1.992.0)
3131
aws-sigv4 (~> 1.9)
3232
base64
3333
bigdecimal
3434
jmespath (~> 1, >= 1.6.1)
3535
logger
36-
aws-sdk-kms (1.112.0)
36+
aws-sdk-kms (1.113.0)
3737
aws-sdk-core (~> 3, >= 3.231.0)
3838
aws-sigv4 (~> 1.5)
39-
aws-sdk-s3 (1.198.0)
39+
aws-sdk-s3 (1.199.1)
4040
aws-sdk-core (~> 3, >= 3.231.0)
4141
aws-sdk-kms (~> 1)
4242
aws-sigv4 (~> 1.5)
@@ -45,7 +45,7 @@ GEM
4545
babosa (1.0.4)
4646
base64 (0.3.0)
4747
benchmark (0.4.1)
48-
bigdecimal (3.2.2)
48+
bigdecimal (3.3.0)
4949
buildkit (1.6.1)
5050
sawyer (>= 0.6)
5151
chroma (0.2.0)
@@ -59,7 +59,7 @@ GEM
5959
commander (4.6.0)
6060
highline (~> 2.0.0)
6161
concurrent-ruby (1.3.5)
62-
connection_pool (2.5.3)
62+
connection_pool (2.5.4)
6363
cork (0.3.0)
6464
colored2 (~> 3.1)
6565
danger (9.5.1)
@@ -173,7 +173,7 @@ GEM
173173
google-apis-firebaseappdistribution_v1alpha (~> 0.2.0)
174174
fastlane-plugin-sentry (1.25.1)
175175
os (~> 1.1, >= 1.1.4)
176-
fastlane-plugin-wpmreleasetoolkit (13.3.1)
176+
fastlane-plugin-wpmreleasetoolkit (13.5.1)
177177
activesupport (>= 6.1.7.1)
178178
buildkit (~> 1.5)
179179
chroma (= 0.2.0)
@@ -245,7 +245,7 @@ GEM
245245
concurrent-ruby (~> 1.0)
246246
java-properties (0.3.0)
247247
jmespath (1.6.2)
248-
json (2.13.2)
248+
json (2.15.1)
249249
jwt (2.10.2)
250250
base64
251251
kramdown (2.5.1)
@@ -257,27 +257,25 @@ GEM
257257
mini_magick (4.13.2)
258258
mini_mime (1.1.5)
259259
mini_portile2 (2.8.9)
260-
minitest (5.25.5)
260+
minitest (5.26.0)
261261
multi_json (1.17.0)
262262
multipart-post (2.4.1)
263263
mutex_m (0.3.0)
264264
nanaimo (0.4.0)
265265
nap (1.1.0)
266266
naturally (2.3.0)
267267
nkf (0.2.0)
268-
nokogiri (1.18.8)
268+
nokogiri (1.18.10)
269269
mini_portile2 (~> 2.8.2)
270270
racc (~> 1.4)
271-
nokogiri (1.18.8-x86_64-darwin)
272-
racc (~> 1.4)
273271
octokit (6.1.1)
274272
faraday (>= 1, < 3)
275273
sawyer (~> 0.9)
276274
open4 (1.3.4)
277275
options (2.3.2)
278276
optparse (0.6.0)
279277
os (1.1.4)
280-
parallel (1.26.3)
278+
parallel (1.27.0)
281279
parser (3.3.6.0)
282280
ast (~> 2.4.1)
283281
racc
@@ -292,14 +290,14 @@ GEM
292290
rake (12.3.3)
293291
rake-compiler (1.3.0)
294292
rake
295-
rchardet (1.8.0)
293+
rchardet (1.10.0)
296294
regexp_parser (2.9.2)
297295
representable (3.2.0)
298296
declarative (< 0.1.0)
299297
trailblazer-option (>= 0.1.1, < 0.2.0)
300298
uber (< 0.2.0)
301299
retriable (3.1.2)
302-
rexml (3.4.2)
300+
rexml (3.4.4)
303301
rmagick (4.3.0)
304302
rouge (3.28.0)
305303
rubocop (1.68.0)
@@ -345,7 +343,7 @@ GEM
345343
concurrent-ruby (~> 1.0)
346344
uber (0.1.0)
347345
unicode-display_width (2.6.0)
348-
uri (1.0.3)
346+
uri (1.0.4)
349347
word_wrap (1.0.0)
350348
xcode-install (2.8.1)
351349
claide (>= 0.9.1)
@@ -364,17 +362,14 @@ GEM
364362

365363
PLATFORMS
366364
ruby
367-
x86_64-darwin-19
368-
x86_64-darwin-20
369-
x86_64-darwin-21
370365

371366
DEPENDENCIES
372367
danger-dangermattic (~> 1.2)
373368
dotenv
374369
fastlane (~> 2.228)
375370
fastlane-plugin-firebase_app_distribution (~> 0.10)
376371
fastlane-plugin-sentry (~> 1.0)
377-
fastlane-plugin-wpmreleasetoolkit (~> 13.3, >= 13.3.1)
372+
fastlane-plugin-wpmreleasetoolkit (~> 13.5)
378373
rake (~> 12.3)
379374
rmagick (~> 4.1)
380375
rubocop (~> 1.65)
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "2600"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES"
8+
buildArchitectures = "Automatic">
9+
<BuildActionEntries>
10+
<BuildActionEntry
11+
buildForTesting = "YES"
12+
buildForRunning = "YES"
13+
buildForProfiling = "YES"
14+
buildForArchiving = "YES"
15+
buildForAnalyzing = "YES">
16+
<BuildableReference
17+
BuildableIdentifier = "primary"
18+
BlueprintIdentifier = "PointOfSale"
19+
BuildableName = "PointOfSale"
20+
BlueprintName = "PointOfSale"
21+
ReferencedContainer = "container:">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
</BuildActionEntries>
25+
</BuildAction>
26+
<TestAction
27+
buildConfiguration = "Debug"
28+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30+
shouldUseLaunchSchemeArgsEnv = "YES">
31+
<TestPlans>
32+
<TestPlanReference
33+
reference = "container:Tests/PointOfSaleTests/PointOfSale.xctestplan"
34+
default = "YES">
35+
</TestPlanReference>
36+
</TestPlans>
37+
</TestAction>
38+
<LaunchAction
39+
buildConfiguration = "Debug"
40+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
41+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42+
launchStyle = "0"
43+
useCustomWorkingDirectory = "NO"
44+
ignoresPersistentStateOnLaunch = "NO"
45+
debugDocumentVersioning = "YES"
46+
debugServiceExtension = "internal"
47+
allowLocationSimulation = "YES">
48+
</LaunchAction>
49+
<ProfileAction
50+
buildConfiguration = "Release"
51+
shouldUseLaunchSchemeArgsEnv = "YES"
52+
savedToolIdentifier = ""
53+
useCustomWorkingDirectory = "NO"
54+
debugDocumentVersioning = "YES">
55+
<MacroExpansion>
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "PointOfSale"
59+
BuildableName = "PointOfSale"
60+
BlueprintName = "PointOfSale"
61+
ReferencedContainer = "container:">
62+
</BuildableReference>
63+
</MacroExpansion>
64+
</ProfileAction>
65+
<AnalyzeAction
66+
buildConfiguration = "Debug">
67+
</AnalyzeAction>
68+
<ArchiveAction
69+
buildConfiguration = "Release"
70+
revealArchiveInOrganizer = "YES">
71+
</ArchiveAction>
72+
</Scheme>

Modules/Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/Package.swift

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ let package = Package(
6767
name: "Yosemite",
6868
targets: ["Yosemite"]
6969
),
70+
.library(
71+
name: "PointOfSale",
72+
targets: ["PointOfSale"]
73+
),
7074
],
7175
dependencies: [
7276
.package(url: "https://github.com/Alamofire/Alamofire", from: "5.2.0"),
@@ -182,7 +186,8 @@ let package = Package(
182186
dependencies: [
183187
"WooFoundationCore",
184188
.product(name: "Kingfisher", package: "Kingfisher")
185-
]
189+
],
190+
resources: [.process("Resources")]
186191
),
187192
.target(
188193
name: "WooFoundationCore",
@@ -230,6 +235,18 @@ let package = Package(
230235
.product(name: "WordPressEditor", package: "AztecEditor-iOS"),
231236
]
232237
),
238+
.target(
239+
name: "PointOfSale",
240+
dependencies: [
241+
"Experiments",
242+
"WooFoundation",
243+
"Yosemite",
244+
.product(name: "CocoaLumberjackSwift", package: "CocoaLumberjack"),
245+
.product(name: "Shimmer", package: "SwiftUI-Shimmer"),
246+
.product(name: "Kingfisher", package: "Kingfisher"),
247+
],
248+
resources: [.process("Resources")]
249+
),
233250
.testTarget(
234251
name: "ExperimentsTests",
235252
dependencies: [
@@ -295,7 +312,17 @@ let package = Package(
295312
.process("Resources"),
296313
.process("../NetworkingTests/Responses")
297314
]
298-
)
315+
),
316+
.testTarget(
317+
name: "PointOfSaleTests",
318+
dependencies: [
319+
.target(name: "PointOfSale"),
320+
"Codegen",
321+
"Fakes",
322+
"TestKit",
323+
"WooFoundation"
324+
]
325+
),
299326
]
300327
)
301328

@@ -374,6 +401,7 @@ enum XcodeSupport {
374401
"WordPressUI",
375402
"WPMediaPicker",
376403
"Yosemite",
404+
"PointOfSale",
377405
.product(name: "Alamofire", package: "Alamofire"),
378406
.product(name: "Algorithms", package: "swift-algorithms"),
379407
.product(name: "AutomatticAbout", package: "AutomatticAbout-swift"),

Modules/Sources/Experiments/DefaultFeatureFlagService.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
9090
return true
9191
case .pointOfSaleOrdersi2:
9292
return true
93-
case .pointOfSaleSettingsi1:
94-
return true
9593
case .orderAddressMapSearch:
9694
return true
9795
case .pointOfSaleHistoricalOrdersi1:

Modules/Sources/Experiments/FeatureFlag.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,6 @@ public enum FeatureFlag: Int {
187187
///
188188
case pointOfSaleOrdersi2
189189

190-
/// Enables the entry point for Point of Sale Settings
191-
///
192-
case pointOfSaleSettingsi1
193-
194190
/// Enables the CTA to search for an address in the map in order details > shipping address.
195191
///
196192
case orderAddressMapSearch

Modules/Sources/Fakes/Networking.generated.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ extension Networking.Booking {
338338
resourceID: .fake(),
339339
startDate: .fake(),
340340
statusKey: .fake(),
341-
localTimezone: .fake()
341+
localTimezone: .fake(),
342+
currency: .fake()
342343
)
343344
}
344345
}

0 commit comments

Comments
 (0)