From 543d6b9b8f3af18422d3375a77361b76c273f877 Mon Sep 17 00:00:00 2001 From: Mugurell Date: Thu, 1 Oct 2020 09:09:10 +0300 Subject: [PATCH] [components] For https://github.com/mozilla-mobile/android-components/issues/8565 - New RepostPrompt that inform if users don't proceed with reload The prompt for a repost request was previously an instance of Confirm, type used for many other requests. We'll now use a new Repost type that allows easily identifying the particular scenario for a repost request, prompt that will now show a slightly different text and will notify engine observers of "onRepostPromptCancelled" when users asked to refresh the page but then cancelled that operation in the repost prompt, callback used to hide the pull to refresh throbber. X-Channel-Revision: [main] mozilla-mobile/android-components@96444ddbd36acf0987ca531574187647bc74b5f3 X-Channel-Revision: [main] mozilla-mobile/fenix@d039188782084c5475112e6d98ab829c7992e759 X-Channel-Revision: [main] mozilla-mobile/focus-android@a9a09b171665081b4e5f4d426f0e30f22f84ae49 X-Channel-Converted-Revision: [main] mozilla-mobile/firefox-android@79727628dd050b754467c09c0943cd271a6208a9 --- ...mozilla-mobile-firefox-android-android-components.json | 2 +- .../feature/prompts/src/main/res/values/strings.xml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/_meta/mozilla-mobile-firefox-android-android-components.json b/_meta/mozilla-mobile-firefox-android-android-components.json index 71e4b802bbc..0a15c87d94b 100644 --- a/_meta/mozilla-mobile-firefox-android-android-components.json +++ b/_meta/mozilla-mobile-firefox-android-android-components.json @@ -1,6 +1,6 @@ { "name": "mozilla-mobile/firefox-android/android-components", "revs": { - "main": "088830be88028f93779387e0a398a7e1667c6356" + "main": "79727628dd050b754467c09c0943cd271a6208a9" } } \ No newline at end of file diff --git a/mozilla-mobile/android-components/components/feature/prompts/src/main/res/values/strings.xml b/mozilla-mobile/android-components/components/feature/prompts/src/main/res/values/strings.xml index 2b80f38e359..784f975191b 100644 --- a/mozilla-mobile/android-components/components/feature/prompts/src/main/res/values/strings.xml +++ b/mozilla-mobile/android-components/components/feature/prompts/src/main/res/values/strings.xml @@ -87,4 +87,12 @@ Collapse suggested logins Suggested logins + + + Resend data to this site? + Refreshing this page could duplicate recent actions, such as sending a payment or posting a comment twice. + + Resend data + + Cancel