Skip to content

Commit 1f7f0fd

Browse files
committed
Merge branch 'trunk' into task/22393-stats-traffic-create-today-card
2 parents 401468c + 5e53374 commit 1f7f0fd

205 files changed

Lines changed: 10025 additions & 7523 deletions

File tree

Some content is hidden

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

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ PR submission checklist:
1818
- [ ] I have considered adding accessibility improvements for my changes.
1919
- [ ] I have considered if this change warrants user-facing release notes and have added them to `RELEASE-NOTES.txt` if necessary.
2020

21-
UI Changes testing checklist:
21+
Testing checklist:
22+
- [ ] WordPress.com sites and self-hosted Jetpack sites.
2223
- [ ] Portrait and landscape orientations.
2324
- [ ] Light and dark modes.
2425
- [ ] Fonts: Larger, smaller and bold text.

API-Mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/reader/rest_v2_read_tags_cards.json

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,31 @@
1515
"page": 1,
1616
"refresh": 1,
1717
"cards": [
18+
{
19+
"type": "interests_you_may_like",
20+
"data": [
21+
{
22+
"slug": "blogging",
23+
"title": "Blogging",
24+
"score": 278
25+
},
26+
{
27+
"slug": "travel",
28+
"title": "Travel",
29+
"score": 251
30+
},
31+
{
32+
"slug": "photos",
33+
"title": "Photos",
34+
"score": 173
35+
},
36+
{
37+
"slug": "technology",
38+
"title": "Technology",
39+
"score": 139
40+
}
41+
]
42+
},
1843
{
1944
"type": "interests_you_may_like",
2045
"data": [
@@ -3934,13 +3959,12 @@
39343959
"use_excerpt": false
39353960
}
39363961
}
3937-
],
3938-
"next_page_handle": "ZnJvbT04JnJlZnJlc2g9MQ=="
3962+
]
39393963
},
39403964
"headers": {
39413965
"Content-Type": "application/json",
39423966
"Connection": "keep-alive",
39433967
"Cache-Control": "no-cache, must-revalidate, max-age=0"
39443968
}
39453969
}
3946-
}
3970+
}

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ gem 'cocoapods', '~> 1.14'
66
gem 'commonmarker'
77
gem 'danger-dangermattic', git: 'https://github.com/Automattic/dangermattic'
88
gem 'dotenv'
9-
# 2.217.0 includes a fix for Xcode 15 test results parsing in CI
10-
gem 'fastlane', '~> 2.217'
9+
# 2.219.0 includes a fix for a bug introduced in 2.218.0
10+
# See https://github.com/fastlane/fastlane/issues/21762#issuecomment-1875208663
11+
gem 'fastlane', '~> 2.219'
1112
gem 'fastlane-plugin-appcenter', '~> 2.1'
1213
gem 'fastlane-plugin-sentry'
1314
# This comment avoids typing to switch to a development version for testing.

Gemfile.lock

Lines changed: 45 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ GEM
1616
specs:
1717
CFPropertyList (3.0.6)
1818
rexml
19-
activesupport (7.0.8)
19+
activesupport (7.1.3)
20+
base64
21+
bigdecimal
2022
concurrent-ruby (~> 1.0, >= 1.0.2)
23+
connection_pool (>= 2.2.5)
24+
drb
2125
i18n (>= 1.6, < 2)
2226
minitest (>= 5.1)
27+
mutex_m
2328
tzinfo (~> 2.0)
2429
addressable (2.8.6)
2530
public_suffix (>= 2.0.2, < 6.0)
@@ -30,22 +35,24 @@ GEM
3035
ast (2.4.2)
3136
atomos (0.1.3)
3237
aws-eventstream (1.3.0)
33-
aws-partitions (1.865.0)
34-
aws-sdk-core (3.190.0)
38+
aws-partitions (1.887.0)
39+
aws-sdk-core (3.191.0)
3540
aws-eventstream (~> 1, >= 1.3.0)
3641
aws-partitions (~> 1, >= 1.651.0)
3742
aws-sigv4 (~> 1.8)
3843
jmespath (~> 1, >= 1.6.1)
39-
aws-sdk-kms (1.74.0)
40-
aws-sdk-core (~> 3, >= 3.188.0)
44+
aws-sdk-kms (1.77.0)
45+
aws-sdk-core (~> 3, >= 3.191.0)
4146
aws-sigv4 (~> 1.1)
42-
aws-sdk-s3 (1.141.0)
43-
aws-sdk-core (~> 3, >= 3.189.0)
47+
aws-sdk-s3 (1.143.0)
48+
aws-sdk-core (~> 3, >= 3.191.0)
4449
aws-sdk-kms (~> 1)
4550
aws-sigv4 (~> 1.8)
4651
aws-sigv4 (1.8.0)
4752
aws-eventstream (~> 1, >= 1.0.2)
4853
babosa (1.0.4)
54+
base64 (0.2.0)
55+
bigdecimal (3.1.6)
4956
buildkit (1.5.0)
5057
sawyer (>= 0.6)
5158
chroma (0.2.0)
@@ -96,7 +103,8 @@ GEM
96103
commander (4.6.0)
97104
highline (~> 2.0.0)
98105
commonmarker (0.23.7)
99-
concurrent-ruby (1.2.2)
106+
concurrent-ruby (1.2.3)
107+
connection_pool (2.4.1)
100108
cork (0.3.0)
101109
colored2 (~> 3.1)
102110
danger (9.3.2)
@@ -131,13 +139,15 @@ GEM
131139
diffy (3.4.2)
132140
digest-crc (0.6.5)
133141
rake (>= 12.0.0, < 14.0.0)
134-
domain_name (0.6.20231109)
142+
domain_name (0.6.20240107)
135143
dotenv (2.8.1)
144+
drb (2.2.0)
145+
ruby2_keywords
136146
emoji_regex (3.2.3)
137147
escape (0.0.4)
138148
ethon (0.16.0)
139149
ffi (>= 1.15.0)
140-
excon (0.105.0)
150+
excon (0.109.0)
141151
faraday (1.10.3)
142152
faraday-em_http (~> 1.0)
143153
faraday-em_synchrony (~> 1.0)
@@ -168,8 +178,8 @@ GEM
168178
faraday-retry (1.0.3)
169179
faraday_middleware (1.2.0)
170180
faraday (~> 1.0)
171-
fastimage (2.2.7)
172-
fastlane (2.217.0)
181+
fastimage (2.3.0)
182+
fastlane (2.219.0)
173183
CFPropertyList (>= 2.3, < 4.0.0)
174184
addressable (>= 2.8, < 3.0.0)
175185
artifactory (~> 3.0)
@@ -188,6 +198,7 @@ GEM
188198
gh_inspector (>= 1.1.2, < 2.0.0)
189199
google-apis-androidpublisher_v3 (~> 0.3)
190200
google-apis-playcustomapp_v1 (~> 0.1)
201+
google-cloud-env (>= 1.6.0, < 2.0.0)
191202
google-cloud-storage (~> 1.31)
192203
highline (~> 2.0)
193204
http-cookie (~> 1.0.5)
@@ -196,7 +207,7 @@ GEM
196207
mini_magick (>= 4.9.4, < 5.0.0)
197208
multipart-post (>= 2.0.0, < 3.0.0)
198209
naturally (~> 2.2)
199-
optparse (~> 0.1.1)
210+
optparse (>= 0.1.1)
200211
plist (>= 3.1.0, < 4.0.0)
201212
rubyzip (>= 2.0.0, < 3.0.0)
202213
security (= 0.1.3)
@@ -212,7 +223,7 @@ GEM
212223
fastlane-plugin-appcenter (2.1.1)
213224
fastlane-plugin-sentry (1.15.0)
214225
os (~> 1.1, >= 1.1.4)
215-
fastlane-plugin-wpmreleasetoolkit (9.3.0)
226+
fastlane-plugin-wpmreleasetoolkit (9.4.0)
216227
activesupport (>= 6.1.7.1)
217228
buildkit (~> 1.5)
218229
chroma (= 0.2.0)
@@ -233,43 +244,41 @@ GEM
233244
fourflusher (2.3.1)
234245
fuzzy_match (2.0.4)
235246
gh_inspector (1.1.3)
236-
git (1.18.0)
247+
git (1.19.1)
237248
addressable (~> 2.8)
238249
rchardet (~> 1.8)
239-
google-apis-androidpublisher_v3 (0.53.0)
250+
google-apis-androidpublisher_v3 (0.54.0)
240251
google-apis-core (>= 0.11.0, < 2.a)
241-
google-apis-core (0.11.2)
252+
google-apis-core (0.11.3)
242253
addressable (~> 2.5, >= 2.5.1)
243254
googleauth (>= 0.16.2, < 2.a)
244255
httpclient (>= 2.8.1, < 3.a)
245256
mini_mime (~> 1.0)
246257
representable (~> 3.0)
247258
retriable (>= 2.0, < 4.a)
248259
rexml
249-
webrick
250260
google-apis-iamcredentials_v1 (0.17.0)
251261
google-apis-core (>= 0.11.0, < 2.a)
252262
google-apis-playcustomapp_v1 (0.13.0)
253263
google-apis-core (>= 0.11.0, < 2.a)
254-
google-apis-storage_v1 (0.29.0)
264+
google-apis-storage_v1 (0.31.0)
255265
google-apis-core (>= 0.11.0, < 2.a)
256266
google-cloud-core (1.6.1)
257267
google-cloud-env (>= 1.0, < 3.a)
258268
google-cloud-errors (~> 1.0)
259-
google-cloud-env (2.1.0)
260-
faraday (>= 1.0, < 3.a)
269+
google-cloud-env (1.6.0)
270+
faraday (>= 0.17.3, < 3.0)
261271
google-cloud-errors (1.3.1)
262-
google-cloud-storage (1.45.0)
272+
google-cloud-storage (1.47.0)
263273
addressable (~> 2.8)
264274
digest-crc (~> 0.4)
265275
google-apis-iamcredentials_v1 (~> 0.1)
266-
google-apis-storage_v1 (~> 0.29.0)
276+
google-apis-storage_v1 (~> 0.31.0)
267277
google-cloud-core (~> 1.6)
268278
googleauth (>= 0.16.2, < 2.a)
269279
mini_mime (~> 1.0)
270-
googleauth (1.9.1)
271-
faraday (>= 1.0, < 3.a)
272-
google-cloud-env (~> 2.1)
280+
googleauth (1.8.1)
281+
faraday (>= 0.17.3, < 3.a)
273282
jwt (>= 1.4, < 3.0)
274283
multi_json (~> 1.11)
275284
os (>= 0.9, < 2.0)
@@ -292,10 +301,11 @@ GEM
292301
mini_magick (4.12.0)
293302
mini_mime (1.1.5)
294303
mini_portile2 (2.8.5)
295-
minitest (5.20.0)
304+
minitest (5.21.2)
296305
molinillo (0.8.0)
297306
multi_json (1.15.0)
298307
multipart-post (2.3.0)
308+
mutex_m (0.2.0)
299309
nanaimo (0.3.0)
300310
nap (1.1.0)
301311
naturally (2.2.1)
@@ -309,22 +319,22 @@ GEM
309319
sawyer (~> 0.9)
310320
open4 (1.3.4)
311321
options (2.3.2)
312-
optparse (0.1.1)
322+
optparse (0.4.0)
313323
os (1.1.4)
314324
ox (2.14.17)
315-
parallel (1.23.0)
325+
parallel (1.24.0)
316326
parser (3.2.2.4)
317327
ast (~> 2.4.1)
318328
racc
319-
plist (3.7.0)
329+
plist (3.7.1)
320330
progress_bar (1.3.3)
321331
highline (>= 1.6, < 3)
322332
options (~> 2.3.0)
323333
public_suffix (4.0.7)
324-
racc (1.7.1)
334+
racc (1.7.3)
325335
rainbow (3.1.1)
326336
rake (13.1.0)
327-
rake-compiler (1.2.5)
337+
rake-compiler (1.2.7)
328338
rake
329339
rchardet (1.8.0)
330340
regexp_parser (2.8.0)
@@ -373,7 +383,7 @@ GEM
373383
thor (0.20.3)
374384
trailblazer-option (0.1.2)
375385
tty-cursor (0.7.1)
376-
tty-screen (0.8.1)
386+
tty-screen (0.8.2)
377387
tty-spinner (0.9.3)
378388
tty-cursor (~> 0.7)
379389
typhoeus (1.4.0)
@@ -382,9 +392,8 @@ GEM
382392
concurrent-ruby (~> 1.0)
383393
uber (0.1.0)
384394
unicode-display_width (2.5.0)
385-
webrick (1.8.1)
386395
word_wrap (1.0.0)
387-
xcodeproj (1.23.0)
396+
xcodeproj (1.24.0)
388397
CFPropertyList (>= 2.3.3, < 4.0)
389398
atomos (~> 0.1.3)
390399
claide (>= 1.0.2, < 2.0)
@@ -405,7 +414,7 @@ DEPENDENCIES
405414
commonmarker
406415
danger-dangermattic!
407416
dotenv
408-
fastlane (~> 2.217)
417+
fastlane (~> 2.219)
409418
fastlane-plugin-appcenter (~> 2.1)
410419
fastlane-plugin-sentry
411420
fastlane-plugin-wpmreleasetoolkit (~> 9.3)

Modules/Sources/DesignSystem/Components/DSButton.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public struct DSButton: View {
109109
.fill(style.backgroundColor.opacity(priamryDisabledOpacity))
110110
case .secondary:
111111
RoundedRectangle(cornerRadius: Length.Radius.small)
112-
.stroke(Color.DS.divider, lineWidth: 1)
112+
.stroke(Color.DS.Background.tertiary, lineWidth: 1)
113113
.background(Color.clear)
114114

115115
case .tertiary:

Modules/Sources/DesignSystem/Components/Modifiers/UILabel+DesignSystem.swift

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,12 @@ public extension TextStyle {
5050
}
5151

5252
// MARK: - SwiftUI.Text
53-
extension UILabel {
54-
func style(_ style: TextStyle) -> Self {
53+
public extension UILabel {
54+
func setStyle(_ style: TextStyle) {
5555
self.font = style.uiFont
5656
if style.case == .uppercase {
5757
self.text = self.text?.uppercased()
5858
}
59-
return self
6059
}
6160
}
6261

@@ -69,14 +68,14 @@ fileprivate extension UIFont {
6968
static let heading4 = DynamicFontHelper.fontForTextStyle(.title3, fontWeight: .semibold)
7069

7170
enum Body {
72-
static let small = DynamicFontHelper.fontForTextStyle(.body, fontWeight: .regular)
71+
static let small = DynamicFontHelper.fontForTextStyle(.subheadline, fontWeight: .regular)
7372
static let medium = DynamicFontHelper.fontForTextStyle(.callout, fontWeight: .regular)
74-
static let large = DynamicFontHelper.fontForTextStyle(.subheadline, fontWeight: .regular)
73+
static let large = DynamicFontHelper.fontForTextStyle(.body, fontWeight: .regular)
7574

7675
enum Emphasized {
77-
static let small = DynamicFontHelper.fontForTextStyle(.body, fontWeight: .semibold)
76+
static let small = DynamicFontHelper.fontForTextStyle(.subheadline, fontWeight: .semibold)
7877
static let medium = DynamicFontHelper.fontForTextStyle(.callout, fontWeight: .semibold)
79-
static let large = DynamicFontHelper.fontForTextStyle(.subheadline, fontWeight: .semibold)
78+
static let large = DynamicFontHelper.fontForTextStyle(.body, fontWeight: .semibold)
8079
}
8180
}
8281

Modules/Sources/DesignSystem/Foundation/Color+DesignSystem.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ public extension Color {
3535
private static let wordPress = colorWithModuleBundle(colorName: DesignSystemColorNames.Background.wordPress)
3636
}
3737

38-
public static let divider = colorWithModuleBundle(colorName: DesignSystemColorNames.divider)
39-
4038
private static func colorWithModuleBundle(colorName: String) -> Color {
4139
Color(colorName, bundle: .module)
4240
}

Modules/Sources/DesignSystem/Foundation/Colors.xcassets/Foundation/Background/backgroundQuaternary.colorset/Contents.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"color-space" : "srgb",
2424
"components" : {
2525
"alpha" : "1.000",
26-
"blue" : "0x79",
27-
"green" : "0x78",
28-
"red" : "0x78"
26+
"blue" : "0x4F",
27+
"green" : "0x4E",
28+
"red" : "0x4E"
2929
}
3030
},
3131
"idiom" : "universal"

Modules/Sources/DesignSystem/Foundation/Colors.xcassets/Foundation/Background/backgroundSecondary.colorset/Contents.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"color-space" : "srgb",
2424
"components" : {
2525
"alpha" : "1.000",
26-
"blue" : "0x2E",
27-
"green" : "0x2C",
28-
"red" : "0x2C"
26+
"blue" : "0x3C",
27+
"green" : "0x3A",
28+
"red" : "0x3A"
2929
}
3030
},
3131
"idiom" : "universal"

0 commit comments

Comments
 (0)