Skip to content

Commit 4dd6f4e

Browse files
authored
Merge changes from 23.9.0.2 (#22228)
2 parents 48de6b7 + c494458 commit 4dd6f4e

File tree

77 files changed

+567
-3653
lines changed

Some content is hidden

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

77 files changed

+567
-3653
lines changed

Gemfile.lock

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,29 @@ GEM
2121
i18n (>= 1.6, < 2)
2222
minitest (>= 5.1)
2323
tzinfo (~> 2.0)
24-
addressable (2.8.5)
24+
addressable (2.8.6)
2525
public_suffix (>= 2.0.2, < 6.0)
2626
algoliasearch (1.27.5)
2727
httpclient (~> 2.8, >= 2.8.3)
2828
json (>= 1.5.1)
2929
artifactory (3.0.15)
3030
ast (2.4.2)
3131
atomos (0.1.3)
32-
aws-eventstream (1.2.0)
33-
aws-partitions (1.843.0)
34-
aws-sdk-core (3.185.1)
35-
aws-eventstream (~> 1, >= 1.0.2)
32+
aws-eventstream (1.3.0)
33+
aws-partitions (1.865.0)
34+
aws-sdk-core (3.190.0)
35+
aws-eventstream (~> 1, >= 1.3.0)
3636
aws-partitions (~> 1, >= 1.651.0)
37-
aws-sigv4 (~> 1.5)
37+
aws-sigv4 (~> 1.8)
3838
jmespath (~> 1, >= 1.6.1)
39-
aws-sdk-kms (1.72.0)
40-
aws-sdk-core (~> 3, >= 3.184.0)
39+
aws-sdk-kms (1.74.0)
40+
aws-sdk-core (~> 3, >= 3.188.0)
4141
aws-sigv4 (~> 1.1)
42-
aws-sdk-s3 (1.136.0)
43-
aws-sdk-core (~> 3, >= 3.181.0)
42+
aws-sdk-s3 (1.141.0)
43+
aws-sdk-core (~> 3, >= 3.189.0)
4444
aws-sdk-kms (~> 1)
45-
aws-sigv4 (~> 1.6)
46-
aws-sigv4 (1.6.1)
45+
aws-sigv4 (~> 1.8)
46+
aws-sigv4 (1.8.0)
4747
aws-eventstream (~> 1, >= 1.0.2)
4848
babosa (1.0.4)
4949
buildkit (1.5.0)
@@ -131,14 +131,13 @@ GEM
131131
diffy (3.4.2)
132132
digest-crc (0.6.5)
133133
rake (>= 12.0.0, < 14.0.0)
134-
domain_name (0.5.20190701)
135-
unf (>= 0.0.5, < 1.0.0)
134+
domain_name (0.6.20231109)
136135
dotenv (2.8.1)
137136
emoji_regex (3.2.3)
138137
escape (0.0.4)
139138
ethon (0.16.0)
140139
ffi (>= 1.15.0)
141-
excon (0.104.0)
140+
excon (0.105.0)
142141
faraday (1.10.3)
143142
faraday-em_http (~> 1.0)
144143
faraday-em_synchrony (~> 1.0)
@@ -170,7 +169,7 @@ GEM
170169
faraday_middleware (1.2.0)
171170
faraday (~> 1.0)
172171
fastimage (2.2.7)
173-
fastlane (2.216.0)
172+
fastlane (2.217.0)
174173
CFPropertyList (>= 2.3, < 4.0.0)
175174
addressable (>= 2.8, < 3.0.0)
176175
artifactory (~> 3.0)
@@ -237,7 +236,7 @@ GEM
237236
git (1.18.0)
238237
addressable (~> 2.8)
239238
rchardet (~> 1.8)
240-
google-apis-androidpublisher_v3 (0.51.0)
239+
google-apis-androidpublisher_v3 (0.53.0)
241240
google-apis-core (>= 0.11.0, < 2.a)
242241
google-apis-core (0.11.2)
243242
addressable (~> 2.5, >= 2.5.1)
@@ -252,24 +251,25 @@ GEM
252251
google-apis-core (>= 0.11.0, < 2.a)
253252
google-apis-playcustomapp_v1 (0.13.0)
254253
google-apis-core (>= 0.11.0, < 2.a)
255-
google-apis-storage_v1 (0.19.0)
256-
google-apis-core (>= 0.9.0, < 2.a)
257-
google-cloud-core (1.6.0)
258-
google-cloud-env (~> 1.0)
254+
google-apis-storage_v1 (0.29.0)
255+
google-apis-core (>= 0.11.0, < 2.a)
256+
google-cloud-core (1.6.1)
257+
google-cloud-env (>= 1.0, < 3.a)
259258
google-cloud-errors (~> 1.0)
260-
google-cloud-env (1.6.0)
261-
faraday (>= 0.17.3, < 3.0)
259+
google-cloud-env (2.1.0)
260+
faraday (>= 1.0, < 3.a)
262261
google-cloud-errors (1.3.1)
263-
google-cloud-storage (1.44.0)
262+
google-cloud-storage (1.45.0)
264263
addressable (~> 2.8)
265264
digest-crc (~> 0.4)
266265
google-apis-iamcredentials_v1 (~> 0.1)
267-
google-apis-storage_v1 (~> 0.19.0)
266+
google-apis-storage_v1 (~> 0.29.0)
268267
google-cloud-core (~> 1.6)
269268
googleauth (>= 0.16.2, < 2.a)
270269
mini_mime (~> 1.0)
271-
googleauth (1.8.1)
272-
faraday (>= 0.17.3, < 3.a)
270+
googleauth (1.9.1)
271+
faraday (>= 1.0, < 3.a)
272+
google-cloud-env (~> 2.1)
273273
jwt (>= 1.4, < 3.0)
274274
multi_json (~> 1.11)
275275
os (>= 0.9, < 2.0)
@@ -282,7 +282,7 @@ GEM
282282
concurrent-ruby (~> 1.0)
283283
java-properties (0.3.0)
284284
jmespath (1.6.2)
285-
json (2.6.3)
285+
json (2.7.1)
286286
jwt (2.7.1)
287287
kramdown (2.4.0)
288288
rexml
@@ -381,9 +381,6 @@ GEM
381381
tzinfo (2.0.6)
382382
concurrent-ruby (~> 1.0)
383383
uber (0.1.0)
384-
unf (0.1.4)
385-
unf_ext
386-
unf_ext (0.0.8.2)
387384
unicode-display_width (2.5.0)
388385
webrick (1.8.1)
389386
word_wrap (1.0.0)

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
23.9
66
-----
7+
* [**] Updates the My Site header to show site actions in a context menu [#22151]
78
* [**] Add media fitlers to the Site Media screen [#22096]
89
* [*] The "aspect ratio" mode on the Site Media screen is now also available on iPhone via the new title menu [#22096]
910
* [**] Update the classic editor to use the new Photos and Site Media pickers [#22060]

WordPress/Classes/Utility/Analytics/WPAnalyticsEvent.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,10 @@ import Foundation
264264
case mySiteNoSitesViewActionTapped
265265
case mySiteNoSitesViewHidden
266266

267+
// My Site: Header Actions
268+
case mySiteHeaderMoreTapped
269+
case mySiteHeaderPersonalizeHomeTapped
270+
267271
// Site Switcher
268272
case mySiteSiteSwitcherTapped
269273
case siteSwitcherDisplayed
@@ -1014,6 +1018,12 @@ import Foundation
10141018
case .mySiteNoSitesViewHidden:
10151019
return "my_site_no_sites_view_hidden"
10161020

1021+
// My Site Header Actions
1022+
case .mySiteHeaderMoreTapped:
1023+
return "my_site_header_more_tapped"
1024+
case .mySiteHeaderPersonalizeHomeTapped:
1025+
return "my_site_header_personalize_home_tapped"
1026+
10171027
// Site Switcher
10181028
case .mySiteSiteSwitcherTapped:
10191029
return "my_site_site_switcher_tapped"

WordPress/Classes/ViewRelated/Blog/Blog Dashboard/Cards/Prompts/DashboardBloganuaryCardCell.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,7 @@ private struct BloganuaryNudgeCardView: View {
162162

163163
static let description = NSLocalizedString(
164164
"bloganuary.dashboard.card.description",
165-
value: """
166-
For the month of January, blogging prompts will come from Bloganuary - \
167-
our community challenge to build a blogging habit for the new year.
168-
""",
165+
value: "For the month of January, blogging prompts will come from Bloganuary — our community challenge to build a blogging habit for the new year.",
169166
comment: "Short description for the Bloganuary event, shown right below the title."
170167
)
171168

WordPress/Classes/ViewRelated/Blog/Blog Details/Detail Header/BlogDetailHeaderView.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ class BlogDetailHeaderView: UIView {
120120
if let siteActionsMenu = delegate?.makeSiteActionsMenu() {
121121
titleView.siteActionButton.showsMenuAsPrimaryAction = true
122122
titleView.siteActionButton.menu = siteActionsMenu
123+
titleView.siteActionButton.addAction(UIAction { _ in
124+
WPAnalytics.trackEvent(.mySiteHeaderMoreTapped)
125+
}, for: .menuActionTriggered)
123126
}
124127

125128
if let siteIconMenu = delegate?.makeSiteIconMenu() {

WordPress/Classes/ViewRelated/Blog/Site Picker/SitePickerViewController+SiteActions.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,15 @@ extension SitePickerViewController {
4646
return DDLogError("Failed to show dashboard personalization screen: siteID is missing")
4747
}
4848

49-
// TODO: track event
5049
let viewController = UIHostingController(rootView: NavigationView {
5150
BlogDashboardPersonalizationView(viewModel: .init(blog: self.blog, service: .init(siteID: siteID)))
5251
}.navigationViewStyle(.stack)) // .stack is required for iPad
5352
if UIDevice.isPad() {
5453
viewController.modalPresentationStyle = .formSheet
5554
}
5655
present(viewController, animated: true)
56+
57+
WPAnalytics.trackEvent(.mySiteHeaderPersonalizeHomeTapped)
5758
}
5859
}
5960

WordPress/Classes/ViewRelated/Reader/Detail/Views/ReaderDetailToolbar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ReaderDetailToolbar: UIView, NibLoadable {
3636
}
3737

3838
private var likeCount: Int {
39-
post?.likeCount.intValue ?? 0
39+
post?.likeCount?.intValue ?? 0
4040
}
4141

4242
override func awakeFromNib() {

0 commit comments

Comments
 (0)