From 38b91f63a21d1563cf88307e280f52836df005db Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Tue, 5 Feb 2019 20:54:28 -0330 Subject: Add togglable advanced gas controls on send and confirm screens (#6112) * Extract advanced gas input controls to their own component * Add advanced inline gas toggle to settings * Add optional advanced inline gas to send send screen * Adds optional advanced gas inputs to the confirm screen * Add info modals for advanced gas inputs. * Fix translation of advance gas toggle description. * Lint and unit test fixes for inline-advanced-gas-inputs * Increase margin above advanced options button on send screen * Move methods from constructor to property syntax in advanced-gas-inputs.component --- app/_locales/en/messages.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'app') diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index c1692ce5e..2ace2c2a8 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -529,6 +529,9 @@ "gasLimitCalculation": { "message": "We calculate the suggested gas limit based on network success rates." }, + "gasLimitInfoModalContent": { + "message": "Gas limit is the maximum amount of units of gas you are willing to spend." + }, "gasLimitRequired": { "message": "Gas Limit Required" }, @@ -547,6 +550,9 @@ "gasPriceExtremelyLow": { "message": "Gas Price Extremely Low" }, + "gasPriceInfoModalContent": { + "message": "Gas price specifies the amount of Ether you are willing to pay for each unit of gas." + }, "gasPriceNoDenom": { "message": "Gas Price" }, @@ -1210,6 +1216,12 @@ "shapeshiftBuy": { "message": "Buy with Shapeshift" }, + "showAdvancedGasInline": { + "message": "Advanced gas controls" + }, + "showAdvancedGasInlineDescription": { + "message": "Select this to show gas price and limit controls directly on the send and confirm screens." + }, "showPrivateKeys": { "message": "Show Private Keys" }, -- cgit v1.2.3