Skip to content

Commit eba45bc

Browse files
authored
Merge pull request #15651 from wordpress-mobile/release/18.8
Merge release/18.8 to develop (Release Notes + 18.8-rc-2)
2 parents eab9ded + b4094c6 commit eba45bc

File tree

59 files changed

+938
-694
lines changed

Some content is hidden

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

59 files changed

+938
-694
lines changed

WordPress/jetpack_metadata/PlayStoreStrings.po

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,24 @@ 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_188"
15+
msgid ""
16+
"18.8:\n"
17+
"- Get link suggestions instead of auto-populated clipboard links for Button and Image blocks.\n"
18+
"- Click "Copy Link" to share published post links.\n"
19+
"- Inserter menu tabs match your device's language.\n"
20+
"- Device media options open when creating a Gallery block.\n"
21+
"- Font size bug and RTL visual issues are resolved.\n"
22+
"- Edit Embed block link in Block Settings.\n"
23+
msgstr ""
24+
1425
msgctxt "release_note_187"
1526
msgid ""
1627
"18.7:\n"
1728
"- We expanded the "Link To" setting for the image block to include "Media File" and "Attachment Page" options alongside the preexisting "Custom URL" option.\n"
1829
"- We solved a problem with content autosaves so they now run more smoothly.\n"
1930
msgstr ""
2031

21-
msgctxt "release_note_186"
22-
msgid ""
23-
"18.6:\n"
24-
"- You can now use the Mark HTML tag and change the Search block button's text and background color.\n"
25-
"- Native editor onboarding features are available to everyone, including the new block badge.\n"
26-
"- The Help screen won't break out of its box when rotated between portrait and landscape.\n"
27-
"- We fixed more loading glitches in the Embed block.\n"
28-
msgstr ""
29-
3032
#. translators: Short description of the Jetpack app to be displayed in the Play Store. Limit to 80 characters including spaces and commas!
3133
msgctxt "short-description"
3234
msgid "Get powerful security and performance tools in your pocket."
Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
* [*] Users can now upload files to forms when using the Preview within the editor. [https://github.com/wordpress-mobile/WordPress-Android/pull/15572]
2-
* [**] Posts List: Adds copy post link functionality [https://github.com/wordpress-mobile/WordPress-Android/pull/15570]
3-
* [*] Editor: Replace snackbar with compact notice when switching between HTML or Visual mode [https://github.com/wordpress-mobile/WordPress-Android/pull/15583]
4-
* [*] Fixed an issue where multiple screens were rendered incorrectly in RTL interface languages [https://github.com/wordpress-mobile/WordPress-Android/pull/15597]
5-
* [*] Updated UI of post comments [https://github.com/wordpress-mobile/WordPress-Android/pull/15595]
6-
* [**] Block editor: Add clipboard link suggestion to image block and button block. [https://github.com/WordPress/gutenberg/pull/35972]
7-
* [*] Block editor: Embed block: Include link in block settings. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4189]
8-
* [**] Block editor: Fix tab titles translation of inserter menu. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4248]
9-
* [**] Block editor: Gallery block: When a gallery block is added, the media options are auto opened for v2 of the Gallery block. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4277]
10-
* [*] Block editor: Media & Text block: Fix an issue where the text font size would be bigger than expected in some cases. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4252]
11-
12-
1+
- Get link suggestions instead of auto-populated clipboard links for Button and Image blocks.
2+
- Click "Copy Link" to share published post links.
3+
- Inserter menu tabs match your device's language.
4+
- Device media options open when creating a Gallery block.
5+
- Font size bug and RTL visual issues are resolved.
6+
- Edit Embed block link in Block Settings.

WordPress/metadata/PlayStoreStrings.po

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,24 @@ 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_188"
15+
msgid ""
16+
"18.8:\n"
17+
"- Get link suggestions instead of auto-populated clipboard links for Button and Image blocks.\n"
18+
"- Click "Copy Link" to share published post links.\n"
19+
"- Inserter menu tabs match your device's language.\n"
20+
"- Device media options open when creating a Gallery block.\n"
21+
"- Font size bug and RTL visual issues are resolved.\n"
22+
"- Edit Embed block link in Block Settings.\n"
23+
msgstr ""
24+
1425
msgctxt "release_note_187"
1526
msgid ""
1627
"18.7:\n"
1728
"- We expanded the "Link To" setting for the image block to include "Media File" and "Attachment Page" options alongside the preexisting "Custom URL" option.\n"
1829
"- We solved a problem with content autosaves so they now run more smoothly.\n"
1930
msgstr ""
2031

21-
msgctxt "release_note_186"
22-
msgid ""
23-
"18.6:\n"
24-
"- You can now use the Mark HTML tag and change the Search block button's text and background color.\n"
25-
"- Native editor onboarding features are available to everyone, including the new block badge.\n"
26-
"- The Help screen won't break out of its box when rotated between portrait and landscape.\n"
27-
"- We fixed more loading glitches in the Embed block.\n"
28-
msgstr ""
29-
3032
msgctxt "sample_post_content"
3133
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."
3234
msgstr ""

WordPress/metadata/release_notes.txt

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
* [*] Users can now upload files to forms when using the Preview within the editor. [https://github.com/wordpress-mobile/WordPress-Android/pull/15572]
2-
* [**] Posts List: Adds copy post link functionality [https://github.com/wordpress-mobile/WordPress-Android/pull/15570]
3-
* [*] Editor: Replace snackbar with compact notice when switching between HTML or Visual mode [https://github.com/wordpress-mobile/WordPress-Android/pull/15583]
4-
* [*] Fixed an issue where multiple screens were rendered incorrectly in RTL interface languages [https://github.com/wordpress-mobile/WordPress-Android/pull/15597]
5-
* [*] Updated UI of post comments [https://github.com/wordpress-mobile/WordPress-Android/pull/15595]
6-
* [**] Block editor: Add clipboard link suggestion to image block and button block. [https://github.com/WordPress/gutenberg/pull/35972]
7-
* [*] Block editor: Embed block: Include link in block settings. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4189]
8-
* [**] Block editor: Fix tab titles translation of inserter menu. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4248]
9-
* [**] Block editor: Gallery block: When a gallery block is added, the media options are auto opened for v2 of the Gallery block. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4277]
10-
* [*] Block editor: Media & Text block: Fix an issue where the text font size would be bigger than expected in some cases. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4252]
11-
12-
1+
- Get link suggestions instead of auto-populated clipboard links for Button and Image blocks.
2+
- Click "Copy Link" to share published post links.
3+
- Inserter menu tabs match your device's language.
4+
- Device media options open when creating a Gallery block.
5+
- Font size bug and RTL visual issues are resolved.
6+
- Edit Embed block link in Block Settings.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
package org.wordpress.android.ui.about
2+
3+
import org.wordpress.android.analytics.AnalyticsTracker.Stat
4+
import org.wordpress.android.util.analytics.AnalyticsTrackerWrapper
5+
import javax.inject.Inject
6+
import javax.inject.Singleton
7+
8+
@Singleton
9+
class UnifiedAboutTracker @Inject constructor(
10+
private val analyticsTrackerWrapper: AnalyticsTrackerWrapper
11+
) {
12+
fun trackScreenShown(screen: String) {
13+
analyticsTrackerWrapper.track(
14+
stat = Stat.ABOUT_SCREEN_SHOWN,
15+
properties = mapOf(
16+
Property.SCREEN.value to screen
17+
)
18+
)
19+
}
20+
21+
fun trackScreenDismissed(screen: String) {
22+
analyticsTrackerWrapper.track(
23+
stat = Stat.ABOUT_SCREEN_DISMISSED,
24+
properties = mapOf(
25+
Property.SCREEN.value to screen
26+
)
27+
)
28+
}
29+
30+
fun trackButtonTapped(button: String) {
31+
analyticsTrackerWrapper.track(
32+
stat = Stat.ABOUT_SCREEN_BUTTON_TAPPED,
33+
properties = mapOf(
34+
Property.BUTTON.value to button
35+
)
36+
)
37+
}
38+
39+
enum class Property(val value: String) {
40+
SCREEN("screen"),
41+
BUTTON("button")
42+
}
43+
}

WordPress/src/main/java/org/wordpress/android/ui/about/UnifiedAboutViewModel.kt

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import androidx.lifecycle.LiveData
44
import androidx.lifecycle.MutableLiveData
55
import androidx.lifecycle.ViewModel
66
import com.automattic.about.model.AboutConfig
7+
import com.automattic.about.model.AnalyticsConfig
78
import com.automattic.about.model.HeaderConfig
89
import com.automattic.about.model.LegalConfig
910
import com.automattic.about.model.RateUsConfig
@@ -30,7 +31,8 @@ class UnifiedAboutViewModel @Inject constructor(
3031
private val contextProvider: ContextProvider,
3132
private val wpUrlUtils: WpUrlUtilsWrapper,
3233
private val recommendApiCallsProvider: RecommendApiCallsProvider,
33-
private val buildConfig: BuildConfigWrapper
34+
private val buildConfig: BuildConfigWrapper,
35+
private val unifiedAboutTracker: UnifiedAboutTracker
3436
) : ViewModel() {
3537
private val _onNavigation = MutableLiveData<Event<UnifiedAboutNavigationAction>>()
3638
val onNavigation: LiveData<Event<UnifiedAboutNavigationAction>> = _onNavigation
@@ -47,7 +49,12 @@ class UnifiedAboutViewModel @Inject constructor(
4749
privacyPolicyUrl = Constants.URL_PRIVACY_POLICY,
4850
acknowledgementsUrl = WP_ACKNOWLEDGEMENTS_URL
4951
),
50-
onDismiss = ::onDismiss
52+
onDismiss = ::onDismiss,
53+
analyticsTracker = AnalyticsConfig(
54+
trackScreenShown = ::trackScreenShown,
55+
trackScreenDismissed = ::trackScreenDismissed,
56+
trackButtonTapped = ::trackButtonTapped
57+
)
5158
)
5259

5360
private suspend fun createShareConfig(): ShareConfig {
@@ -74,4 +81,16 @@ class UnifiedAboutViewModel @Inject constructor(
7481
private const val WP_ACKNOWLEDGEMENTS_URL = "file:///android_asset/licenses.html"
7582
private const val WP_APPS_URL = "https://apps.wordpress.com/"
7683
}
84+
85+
private fun trackScreenShown(screen: String) {
86+
unifiedAboutTracker.trackScreenShown(screen = screen)
87+
}
88+
89+
private fun trackScreenDismissed(screen: String) {
90+
unifiedAboutTracker.trackScreenDismissed(screen = screen)
91+
}
92+
93+
private fun trackButtonTapped(button: String) {
94+
unifiedAboutTracker.trackButtonTapped(button = button)
95+
}
7796
}

WordPress/src/main/res/values-ar/strings.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -573,15 +573,13 @@ Language: ar
573573
<string name="my_site_header_jetpack">Jetpack</string>
574574
<string name="my_site_btn_jetpack_settings">إعدادات Jetpack</string>
575575
<string name="new_site_creation_domain_header_title">اختيار نطاق</string>
576-
<string name="reader_follow_comments_unsubscribe_success">تم إلغاء الاشتراك من التعليقات بنجاح</string>
577576
<string name="reader_follow_comments_get_status_error">خطأ في جلب حالة الاشتراك للمقالة</string>
578577
<string name="reader_follow_comments_could_not_subscribe_error">لا يمكن الاشتراك في التعليقات لهذه المقالة</string>
579578
<string name="reader_follow_comments_could_not_unsubscribe_error">لا يمكن إلغاء الاشتراك في التعليقات لهذه المقالة</string>
580579
<string name="reader_btn_following_comments">متابعة المحادثة عبر البريد الإلكتروني</string>
581580
<string name="reader_btn_follow_comments">تابع المحادثة عبر البريد الإلكتروني</string>
582581
<string name="activity_log_activity_type_filter_apply">تطبيق</string>
583582
<string name="activity_log_activity_type_filter_clear">مسح</string>
584-
<string name="reader_follow_comments_subscribe_success">لقد اشتركت بالتعليقات بنجاح</string>
585583
<string name="reader_follow_comments_null_response">لم يتم تلقي أي ردّ</string>
586584
<string name="reader_follow_comments_bad_format_response">تم تلقي ردّ غير صالح</string>
587585
<string name="dialog_edit_story_unsupported_format_message">لم تتم إضافة شريحة واحدة أو أكثر إلى قصتك لأن القصص لا تدعم ملفات GIF في الوقت الحالي. الرجاء اختيار صورة ثابتة أو خلفية فيديو بدلاً من ذلك.</string>
@@ -1811,14 +1809,11 @@ Language: ar
18111809
<string name="notification_settings_switch_desc">الإشعارات</string>
18121810
<string name="jetpack_connection_failed_with_reason">فشل الاتصال بـ Jetpack: %s</string>
18131811
<string name="jetpack_already_connected_toast">أنت متصل بالفعل بـ Jetpack</string>
1814-
<string name="menu_undo_snackbar_action">تراجع</string>
18151812
<string name="menu_visual_mode">الوضع المرئي</string>
18161813
<string name="menu_html_mode">وضع HTML</string>
18171814
<string name="menu_preview">معاينة</string>
18181815
<string name="menu_save_as_draft">حفظ كمسودة</string>
18191816
<string name="file_size_in_terabytes">%s تيرابايت</string>
1820-
<string name="menu_html_mode_done_snackbar">تم التبديل إلى وضع HTML</string>
1821-
<string name="menu_visual_mode_done_snackbar">تم التبديل إلى الوضع المرئي</string>
18221817
<string name="file_size_in_gigabytes">%s جيجابايت</string>
18231818
<string name="file_size_in_megabytes">%s ميجابايت</string>
18241819
<string name="file_size_in_kilobytes">%s كيلوبايت</string>
@@ -2896,7 +2891,6 @@ Language: ar
28962891
<string name="comment_status_approved">تمّت الموافقة</string>
28972892
<string name="share_link">رابط المشاركة</string>
28982893
<string name="reader_empty_posts_in_tag_updating">يتم الآن جلب المقالات …</string>
2899-
<string name="reader_label_reply">رد</string>
29002894
<string name="reader_likes_you_and_multi">أنت و %,d آخرون أحببتم هذا</string>
29012895
<string name="reader_likes_multi">%,d أحبوا هذا</string>
29022896
<string name="cant_share_no_visible_blog">لا تستطيع مشاركتها إلى ووردبريس بدون أن تجعل المدونة مرئية</string>

WordPress/src/main/res/values-az/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ Language: az
185185
<string name="notifications_empty_all">Bildiriş yoxdur…</string>
186186
<string name="share_link">Bağlantını paylaş</string>
187187
<string name="reader_empty_posts_in_tag_updating">Yazılar gətirilir…</string>
188-
<string name="reader_label_reply">Cavab</string>
189188
<string name="comment_spammed">Şərh spam olaraq işarələnmişdir</string>
190189
<string name="reader_likes_multi">%,d şəxs bunu bəyənir</string>
191190
<string name="reader_likes_you_and_multi">Siz və bir digər şəxs %,d bunu bəyənir</string>

WordPress/src/main/res/values-bg/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,6 @@ Language: bg
759759
<string name="reader_empty_posts_in_tag_updating">Извличане на публикации…</string>
760760
<string name="reader_likes_you_and_multi">Вие и %,d още харесахте това</string>
761761
<string name="reader_likes_multi">%,d човека харесаха това</string>
762-
<string name="reader_label_reply">Отговор</string>
763762
<string name="comment_spammed">Коментарът е отбелязан като спам</string>
764763
<string name="cant_share_no_visible_blog">Не можете да споделяте към WordPress без видим блог</string>
765764
<string name="reader_likes_you_and_one">Вие и още някой харесвате това.</string>

0 commit comments

Comments
 (0)