From 2d0283363d4a3036b32236bc1aad7323e4853ece Mon Sep 17 00:00:00 2001 From: Petar Baykov Date: Tue, 21 Apr 2020 15:50:13 +0300 Subject: [PATCH 01/14] Fixes from feedback and test report * Show claim button in mobile but disabled and on click show modal with message * Add more info in show seed phrase page * Disable confirm modal when send tip to unverified url until have endpoint returning problematic for claim urls * Fix of text in edit tip details button * Show better error message when backend payfortx times out (when claim medium url for instance) * Remove cofirm url button when manually enter tip url * Fix problem with showing amount when tx is name claim --- src/popup/locales/en.json | 11 ++- src/popup/router/components/BoxButton.vue | 12 ++- src/popup/router/components/ClaimTips.vue | 90 +++++++++++-------- src/popup/router/components/Loader.vue | 21 +++-- .../router/components/TransactionItem.vue | 7 +- src/popup/router/pages/Account.vue | 3 +- src/popup/router/pages/Receive.vue | 2 +- src/popup/router/pages/Retip.vue | 10 ++- src/popup/router/pages/TipPage.vue | 45 ++++++---- src/popup/utils/helper.js | 5 ++ 10 files changed, 129 insertions(+), 77 deletions(-) diff --git a/src/popup/locales/en.json b/src/popup/locales/en.json index ff4a34837..506291d54 100644 --- a/src/popup/locales/en.json +++ b/src/popup/locales/en.json @@ -176,7 +176,9 @@ "tipsOnUrl": "Tips on this URL", "urlNotExisting": "Tip for this url does not exist", "moreOracles": "There are not enough active oracles to verify your claim request, please try again later.", - "oracleFailed": "Oracle service check claim failed, please try again later." + "oracleFailed": "Oracle service check claim failed, please try again later.", + "unknownError": "Error occured during claim request, please try again later.", + "noMobileClaim": "Claiming is currently only available on the web extension on desktop" }, "accountPassword": { "heading": "", @@ -437,7 +439,7 @@ "decryptingPrivateKey": "Decrypting private key", "showSeedPhrase": "Show seed phrase", "seedRecoveryHeading": "Show seed phrase", - "seedRecoverySmall": "Reveals your 12 words used for generating your private key", + "seedRecoverySmall": "Your seed phrase (also referred to as private key) serves as the keys or a password to access your account. Never disclose this to anyone. And make sure you back it up on a piece of paper that no one else can see—but that you will never lose. Losing these keys means losing access to your wallet and tips", "seedRecoveryBtn": "Show seed phrase", "seedPhraseWarning": "Do not share your seed with anyone, it can be used to steal all your accounts", "seedPhrase": "Your seed phrase", @@ -628,11 +630,12 @@ "availableLabel": "Available", "confirm": "Confirm", "cancel": "Cancel", - "edit": "Edit AE Details", + "edit": "Edit Tip Details", "whatIsVerifieddUrl": "What is \"Verified\" URL?", "whatIsNotVerifiedUrl": "What is \"Not verified\" URL?", "notVerifiedUrlInfo": "This URL has not yet been verified. Third party issues prevent us to ensure that tips will be directly delivered to the URL owner. You are sending the tip at your own risk.", - "verifiedUrlInfo": "If a URL is marked as verified, it means the owner of this URL is already a fellow Superhero — and that is awesome! An AE address has been included in the URL and tips can be claimed." + "verifiedUrlInfo": "If a URL is marked as verified, it means the owner of this URL is already a fellow Superhero — and that is awesome! An AE address has been included in the URL and tips can be claimed.", + "enterUrl": "Enter tip url" }, "successTip": { "sendMore": "Send More AE", diff --git a/src/popup/router/components/BoxButton.vue b/src/popup/router/components/BoxButton.vue index 6f6681fa2..38dd570d3 100644 --- a/src/popup/router/components/BoxButton.vue +++ b/src/popup/router/components/BoxButton.vue @@ -1,6 +1,6 @@ - - @@ -41,7 +46,7 @@