From c907ed6cc7e7876d6b632a738e1127d5d81b8f7d 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@cf522a7e00e5f3cd62c628ee6a4e5f57b1febad0 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d77dde61ea23acb4747c1a357ca9c863708 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8522c84837c49b8a480892613e23cd2485 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@79727628dd050b754467c09c0943cd271a6208a9 --- _meta/mozilla-mobile-firefox-android.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.json b/_meta/mozilla-mobile-firefox-android.json index c93de100a26..f1e7f9872c6 100644 --- a/_meta/mozilla-mobile-firefox-android.json +++ b/_meta/mozilla-mobile-firefox-android.json @@ -1,6 +1,6 @@ { "name": "mozilla-mobile/firefox-android", "revs": { - "ac-prep": "088830be88028f93779387e0a398a7e1667c6356" + "ac-prep": "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