Skip to content

Commit 45b5f05

Browse files
committed
Merge branch 'trunk' into core-data-test-case
Conflicts: WordPress/WordPressTest/Dashboard/BlogDashboardServiceTests.swift
2 parents fc8347b + fcb3543 commit 45b5f05

File tree

6 files changed

+52
-53
lines changed

6 files changed

+52
-53
lines changed

WordPress/Jetpack/Resources/AppStoreStrings.po

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,22 @@ msgctxt "app_store_keywords"
3838
msgid "social,notes,jetpack,writing,geotagging,media,blog,website,blogging,journal"
3939
msgstr ""
4040

41-
msgctxt "v19.8-whats-new"
41+
msgctxt "v19.9-whats-new"
4242
msgid ""
43-
"When you Follow Conversation in Reader post cards and post details, in-app notifications are now opt-out rather than opt-in.\n"
43+
"Blocks are now drag-and-drop, so you can easily rearrange your content however you like. We like to move it, move it.\n"
4444
"\n"
45-
"We replaced the quick-start prompt when you log in as an existing user. Now you can tell us what you’d like to focus on and enable notifications for things like site traffic, new followers, and other milestones. Cue confetti.\n"
45+
"That’s not the only change in the block editor. We adjusted color contrast so it’s easier to read text when you’re working in dark mode. We also fixed a problem with the Link To setting in Gallery blocks, and we added Image Size settings while we were at it.\n"
4646
"\n"
47-
"Ready for the grand tour? We made some tweaks to the Stats and Reader tours in the Quick Start section. Now you can move through the tours more smoothly and get more pointers and messages as you go.\n"
47+
"The WordPress.com tour banner no longer pops up in the unsupported block editor. Speaking of tours—you’ll now see a different set of Quick Start tasks, depending on whether you’re building a new site or working with an existing one. Learning new tasks, like checking notifications and uploading media, is a piece of cake.\n"
4848
"\n"
49-
"We also made some sweet, sweet changes to the Block Editor.\n"
49+
"Finally, we squashed some pesky bugs to make the app easier to use.\n"
5050
"\n"
51-
"- You can now adjust Featured Image settings for any posts in a Latest Post block.\n"
52-
"- You’ll see the correct notices when you’re fast-switching between HTML and Visual mode.\n"
53-
"- Media previews are no longer cut off when you edit a URL in an Embed block.\n"
54-
"- If you’re using an iPad with an external keyboard, you’ll no longer see extra space between the toolbar and the bottom of the screen. Mind the gap.\n"
51+
"- Widget text isn’t flipped anymore for devices using right-to-left languages.\n"
52+
"- The app won’t crash when you switch between Stat Insights and other site sections. Phew.\n"
53+
"- In the Posts list, the create button is now visible for iPad users working in split screen.\n"
54+
"- When you change your site title in site settings, it’ll be updated in My Site, too.\n"
55+
"- You’ll see the right message in the media picker when there’s no media available.\n"
56+
"- The navigation buttons in the Site Creation process now scale properly when your device uses large fonts.\n"
5557
msgstr ""
5658

5759
#. translators: This is a promo message that will be attached on top of the first screenshot in the App Store.
Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
* [*] Site Settings: we fixed an issue that prevented the site title to be updated when it changed in Site Settings [#18543]
2-
* [*] Media Picker: Fixed an issue where the empty state view was being displayed incorrectly. [#18471]
3-
* [*] Quick Start: We are now showing a different set of Quick Start tasks for existing sites and new sites. The existing sites checklist includes new tours such as: "Check your notifications" and "Upload photos or videos". [#18395, #18412, #18443, #18471]
4-
* [*] Site Creation: we fixed an issue where the navigation buttons were not scaling when large fonts were selected on the device [#18559]
5-
* [**] Block Editor: Cover Block: Improve color contrast between background and text [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4808]
6-
* [***] Block Editor: Add drag & drop blocks feature [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4832]
7-
* [*] Block Editor: Gallery block: Fix broken "Link To" settings and add "Image Size" settings [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4841]
8-
* [*] Block Editor: Unsupported Block Editor: Prevent WordPress.com tour banner from displaying. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4820]
9-
* [*] Widgets: we fixed an issue where text appeared flipped in rtl languages [#18567]
10-
* [*] Stats: we fixed a crash that occurred sometimes in Stats [#18613]
11-
* [*] Posts list: we fixed an issue where the create button was not shown on iPad in split screen [#18609]
1+
Blocks are now drag-and-drop, so you can easily rearrange your content however you like. We like to move it, move it.
122

3+
That’s not the only change in the block editor. We adjusted color contrast so it’s easier to read text when you’re working in dark mode. We also fixed a problem with the Link To setting in Gallery blocks, and we added Image Size settings while we were at it.
4+
5+
The WordPress.com tour banner no longer pops up in the unsupported block editor. Speaking of tours—you’ll now see a different set of Quick Start tasks, depending on whether you’re building a new site or working with an existing one. Learning new tasks, like checking notifications and uploading media, is a piece of cake.
6+
7+
Finally, we squashed some pesky bugs to make the app easier to use.
8+
9+
- Widget text isn’t flipped anymore for devices using right-to-left languages.
10+
- The app won’t crash when you switch between Stat Insights and other site sections. Phew.
11+
- In the Posts list, the create button is now visible for iPad users working in split screen.
12+
- When you change your site title in site settings, it’ll be updated in My Site, too.
13+
- You’ll see the right message in the media picker when there’s no media available.
14+
- The navigation buttons in the Site Creation process now scale properly when your device uses large fonts.

WordPress/Resources/AppStoreStrings.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,22 @@ msgctxt "app_store_keywords"
4545
msgid "blogger,writing,blogging,web,maker,online,store,business,make,create,write,blogs"
4646
msgstr ""
4747

48-
msgctxt "v19.8-whats-new"
48+
msgctxt "v19.9-whats-new"
4949
msgid ""
50-
"You can now upload videos of any length to self-hosted sites—the only limit is your own imagination. (Oh, and the 2 GB file size limit, we guess.)\n"
50+
"Blocks are now drag-and-drop, so you can easily rearrange your content however you like. We like to move it, move it.\n"
5151
"\n"
52-
"When you Follow Conversation in Reader post cards and post details, in-app notifications are now opt-out rather than opt-in.\n"
52+
"That’s not the only change in the block editor. We adjusted color contrast so it’s easier to read text when you’re working in dark mode. We also fixed a problem with the Link To setting in Gallery blocks, and we added Image Size settings while we were at it.\n"
5353
"\n"
54-
"We replaced the quick-start prompt when you log in as an existing user. Now you can tell us what you’d like to focus on and enable notifications for things like site traffic, new followers, and other milestones. Cue confetti.\n"
54+
"The WordPress.com tour banner no longer pops up in the unsupported block editor. Speaking of tours—you’ll now see a different set of Quick Start tasks, depending on whether you’re building a new site or working with an existing one. Learning new tasks, like checking notifications and uploading media, is a piece of cake.\n"
5555
"\n"
56-
"Ready for the grand tour? We made some tweaks to the Stats and Reader tours in the Quick Start section. Now you can move through the tours more smoothly and get more pointers and messages as you go.\n"
56+
"Finally, we squashed some pesky bugs to make the app easier to use.\n"
5757
"\n"
58-
"We also made some sweet, sweet changes to the Block Editor.\n"
59-
"\n"
60-
"- You can now adjust Featured Image settings for any posts in a Latest Post block.\n"
61-
"- You’ll see the correct notices when you’re fast-switching between HTML and Visual mode.\n"
62-
"- Media previews are no longer cut off when you edit a URL in an Embed block.\n"
63-
"- If you’re using an iPad with an external keyboard, you’ll no longer see extra space between the toolbar and the bottom of the screen. Mind the gap.\n"
58+
"- Widget text isn’t flipped anymore for devices using right-to-left languages.\n"
59+
"- The app won’t crash when you switch between Stat Insights and other site sections. Phew.\n"
60+
"- In the Posts list, the create button is now visible for iPad users working in split screen.\n"
61+
"- When you change your site title in site settings, it’ll be updated in My Site, too.\n"
62+
"- You’ll see the right message in the media picker when there’s no media available.\n"
63+
"- The navigation buttons in the Site Creation process now scale properly when your device uses large fonts.\n"
6464
msgstr ""
6565

6666
#. translators: This is a standard chunk of text used to tell a user what's new with a release when nothing major has changed.

WordPress/Resources/release_notes.txt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
* [*] Site Settings: we fixed an issue that prevented the site title to be updated when it changed in Site Settings [#18543]
2-
* [*] Media Picker: Fixed an issue where the empty state view was being displayed incorrectly. [#18471]
3-
* [*] Quick Start: We are now showing a different set of Quick Start tasks for existing sites and new sites. The existing sites checklist includes new tours such as: "Check your notifications" and "Upload photos or videos". [#18395, #18412, #18443, #18471]
4-
* [*] Site Creation: we fixed an issue where the navigation buttons were not scaling when large fonts were selected on the device [#18559]
5-
* [**] Block Editor: Cover Block: Improve color contrast between background and text [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4808]
6-
* [***] Block Editor: Add drag & drop blocks feature [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4832]
7-
* [*] Block Editor: Gallery block: Fix broken "Link To" settings and add "Image Size" settings [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4841]
8-
* [*] Block Editor: Unsupported Block Editor: Prevent WordPress.com tour banner from displaying. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4820]
9-
* [*] Widgets: we fixed an issue where text appeared flipped in rtl languages [#18567]
10-
* [*] Stats: we fixed a crash that occurred sometimes in Stats [#18613]
11-
* [*] Posts list: we fixed an issue where the create button was not shown on iPad in split screen [#18609]
1+
Blocks are now drag-and-drop, so you can easily rearrange your content however you like. We like to move it, move it.
122

3+
That’s not the only change in the block editor. We adjusted color contrast so it’s easier to read text when you’re working in dark mode. We also fixed a problem with the Link To setting in Gallery blocks, and we added Image Size settings while we were at it.
4+
5+
The WordPress.com tour banner no longer pops up in the unsupported block editor. Speaking of tours—you’ll now see a different set of Quick Start tasks, depending on whether you’re building a new site or working with an existing one. Learning new tasks, like checking notifications and uploading media, is a piece of cake.
6+
7+
Finally, we squashed some pesky bugs to make the app easier to use.
8+
9+
- Widget text isn’t flipped anymore for devices using right-to-left languages.
10+
- The app won’t crash when you switch between Stat Insights and other site sections. Phew.
11+
- In the Posts list, the create button is now visible for iPad users working in split screen.
12+
- When you change your site title in site settings, it’ll be updated in My Site, too.
13+
- You’ll see the right message in the media picker when there’s no media available.
14+
- The navigation buttons in the Site Creation process now scale properly when your device uses large fonts.

WordPress/WordPressTest/Dashboard/BlogDashboardServiceTests.swift

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ import Nimble
33

44
@testable import WordPress
55

6-
/// This test stuite is clashing with other tests
7-
/// Specifically:
8-
/// - [BlogJetpackTest testJetpackSetupDoesntReplaceDotcomAccount]
9-
/// - CommentServiceTests.testFailingFetchCommentLikesShouldCallFailureBlock()
10-
///
11-
/// We weren't able to figure out why but it seems a race condition + Core data
12-
/// For now, renaming the suite to change the execution order solves the issue.
13-
class ZBlogDashboardServiceTests: CoreDataTestCase {
6+
class BlogDashboardServiceTests: CoreDataTestCase {
147
private var context: NSManagedObjectContext!
158

169
private var service: BlogDashboardService!
@@ -257,7 +250,7 @@ class ZBlogDashboardServiceTests: CoreDataTestCase {
257250
}
258251

259252
func dictionary(from file: String) -> NSDictionary? {
260-
let fileURL: URL = Bundle(for: ZBlogDashboardServiceTests.self).url(forResource: file, withExtension: nil)!
253+
let fileURL: URL = Bundle(for: BlogDashboardServiceTests.self).url(forResource: file, withExtension: nil)!
261254
let data: Data = try! Data(contentsOf: fileURL)
262255
return try? JSONSerialization.jsonObject(with: data, options: []) as? NSDictionary
263256
}
@@ -292,7 +285,7 @@ class DashboardServiceRemoteMock: DashboardServiceRemote {
292285
didCallWithBlogID = blogID
293286
didRequestCards = cards
294287

295-
if let fileURL: URL = Bundle(for: ZBlogDashboardServiceTests.self).url(forResource: respondWith.rawValue, withExtension: nil),
288+
if let fileURL: URL = Bundle(for: BlogDashboardServiceTests.self).url(forResource: respondWith.rawValue, withExtension: nil),
296289
let data: Data = try? Data(contentsOf: fileURL),
297290
let jsonObject = try? JSONSerialization.jsonObject(with: data, options: []) as AnyObject {
298291
success(jsonObject as! NSDictionary)

WordPress/WordPressTest/Dashboard/DashboardCardTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class MockDefaultSectionProvider: DefaultSectionProvider {
99
}
1010
}
1111

12-
class ZDashboardCardTests: CoreDataTestCase {
12+
class DashboardCardTests: CoreDataTestCase {
1313

1414
private var context: NSManagedObjectContext!
1515
private var blog: Blog!

0 commit comments

Comments
 (0)