aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send
Commit message (Collapse)AuthorAgeFilesLines
* Metametrics (#6171)Dan J Miller2019-03-058-11/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add metametrics provider and util. * Add backend api and state for participating in metametrics. * Add frontend action for participating in metametrics. * Add metametrics opt-in screen. * Add metametrics events to first time flow. * Add metametrics events for route changes * Add metametrics events for send and confirm screens * Add metametrics events to dropdowns, transactions, log in and out, settings, sig requests and main screen * Ensures each log in is measured as a new visit by metametrics. * Ensure metametrics is called with an empty string for dimensions params if specified * Adds opt in metametrics modal after unlock for existing users * Adds settings page toggle for opting in and out of MetaMetrics * Switch metametrics dimensions to page level scope * Lint, test and translation fixes for metametrics. * Update design for metametrics opt-in screen * Complete responsive styling of metametrics-opt-in modal * Use new chart image on metrics opt in screens * Incorporate the metametrics opt-in screen into the new onboarding flow * Update e2e tests to accomodate metametrics changes * Mock out metametrics network requests in integration tests * Fix tx-list integration test to support metametrics provider. * Send number of tokens and accounts data with every metametrics event. * Update metametrics event descriptor schema and add new events. * Fix import tos bug and send gas button bug due to metametrics changes. * Various small fixes on the metametrics branch. * Add origin custom variable type to metametrics.util * Fix names of onboarding complete actions (metametrics). * Fix names of Metrics Options actions (metametrics). * Clean up code related to metametrics. * Fix bad merge conflict resolution and improve promise handling in sendMetaMetrics event and confrim tx base * Don't send a second metrics event if user has gone back during first time flow. * Collect metametrics on going back from onboarding create/import. * Add missing custom variable constants for metametrics * Fix metametrics provider * Make height of opt-in modal responsive. * Adjust text content for opt-in modal. * Update metametrics event names and clean up code in opt-in-modal * Put phishing warning step next to last in onboarding flow * Link terms of service on create and import screens of first time flow * Add subtext to options on the onboarding select action screen. * Fix styling of bullet points on end of onboarding screen. * Combine phishing warning and congratulations screens. * Fix placement of users if unlocking after an incomplete onboarding import flow. * Fix capitalization in opt-in screen * Fix last onboarding screen translations * Add link to 'Learn More' on the last screen of onboarding * Code clean up: metametrics branch * Update e2e tests for phishing warning step removal * e2e tests passing on metametrics branch * Different tracking urls for metametrics on development and prod
* Show/Hide Fiat on Testnets based on User Preference (#6153)Chi Kei Chan2019-02-274-14/+79
|
* Fix gas estimation when sending to contracts (#6195)Dan J Miller2019-02-265-7/+15
| | | | | * Fix gas estimation when sending to contracts * Fix calculating of balance sufficiency and tx params when sending token transaction
* Fixed issue #5838 (#6001)Jonathan Smirnoff2019-02-144-8/+11
| | | Update changelog file
* Add e2e tests adjusting gas before sendingWhymarrh Whitby2019-02-091-2/+6
|
* Fix inline advanced gas editingWhymarrh Whitby2019-02-092-29/+13
|
* Set custom gas data in state from inline advance gas controls on send screen ↵Dan J Miller2019-02-072-2/+11
| | | | (#6114)
* Add togglable advanced gas controls on send and confirm screens (#6112)Dan J Miller2019-02-063-30/+153
| | | | | | | | | | | | | | | | | | | | * 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
* Default to the new UI for all usersWhymarrh Whitby2019-02-051-1/+1
|
* Remove commented references to Beta UIWhymarrh Whitby2019-02-051-18/+0
|
* Add visual indicator when displaying a cached balance (#5854)Dan J Miller2019-01-305-10/+42
|
* Prevent send to token warning (#6058)Esteban Miño2019-01-2415-10/+199
|
* Prevent send to token (#6051)Esteban Miño2019-01-238-3/+63
| | | | | | | | | | | | | | * check contact metadata * check for tokens in state * tests * update tests * validation only if sending tokens * container test
* Prevent users from changing the From field in the send screen (#5922)Alexander Tseung2018-12-1416-408/+27
| | | | | | * Prevent users from changing the From field in the send screen * Fix integration tests
* Uses more reliable api on main send screen; caches basic api results in modalDan Miller2018-12-046-25/+9
|
* Fixes for components that break e2e gas customization tests, plus unit test ↵Dan Miller2018-12-046-17/+43
| | | | updates.
* Read only connection of gas price chart to reduxDan Miller2018-12-043-11/+36
|
* Lint and unit test fixes.Dan Miller2018-12-041-1/+1
|
* Test updates and additions for button integration with send screen.Dan Miller2018-12-047-16/+150
|
* Integrate gas buttons with the send screen.Dan Miller2018-12-044-16/+76
|
* Connects remained of the gas customization component to redux.Dan Miller2018-12-046-38/+43
|
* Connect the gas-button-group component to redux and a live api.Dan Miller2018-12-043-0/+20
|
* Save recent network balances in local storage (#5843)Dan J Miller2018-12-011-7/+8
| | | | | | | | | | | | * Use selector for state.metamask.accounts in all cases. * Default to cached balance when selecting metamask accounts * Adds the cached-balances controller * Documentation and small codes fixes for #5843 Co-Authored-By: danjm <danjm.com@gmail.com>
* Fix rounding issue when sending max tokens (#5695)Alexander Tseung2018-11-2017-48/+47
| | | | | | | | | | * Fix rounding issue when sending max tokens * Ensure amount row shows exact amount of max tokens on send screen (#2) * Fix tests * Change stored redux value from BigNumber to hex string. Fix TokenInput default value
* Merge pull request #5567 from MetaMask/HowardBraham-developkumavis2018-10-301-1/+3
|\ | | | | Feature: Warn when attempting to send tx with data to non-contract
| * Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-10-261-1/+0
| |\ | | | | | | | | | HowardBraham-develop
| * | ui - use variable to clarify result of emptiness checkkumavis2018-10-211-1/+3
| | |
| * | Merge branch 'develop' into developkumavis2018-10-2112-392/+96
| |\ \
| * | | ganache-core merged my PR, so I changed some comments to clarify that ↵Howard Braham2018-10-101-1/+1
| | | | | | | | | | | | | | | | ganache-core v2.2.1 and below will return the non-standard '0x0'
| * | | Bug Fix: #1789 and #4525 eth.getCode() with no contractHoward Braham2018-10-101-1/+1
| | | |
* | | | Add support for RPC endpoints with custom chain IDs (#5134)HackyMiner2018-10-266-0/+21
| |_|/ |/| |
* | | Add Activity Log entry for onchain failures for a transaction. Change ↵Alexander Tseung2018-10-231-1/+0
| |/ |/| | | | | scrolling of the transaction list. Remove Transaction Details modal. (#5581)
* | Adds toggle for primary currency (#5421)Alexander Tseung2018-10-179-372/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add UnitInput component * Add CurrencyInput component * Add UserPreferencedCurrencyInput component * Add UserPreferencedCurrencyDisplay component * Add updatePreferences action * Add styles for CurrencyInput, CurrencyDisplay, and UnitInput * Update SettingsTab page with Primary Currency toggle * Refactor currency displays and inputs to use UserPreferenced displays and inputs * Add TokenInput component * Add UserPreferencedTokenInput component * Use TokenInput in the send screen * Fix unit tests * Fix e2e and integration tests * Remove send/CurrencyDisplay component * Replace diamond unicode character with Eth logo. Fix typos
* | Decrease click area for AmountMaxButton on send screenWhymarrh Whitby2018-10-162-19/+24
| |
* | Make all addresses EIP-55 compliant (#5379)bakaoh2018-10-101-1/+2
|/ | | | | | * Make all addresses EIP-55 compliant * Checksum autocompleted address but not during input
* Recipient not required on send screen when hex data presentWhymarrh Whitby2018-10-015-4/+17
|
* Rework estimateGas logicWhymarrh Whitby2018-10-011-10/+10
| | | | The tests still pass!
* Update gas when hex data changes on send screenWhymarrh Whitby2018-10-018-14/+54
|
* Update send.utils.test to with better mocksWhymarrh Whitby2018-10-011-5/+8
|
* Allow sending transactions with hex data and no recipientWhymarrh Whitby2018-10-011-2/+2
|
* Some Ui teststmashuang2018-09-251-0/+91
|
* Fix assertion of missing child componentWhymarrh Whitby2018-09-061-1/+1
|
* Adds feature flag toggle for the hex data row on the send screen.Dan Miller2018-08-279-4/+42
|
* Add new variant for SenderToRecipient componentAlexander Tseung2018-08-232-2/+2
|
* fixed issue with inputbrunobar792018-08-042-2/+5
|
* design completebrunobar792018-08-041-2/+6
|
* added crossbrowser support and error handlingbrunobar792018-08-012-2/+11
|
* send to fullscreen if no permission from popupbrunobar792018-07-311-0/+5
|
* use existing modalsbrunobar792018-07-311-2/+2
|
* fix unit testsbrunobar792018-07-271-0/+2
|
* fix linting errorsbrunobar792018-07-271-1/+0
|
* added webrtc-adapter for browser compatbrunobar792018-07-271-0/+1
|
* fully working without tweaking ext. permissionbrunobar792018-07-274-3/+4
|
* working without injectionbrunobar792018-07-253-5/+22
|
* added qr code scanner icon in send transactionbrunobar792018-07-245-5/+14
|
* camera working back and forthbrunobar792018-07-243-1/+15
|
* Don't set txData to an empty stringWhymarrh Whitby2018-07-181-1/+1
|
* Inline single-use vars in send-footer.utilsWhymarrh Whitby2018-07-181-3/+1
|
* Send data along with other tx paramsWhymarrh Whitby2018-07-187-16/+66
|
* Hook up send component w/ UPDATE_SEND_HEX_DATA actionWhymarrh Whitby2018-07-183-5/+28
|
* Add hex data row to send screenWhymarrh Whitby2018-07-184-0/+41
|
* lint fixSara Reynolds2018-07-171-6/+4
|
* Fix edge cases and add translation compatibilitySara Reynolds2018-07-171-6/+12
|
* Update onlyRenderConversions function to method and account for edge casesSara Reynolds2018-07-171-26/+24
|
* Fixes conversion status for tokens without conversion ratesSara Reynolds2018-07-171-14/+29
|
* Fix send import path in ToAutoCompleteWhymarrh Whitby2018-07-161-1/+1
|
* Fix lint warnings in the send/ directory.Dan2018-07-163-2/+28
|
* Remove send_ directory, revert to just having sendDan2018-07-16116-2/+7176
| | | | | | Revert accidentally changed constants. Require defaults in ens-input, gas-fee-display and confirm screens.
* fix classnameTrejGun2018-07-051-1/+4
|
* Merge branch 'develop' into to-autocompleteАнна2018-07-051-4/+1
|\
| * Merge pull request #4699 from TrejGun/removeLeadingZeroesDan J Miller2018-07-041-4/+1
| |\ | | | | | | move removeLeadingZeroes to utils, add test
| | * move removeLeadingZeroes to utils, add testtrejgun2018-07-021-4/+1
| | |
* | | fixes #4664trejgun2018-07-032-120/+138
|/ /
* | Remove input arrows for send screen amount row on firefox.Dan2018-06-291-0/+2
| |
* | Fix issues with scrollbar in currency display.Dan2018-06-291-1/+1
| |
* | Merge pull request #4627 from TrejGun/gas-fee-displayDan J Miller2018-06-271-53/+0
|\ \ | | | | | | refactor gas-fee-display component
| * | refactor gas-fee-display componenttrejgun2018-06-211-53/+0
| | | | | | | | | | | | #4622
* | | Scroll large amounts in the send componentWhymarrh Whitby2018-06-211-1/+1
| |/ |/|
* | Remove leading zeroes from send screen amount row input.Dan2018-06-191-1/+5
| |
* | Fix currency-display.js rendering of token amounts.Dan2018-06-191-0/+1
|/
* Default currency-display valueToRender to empty string when not readOnly ↵Dan2018-06-021-2/+2
| | | | ('0' if readOnly).
* Merge branch 'i3725-refactor-send-component-' into ↵Dan2018-06-011-12/+45
|\ | | | | | | i3914-fix-newui-send-gas-estimation
| * Improve input width calculation in currency-display.jsDan2018-06-011-3/+2
| |
| * Fix currency display send integration tests.Dan2018-05-311-1/+1
| |
| * Delete currency-input.jsDan2018-05-301-1/+0
| |
| * Stop using external NumericInput component.Dan2018-05-301-8/+15
| |
| * Replaces currency-input.js with NumericInputDan2018-05-291-15/+42
| |
* | Support smaller decimals in currency-displayDan2018-05-311-1/+1
| |
* | Simplify gas estimate actions and add local estimateGasPriceFromRecentBlocks ↵Dan2018-05-311-3/+3
|/ | | | method.
* Merge branch 'develop' into i3725-refactor-send-component-Dan2018-05-141-7/+8
|
* Delete dead send code.Dan2018-05-018-491/+1
|
* Further refactors; includes refactor of send-v2.js and associated containerDan2018-04-301-2/+7
|
* Merge pull request #3998 from MetaMask/i3988-checksummed-addressDan Finlay2018-04-191-1/+2
|\ | | | | Show checksum addresses on UI
| * Show checksummed addresses throughout the UIbitpshr2018-04-181-1/+2
| |
* | Merge branch 'master' into i3580-InternationalizeCurrencyDan Finlay2018-04-181-1/+0
|\|
| * Maintain token prices using a background servicebitpshr2018-04-161-1/+0
| |
| * Fetch token prices based on contract addressbitpshr2018-04-161-1/+1
| |
* | Lint fix.Dan2018-04-101-1/+1
| |
* | Merge branch 'master' into i3580-InternationalizeCurrencyDan2018-04-101-2/+6
|\|
| * Fix merge conflicts. Modify send workflowAlexander Tseung2018-04-031-1/+11
| |\
| * \ Fix merge conflictsAlexander Tseung2018-03-315-9/+27
| |\ \
| * \ \ Fix i18n merge conflictsAlexander Tseung2018-03-305-12/+12
| |\ \ \
| * \ \ \ Fix merge conflictsAlexander Tseung2018-03-278-189/+15
| |\ \ \ \
| * \ \ \ \ Fix merge conflicts from uat-nextAlexander Tseung2018-02-011-1/+0
| |\ \ \ \ \
| * | | | | | Merge branch 'uat' of https://github.com/MetaMask/metamask-extension into cb-254Alexander Tseung2018-01-303-2/+8
| |\| | | | |
| * | | | | | Add react-router to allow use of the browser back buttonAlexander Tseung2017-12-151-1/+6
| | | | | | |
* | | | | | | Internationalize converted value in currency-input.jsDan2018-04-101-10/+25
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge branch 'master' into i3471-checkbalanceonconfirmscreenDan2018-03-305-9/+27
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Removes t from props via metamask-connect and instead places it on context ↵Dan2018-03-295-9/+27
| | |_|_|/ | |/| | | | | | | | | | | | | via a provider.
* | | | | Merge branch 'master' into i3471-checkbalanceonconfirmscreenkumavis2018-03-285-12/+12
|\| | | |
| * | | | Remove comments and console.logsDan2018-03-271-1/+1
| | | | |
| * | | | Merge branch 'master' into i18n-translator-reduxDan2018-03-271-2/+2
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Lint fixesDan2018-03-221-1/+0
| | | | |
| * | | | i18n redux solution doesn't require importing t() and passing state to each ↵Dan2018-03-225-11/+12
| | | | | | | | | | | | | | | | | | | | t() call; t is just available on props.
| * | | | Merge branch 'master' of github.com:MetaMask/metamask-extension into ↵kumavis2018-03-212-4/+8
| |\ \ \ \ | | | | | | | | | | | | | | | | | | i18n-translator-redux
| * | | | | Fixed t() calls where localeMessages is missing; and fix incorrect connect ↵Dan2018-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | reference.
| * | | | | Merge branch 'master' into i18n-translator-reduxDan2018-03-204-178/+0
| |\ \ \ \ \
| * | | | | | Handle i18n with redux.Dan2018-03-165-7/+7
| | | | | | |
| * | | | | | i18n - load locales manuallykumavis2018-03-153-3/+3
| | | | | | |
* | | | | | | Checking for sufficient balance in confirm ether screen; includes error ↵Dan2018-03-281-1/+11
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | messages for user.
* | | | | | Use ens-input component in send-v2 to allow sending to ens names.Dan2018-03-261-2/+2
| |_|/ / / |/| | | |
* | | | | Merge branch 'master' into retry-tx-refractorDan2018-03-202-2/+6
|\ \ \ \ \
| * | | | | Don't block user from setting gas if estimating gas returns errors. (#3627)Dan J Miller2018-03-202-2/+6
| | |/ / / | |/| | |
* | | | | Merge branch 'master' into retry-tx-refractorDan2018-03-204-178/+0
|\| | | |
| * | | | Remove unused files from ui folder. (#3577)anticlimactic2018-03-194-178/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | * Removed unused UI files. Fixes #3434. * Reverted the deletion of "feature-toggle-utils.js". Reverted the deletion of the test files and modified the paths so they referred to the old-ui.
* | | | Merge branch 'master' into retry-tx-refractorDan2018-03-143-6/+6
|\| | |
| * | | get t imported in all files currently using i18nNick Doiron2018-01-253-0/+3
| | | |
| * | | better organization of locale file; i18n in more view filesNick Doiron2018-01-243-6/+3
| | |/ | |/|
* / | Adds inline opening of gas customization to confirm-send-ether screen.Dan2018-03-091-2/+2
|/ /
* | [NewUI] Send screen gas loading fixes (#3027)Dan J Miller2018-01-181-1/+2
| | | | | | | | | | | | * Allow entering amount, but disable validation of amount, opening of gas customizer or clicking of next, when gas loading in send. * Fix variable name.
* | Readjust gas fees when switching networks on the send screenAlexander Tseung2018-01-171-0/+1
| |
* | Add constanst for token transfer function signature.Dan2017-12-211-0/+3
| |
* | Lint fixes.Dan2017-12-211-1/+0
| |
* | Adds updateTransaction to background and used it to update after editing in ↵Dan2017-12-211-0/+2
|/ | | | send-v2.
* Update max amount behaviour to meet new specs.Dan2017-12-071-0/+1
|
* Fix bug where gas param was not a stringDan Finlay2017-11-211-2/+2
| | | | | | Prevented sending transactions. Fixes #2598
* Create single action for updating all of send in redux state.Dan2017-11-151-1/+1
|
* Allow editing of send ether.Dan2017-11-151-0/+2
|
* Cursor pointer and hover background on from and to dropdown items.Dan2017-11-113-0/+4
|
* Focus amount input when click anywhere in amount field containerDan2017-11-111-0/+2
|
* Rounding of vals < 0.01 in currency display consistent with master.Dan2017-11-111-1/+2
|
* LintingThomas Huang2017-11-111-2/+2
|
* Calculate max amount for send ether based on minimum gas total.Dan2017-11-081-8/+0
|
* Fix amount max for sending token.Dan2017-11-081-7/+23
|
* Add currency-input component to correct send amount behaviour and move ↵Dan2017-11-081-28/+8
| | | | currency display value state to parent component.
* Lint fixes.Dan2017-11-071-1/+0
|
* Set gas price allows for WEI precision.Dan2017-11-071-0/+1
|
* Adds max amount feature for send-etherDan2017-11-072-1/+3
|
* Token balance in send state; validating sufficient tokens, validation ↵Dan2017-11-072-6/+40
| | | | updates on 'from' switching.
* Merge pull request #2530 from MetaMask/uatChi Kei Chan2017-11-0311-84/+61
|\ | | | | Merge uat into NewUI-flat
| * More lint fixesDan2017-11-0210-33/+29
| |
| * Lint fixes for NewUI-flat.Dan2017-11-028-45/+26
| |
* | Fixes width of from and to dropdowns in extension and on mobile views.Dan2017-11-031-1/+1
|/
* Change min gas price to 0.1 GWEIDan2017-10-271-13/+12
|
* Simply logic for rendering matching accounts in to-autocomplete dropdown.Dan2017-10-251-12/+4
|
* Style dropdown of to-autocomplete.Dan2017-10-252-29/+105
|
* Improve customize gas modal error handlingDan2017-10-243-12/+55
|
* Cleaner implementation of currency-display input.Dan2017-10-241-22/+14
|
* Merge pull request #2433 from danjm/NewUI-flat-precision-improvementsChi Kei Chan2017-10-241-2/+4
|\ | | | | [NewUI] Improves precision of a calculation in send, and in confirm
| * Improve precision in send and confirm.Dan2017-10-241-2/+4
| |
* | Clear send state on cancelling and signing.Dan2017-10-241-0/+1
|/
* Fix Conversions bugs; Fiat value bugsChi Kei Chan2017-10-211-1/+11
|
* various styling fix on mobileChi Kei Chan2017-10-201-4/+4
|
* Get currency from state in account details, send and confirm screens.Dan2017-10-204-9/+14
|
* Min and default gas price, limit, total; comments out code for gas slider.Dan2017-10-201-0/+23
|
* Fixes mobile styling.Dan2017-10-201-1/+1
|
* Fix cancel button on send screen.Dan2017-10-191-0/+1
|
* Handling to and amount errors.Dan2017-10-193-13/+21
|
* Move all of send state to metamask state.Dan2017-10-193-18/+14
|
* Get from and update addressBook in send-v2Dan2017-10-191-4/+8
|
* Enable send-v2 functionality.Dan2017-10-183-7/+21
|
* Customize Gas connected to stateDan2017-10-162-1/+9
|
* [NewUI] SendV2-#8: Send container handles tokens; gas info dynamic from ↵Dan J Miller2017-10-148-32/+214
| | | | | | | | | | | | | | | | | | 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.
* Refactor amount input: dynamic input width with vanilla js.Dan2017-10-131-41/+32
|
* Send v2 amount unit moves correctly.Dan2017-10-131-1/+19
|
* Adds amount and gas field to sendV2.Dan2017-10-131-0/+85
|
* Send v2 to autocomplete.Dan2017-10-111-0/+55
|
* Refactor 'rendersingleidentity' to a stand alone account-list-item component.Dan2017-10-102-49/+71
|
* UI for readonly from component. From dropdown opening and closing. Mockdata.Dan2017-10-101-0/+94
|
* Stop setting 'currentCurrency' and use local state for active currency in ↵Dan2017-09-144-12/+12
| | | | send.js
* Add token exchange ratesChi Kei Chan2017-09-132-4/+31
|
* Add frontend validation to send-tokenChi Kei Chan2017-09-121-2/+2
|
* Add buttons; handle back; add yarn.lockChi Kei Chan2017-09-121-5/+14
|
* Lint fixesDan2017-08-312-19/+17
|
* Refactor gas-fee-display to include usd and eth fee displays as separate ↵Dan2017-08-313-30/+93
| | | | components.
* Move gas fee to a separate component.Dan2017-08-311-0/+53
|
* Move currency toggle to its own component.Dan2017-08-312-0/+128