1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 21:00:13 +01:00
Commit Graph

58 Commits

Author SHA1 Message Date
Dan J Miller
4fae461a67 [NewUI] Send screen gas loading fixes (#3027)
* Allow entering amount, but disable validation of amount, opening of gas customizer or clicking of next, when gas loading in send.

* Fix variable name.
2018-01-17 20:47:01 -08:00
Alexander Tseung
ccb80594be Readjust gas fees when switching networks on the send screen 2018-01-16 17:26:34 -08:00
Dan
9ced63584b Add constanst for token transfer function signature. 2017-12-20 17:37:18 -08:00
Dan
5fe3c5aae6 Lint fixes. 2017-12-20 17:37:18 -08:00
Dan
bf4043c59b Adds updateTransaction to background and used it to update after editing in send-v2. 2017-12-20 17:37:18 -08:00
Dan
2e9137dddd Update max amount behaviour to meet new specs. 2017-12-06 21:15:39 -08:00
Dan Finlay
c6713e93ad Fix bug where gas param was not a string
Prevented sending transactions.

Fixes #2598
2017-11-21 03:42:46 +08:00
Dan
9e3f921ba9 Create single action for updating all of send in redux state. 2017-11-14 16:18:00 -08:00
Dan
34ca7290c5 Allow editing of send ether. 2017-11-14 16:18:00 -08:00
Dan
08d9ecc045 Cursor pointer and hover background on from and to dropdown items. 2017-11-10 14:14:07 -08:00
Dan
a33ced3994 Focus amount input when click anywhere in amount field container 2017-11-10 14:13:29 -08:00
Dan
5a0126f17b Rounding of vals < 0.01 in currency display consistent with master. 2017-11-10 14:12:26 -08:00
Thomas Huang
5120cfdff3 Linting 2017-11-10 14:07:27 -08:00
Dan
d1977225a4 Calculate max amount for send ether based on minimum gas total. 2017-11-07 21:55:12 -03:30
Dan
c156c85eaa Fix amount max for sending token. 2017-11-07 21:47:14 -03:30
Dan
c57d504794 Add currency-input component to correct send amount behaviour and move currency display value state to parent component. 2017-11-07 20:06:26 -03:30
Dan
8c6e1232e4 Lint fixes. 2017-11-06 16:14:46 -03:30
Dan
716bbf67d7 Set gas price allows for WEI precision. 2017-11-06 16:07:02 -03:30
Dan
319779ab08 Adds max amount feature for send-ether 2017-11-06 16:03:04 -03:30
Dan
67bdfe87e3 Token balance in send state; validating sufficient tokens, validation updates on 'from' switching. 2017-11-06 15:57:57 -03:30
Chi Kei Chan
9f70762434
Merge pull request #2530 from MetaMask/uat
Merge uat into NewUI-flat
2017-11-02 15:20:29 -07:00
Dan
dc0b3255cf Fixes width of from and to dropdowns in extension and on mobile views. 2017-11-02 15:17:34 -07:00
Dan
56e9f98bd0 More lint fixes 2017-11-02 09:45:59 -02:30
Dan
5a94775b3f Lint fixes for NewUI-flat. 2017-11-02 00:00:33 -02:30
Dan
220da24f9a Change min gas price to 0.1 GWEI 2017-10-26 12:25:33 -07:00
Dan
ef2b0d8485 Simply logic for rendering matching accounts in to-autocomplete dropdown. 2017-10-24 16:31:04 -07:00
Dan
07c4c92db6 Style dropdown of to-autocomplete. 2017-10-24 16:31:04 -07:00
Dan
e737a9565a Improve customize gas modal error handling 2017-10-23 22:41:30 -07:00
Dan
09d659614e Cleaner implementation of currency-display input. 2017-10-23 22:40:55 -07:00
Chi Kei Chan
0cbaec16f3 Merge pull request #2433 from danjm/NewUI-flat-precision-improvements
[NewUI] Improves precision of a calculation in send, and in confirm
2017-10-23 11:50:59 -07:00
Dan
b96ba55229 Clear send state on cancelling and signing. 2017-10-23 16:03:48 -02:30
Dan
b3dad510b7 Improve precision in send and confirm. 2017-10-23 15:53:28 -02:30
Chi Kei Chan
8f3b762461 Fix Conversions bugs; Fiat value bugs 2017-10-20 18:26:18 -07:00
Chi Kei Chan
0458643f10 various styling fix on mobile 2017-10-19 14:08:58 -07:00
Dan
332c7441b6 Get currency from state in account details, send and confirm screens. 2017-10-19 16:30:54 -02:30
Dan
59015cccef Min and default gas price, limit, total; comments out code for gas slider. 2017-10-19 16:26:46 -02:30
Dan
f01d119cc1 Fixes mobile styling. 2017-10-19 11:38:14 -07:00
Dan
de1da7d1b2 Fix cancel button on send screen. 2017-10-18 20:21:46 -07:00
Dan
60eda592b5 Handling to and amount errors. 2017-10-18 20:21:46 -07:00
Dan
f81226fbe9 Move all of send state to metamask state. 2017-10-18 20:21:46 -07:00
Dan
4f9ac1c4fe Get from and update addressBook in send-v2 2017-10-18 20:21:46 -07:00
Dan
ac43872c1a Enable send-v2 functionality. 2017-10-17 21:10:09 -04:00
Dan
a9244f5e42 Customize Gas connected to state 2017-10-15 23:09:05 -04:00
Dan J Miller
803eaaf968 [NewUI] SendV2-#8: Send container handles tokens; gas info dynamic from state (#2364)
* Adds memo field to send-v2.

* Vertical align transaction with flexbox.

* Customize Gas UI

* Remove internal state from InputNumber and fix use in gastooltip.

* Move customize-gas-modal to its own folder and minor cleanup

* Create send container, get account info from state, and make currency display more reusable

* Adjusts send-v2 and container for send-token. Dynamically getting suggested gas prices.
2017-10-13 13:19:22 -07:00
Dan
7ec77e0b45 Refactor amount input: dynamic input width with vanilla js. 2017-10-12 11:09:05 -07:00
Dan
2898914a54 Send v2 amount unit moves correctly. 2017-10-12 11:09:05 -07:00
Dan
ea7926c211 Adds amount and gas field to sendV2. 2017-10-12 11:09:05 -07:00
Dan
fbab0f3a1f Send v2 to autocomplete. 2017-10-10 18:19:15 -07:00
Dan
71d6463984 Refactor 'rendersingleidentity' to a stand alone account-list-item component. 2017-10-09 18:24:14 -07:00
Dan
80463072b5 UI for readonly from component. From dropdown opening and closing. Mockdata. 2017-10-09 18:24:14 -07:00