Skip to content

Commit 03619c0

Browse files
committed
Merge branch 'trunk' into issue/16068-android-12-update-target-sdk
# Conflicts: # build.gradle
2 parents e361082 + 7dc0df9 commit 03619c0

435 files changed

Lines changed: 4825 additions & 3656 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.

RELEASE-NOTES.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,18 @@
44
-----
55
* [***] [internal] Updates the target sdk to 31 - Android 12 [https://github.com/wordpress-mobile/WordPress-Android/pull/17153]
66

7+
* [***] Updated About screen for WordPress and Jetpack apps to their respective urls. [https://github.com/wordpress-mobile/WordPress-Android/pull/17282]
8+
* [*] Updates splash screen for Android 12+ [https://github.com/wordpress-mobile/WordPress-Android/pull/17273]
9+
* [*] Fix text color of success messages in the QR code login flow [https://github.com/wordpress-mobile/WordPress-Android/pull/17286]
10+
* [*] Stats: Fix Western Arabic Numerals not being shown on every text of the stats screens in Arabic languages [https://github.com/wordpress-mobile/WordPress-Android/pull/17217]
711

812
20.9
913
-----
1014
* [***] [internal] Redesigned the landing screen of the WordPress and Jetpack apps, behind a feature flag. [https://github.com/wordpress-mobile/WordPress-Android/pull/17203]
1115
* [**] [internal] Added sensor feedback to influence the speed of the scrolling large text on the redesigned Jetpack landing screen based on the vertical rotation of the device. [https://github.com/wordpress-mobile/WordPress-Android/pull/17207]
16+
* [*] Quick Start: Retain Quick Start focus point after device rotation [https://github.com/wordpress-mobile/WordPress-Android/pull/17187]
17+
* [*] Stats: Fix Long title problem on stats cards [https://github.com/wordpress-mobile/WordPress-Android/pull/17084]
18+
* [*] Support "Enter" key for Excerpt editing in Post settings [https://github.com/wordpress-mobile/WordPress-Android/pull/17078]
1219

1320
20.8
1421
-----

WordPress/jetpack_metadata/PlayStoreStrings.po

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ msgstr ""
1111
"Project-Id-Version: Jetpack - Apps - Android - Release Notes\n"
1212

1313
#. translators: Release notes for this version to be displayed in the Play Store. Limit to 500 characters including spaces and commas!
14+
msgctxt "release_note_209"
15+
msgid ""
16+
"20.9:\n"
17+
"- “Get to know your app” flows now stay on screen after rotating your device.\n"
18+
"- Long titles display properly on Stats cards without being cut off.\n"
19+
"- We added the Enter key to Post excerpts to allow for easy line breaks.\n"
20+
msgstr ""
21+
1422
msgctxt "release_note_208"
1523
msgid ""
1624
"20.8:\n"
@@ -19,15 +27,6 @@ msgid ""
1927
"Arabic language users will see numerals on Stats screens exclusively in Western Arabic numbers.\n"
2028
msgstr ""
2129

22-
msgctxt "release_note_207"
23-
msgid ""
24-
"20.7:\n"
25-
"- Jetpack widgets are now available on your device’s home screen\n"
26-
"- Media preview controls are visible in both light and dark mode\n"
27-
"- Compose theme’s Login Code screen has better color contrast\n"
28-
"- Certain elements of the editor and post settings are now WordPress blue\n"
29-
msgstr ""
30-
3130
#. translators: Title to be displayed in the Play Store. Limit to 30 characters including spaces and commas!
3231
msgctxt "play_store_app_title"
3332
msgid "Jetpack – Website Builder"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
* [***] [internal] Redesigned the landing screen of the WordPress and Jetpack apps, behind a feature flag. [https://github.com/wordpress-mobile/WordPress-Android/pull/17203]
2-
* [**] [internal] Added sensor feedback to influence the speed of the scrolling large text on the redesigned Jetpack landing screen based on the vertical rotation of the device. [https://github.com/wordpress-mobile/WordPress-Android/pull/17207]
3-
1+
- “Get to know your app” flows now stay on screen after rotating your device.
2+
- Long titles display properly on Stats cards without being cut off.
3+
- We added the Enter key to Post excerpts to allow for easy line breaks.

WordPress/metadata/PlayStoreStrings.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ msgstr ""
1111
"Project-Id-Version: Release Notes & Play Store Descriptions\n"
1212

1313
#. translators: Release notes for this version to be displayed in the Play Store. Limit to 500 characters including spaces and commas!
14+
msgctxt "release_note_209"
15+
msgid ""
16+
"20.9:\n"
17+
"- “Get to know your app” flows now stay on screen after rotating your device.\n"
18+
"- Long titles display properly on Stats cards without being cut off.\n"
19+
"- We added the Enter key to Post excerpts to allow for easy line breaks.\n"
20+
msgstr ""
21+
1422
msgctxt "release_note_208"
1523
msgid ""
1624
"20.8:\n"
1725
"Users on multi-author sites can change content authors in post and page settings.\n"
1826
"Arabic language users will now see numerals on Stats screens exclusively in Western Arabic numbers—no more mix and match with Eastern Arabic numbers.\n"
1927
msgstr ""
2028

21-
msgctxt "release_note_207"
22-
msgid ""
23-
"20.7:\n"
24-
"We can see clearly now—media preview controls (like the back button) are now visible in both light and dark mode.\n"
25-
"\n"
26-
"The Login Code screen in the Compose theme also has better color contrast for more readable text. Shiny.\n"
27-
msgstr ""
28-
2929
#. translators: Shorter Release notes for this version to be displayed in the Play Store. Limit to 500 characters including spaces and commas!
3030
msgctxt "sample_post_content"
3131
msgid "The best moment of any trip, for me, is when I first step foot off the plane. The whole of the trip is in front me, ripe with possibility."
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
* [***] [internal] Redesigned the landing screen of the WordPress and Jetpack apps, behind a feature flag. [https://github.com/wordpress-mobile/WordPress-Android/pull/17203]
2-
1+
- “Get to know your app” flows now stay on screen after rotating your device.
2+
- Long titles display properly on Stats cards without being cut off.
3+
- We added the Enter key to Post excerpts to allow for easy line breaks.

WordPress/src/androidTest/java/org/wordpress/android/AppInitializerTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import org.wordpress.android.support.BaseTest
1717
class AppInitializerTest : BaseTest() {
1818
@Test
1919
fun verifyOnAppComesFromBackgroundCalled() {
20+
Thread.sleep(100)
2021
assertFalse(WordPress.appIsInTheBackground)
2122
}
2223
}

WordPress/src/androidTest/java/org/wordpress/android/TestUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
import android.content.SharedPreferences;
55
import android.content.SharedPreferences.Editor;
66
import android.database.sqlite.SQLiteDatabase;
7-
import android.preference.PreferenceManager;
87
import android.text.TextUtils;
98

9+
import androidx.preference.PreferenceManager;
10+
1011
import org.greenrobot.eventbus.EventBus;
1112
import org.wordpress.android.util.DateTimeUtils;
1213

WordPress/src/androidTest/java/org/wordpress/android/e2e/BlockEditorTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void setUp() {
3939
+ "<!-- /wp:image --></div>\n";
4040

4141
@Test
42-
public void publishSimplePost() {
42+
public void e2ePublishSimplePost() {
4343
String title = "publishSimplePost";
4444

4545
new MySitesPage()
@@ -55,7 +55,7 @@ public void publishSimplePost() {
5555
}
5656

5757
@Test
58-
public void publishFullPost() {
58+
public void e2ePublishFullPost() {
5959
String title = "publishFullPost";
6060

6161
new MySitesPage()
@@ -75,7 +75,7 @@ public void publishFullPost() {
7575
}
7676

7777
@Test
78-
public void blockEditorCanDisplayElementAddedInHtmlMode() {
78+
public void e2eBlockEditorCanDisplayElementAddedInHtmlMode() {
7979
String title = "blockEditorCanDisplayElementAddedInHtmlMode";
8080

8181
new MySitesPage()

WordPress/src/androidTest/java/org/wordpress/android/e2e/ContactUsTests.java

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package org.wordpress.android.e2e;
22

33
import org.junit.Before;
4-
import org.junit.Ignore;
54
import org.junit.Test;
65
import org.wordpress.android.e2e.flows.LoginFlow;
76
import org.wordpress.android.e2e.pages.ContactSupportScreen;
@@ -18,9 +17,8 @@ public void setUp() {
1817
logoutIfNecessary();
1918
}
2019

21-
@Ignore("Ignored temporarily. This sometimes fail on CI while running with whole test suite.")
2220
@Test
23-
public void sendButtonEnabledWhenTextIsEntered() {
21+
public void e2eSendButtonEnabledWhenTextIsEntered() {
2422
try {
2523
new LoginFlow()
2624
.chooseContinueWithWpCom()
@@ -38,39 +36,16 @@ public void sendButtonEnabledWhenTextIsEntered() {
3836
}
3937
}
4038

41-
@Ignore("As long as CI does not use gradle.properties from MobileSecrets")
4239
@Test
43-
public void messageCanBeSent() {
44-
String userMessageText = "Please ignore, this is an automated test.";
45-
String automatedReplyText = "Mobile support will respond as soon as possible, "
46-
+ "generally within 48-96 hours. "
47-
+ "Please reply with your site address (URL) "
48-
+ "and any additional details we should know.";
49-
50-
try {
51-
new LoginFlow()
52-
.chooseContinueWithWpCom()
53-
.tapHelp()
54-
.openContactUs()
55-
.setMessageText(userMessageText)
56-
.tapSendButton()
57-
.assertUserMessageDelivered(userMessageText)
58-
.assertSystemMessageReceived(automatedReplyText);
59-
} finally {
60-
new ContactSupportScreen().goBackAndDeleteUnsentMessageIfNeeded();
61-
}
62-
}
63-
64-
@Test
65-
public void helpCanBeOpenedWhileEnteringEmail() {
40+
public void e2eHelpCanBeOpenedWhileEnteringEmail() {
6641
new LoginFlow()
6742
.chooseContinueWithWpCom()
6843
.tapHelp()
6944
.assertHelpAndSupportScreenLoaded();
7045
}
7146

7247
@Test
73-
public void helpCanBeOpenedWhileEnteringPassword() {
48+
public void e2eHelpCanBeOpenedWhileEnteringPassword() {
7449
new LoginFlow()
7550
.chooseContinueWithWpCom()
7651
.enterEmailAddress(E2E_WP_COM_USER_EMAIL)

WordPress/src/androidTest/java/org/wordpress/android/e2e/EditorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void setUp() {
5656
// For more info see Issue: https://github.com/wordpress-mobile/WordPress-Android/issues/14389
5757
@Ignore("Classic Editor being deprecated for new posts, test should be adjusted to editing existing classic post")
5858
@Test
59-
public void testPublishSimplePost() {
59+
public void e2ePublishSimplePostClassic() {
6060
String title = "Hello Espresso!";
6161
String content = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
6262

@@ -70,7 +70,7 @@ public void testPublishSimplePost() {
7070
// For more info see Issue: https://github.com/wordpress-mobile/WordPress-Android/issues/14389
7171
@Ignore("Classic Editor being deprecated for new posts, test should be adjusted to editing existing classic post")
7272
@Test
73-
public void testPublishFullPost() {
73+
public void e2ePublishFullPostClassic() {
7474
String title = "Hello Espresso!";
7575
String content = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "
7676
+ "tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud "

0 commit comments

Comments
 (0)