-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Allow editing of gasPrice & gas in Signer #3777
Conversation
}; | ||
|
||
describe('views/Signer/components/SignRequest', () => { | ||
it('renders', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Problematic component, smoketest to test fixes.
@@ -14,52 +14,43 @@ | |||
// You should have received a copy of the GNU General Public License | |||
// along with Parity. If not, see <http://www.gnu.org/licenses/>. | |||
|
|||
import MapsLocalGasStation from 'material-ui/svg-icons/maps/local-gas-station'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing to do with this PR, but I was thinking about this:
What about have an Icons util somewhere in the UI ? We don't use that many icons, but still whenever I want to find the right one I end up going to design.google.com. There might even be some inconsistencies in the app (using different icons for the same purpose).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually a good point, like it. Also conforms more to our approach of using our components and, as you mentioned, makes sure we have consistency.
@@ -72,22 +71,23 @@ export default class TransactionPendingForm extends Component { | |||
if (!isRejectOpen) { | |||
html = <span>reject transaction</span>; | |||
} else { | |||
html = <span><BackIcon />I've changed my mind</span>; | |||
html = <span><BackIcon />{ "I've changed my mind" }</span>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Looks good, finally got that in there ! :) A few things though:
|
Also, I got |
Yes. You need latest Parity - gas was not available via the RPC, it is since yesterday. |
The Props stuff got screwed somewhere in one of my merges. (I had some endless issues losing & conflicting changes each time I swapped branches to this one for some obscure reason.) |
Props re-re-added, fixed minor issue in transfer display |
Everything is working fine.
when editing gas price from the slider/graphic selector |
Changes Unknown when pulling 26b5690 on jg-signer-gas into ** on master**. |
https://youtu.be/nLfi7kUD3o4