aboutsummaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-12-11 05:51:00 +0800
committerDan Finlay <542863+danfinlay@users.noreply.github.com>2018-12-11 05:51:00 +0800
commit1fbdce8916151df2b31eebc5de29a1365e5dadff (patch)
tree2333aa889dd6a6ec83a1665591006daca8e68859 /development
parent49971e9ec250888746546f62fa176ed129bf9c74 (diff)
downloadtangerine-wallet-browser-1fbdce8916151df2b31eebc5de29a1365e5dadff.tar
tangerine-wallet-browser-1fbdce8916151df2b31eebc5de29a1365e5dadff.tar.gz
tangerine-wallet-browser-1fbdce8916151df2b31eebc5de29a1365e5dadff.tar.bz2
tangerine-wallet-browser-1fbdce8916151df2b31eebc5de29a1365e5dadff.tar.lz
tangerine-wallet-browser-1fbdce8916151df2b31eebc5de29a1365e5dadff.tar.xz
tangerine-wallet-browser-1fbdce8916151df2b31eebc5de29a1365e5dadff.tar.zst
tangerine-wallet-browser-1fbdce8916151df2b31eebc5de29a1365e5dadff.zip
Improve ux for low gas price set (#5862)
* Show user warning if they set gas price below safelow minimum, error if 0. * Properly cache basic price estimate data. * Default retry price to recommended price if original price was 0x0 * Use mock fetch in send-new-ui integration tests.
Diffstat (limited to 'development')
-rw-r--r--development/states/send-edit.json1
-rw-r--r--development/states/send-new-ui.json4
2 files changed, 4 insertions, 1 deletions
diff --git a/development/states/send-edit.json b/development/states/send-edit.json
index a519f30b4..7951b06cf 100644
--- a/development/states/send-edit.json
+++ b/development/states/send-edit.json
@@ -197,6 +197,7 @@
},
"basicEstimateIsLoading": false,
"gasEstimatesLoading": false,
+ "basicPriceAndTimeEstimates": [],
"priceAndTimeEstimates": [
{
"expectedTime": "1374.1168296452973076627",
diff --git a/development/states/send-new-ui.json b/development/states/send-new-ui.json
index 479b6d3e3..fd048596c 100644
--- a/development/states/send-new-ui.json
+++ b/development/states/send-new-ui.json
@@ -139,7 +139,8 @@
"send": {
"fromDropdownOpen": false,
"toDropdownOpen": false,
- "errors": {}
+ "errors": {},
+ "gasButtonGroupShown": true
},
"confirmTransaction": {
"txData": {},
@@ -179,6 +180,7 @@
},
"basicEstimateIsLoading": false,
"gasEstimatesLoading": false,
+ "basicPriceAndTimeEstimates": [],
"priceAndTimeEstimates": [
{
"expectedTime": "1374.1168296452973076627",