aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/pages
Commit message (Collapse)AuthorAgeFilesLines
* Revert "fixed #5524"Jenny Pollack2019-06-071-16/+5
| | | | This reverts commit c8cb4ba3705478a16cd1e39f8edc1f277bb2ede6.
* lint cleanupMathew Kamkar2019-05-251-2/+0
|
* Enable Ledger hardware wallet support on FirefoxMathew Kamkar2019-05-251-6/+0
| | | Firefox 67 support U2F by default
* Ensures that transactions cannot be confirmed if gas limit is below 21000. ↵Dan J Miller2019-05-231-0/+9
| | | | (#6625)
* Remove unused fn arguments in AmountMaxButtonWhymarrh Whitby2019-05-211-1/+1
|
* Improved UX for sweeping accounts (#6488)Etienne Dusseault2019-05-2110-31/+137
| | | | | | | | | | | | * Changed max button to checkbox, disabled input if max mode is on, recalculate price according to gas fee if max mode is on * Disabled insufficient funds message in the modal if max mode is on, displays proper amounts in modal when max mode is on, sets the send amount according to custom gas price after gas modal save, resets the send amount after resetting custom gas price * Disabled max mode checkbox if gas buttons are loading, refactored gas-modal-page-container * Implemented new max button & max mode message. Moved insufficient funds error to underneath the send amount field * Fixed existing integration test to pass, created new tests to ensure send amount field is disabled when max button is clicked and the amount changes when the gas price is changed. Refactored some components
* fixed #5524Alex Ivasyuv2019-05-151-5/+16
|
* Update auto-logout to recognize idle time in background (#6593)Whymarrh Whitby2019-05-141-12/+5
| | | | | | * Fix wording of autoLogoutTimeLimitDescription * AppStateController and update auto-logout functionality
* Fix RPC URL message key casing (#6595)Whymarrh Whitby2019-05-101-1/+1
|
* New settings custom rpc form (#6490)Dan J Miller2019-05-109-4/+810
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add networks tab to settings, with header. * Adds network list to settings network tab. * Adds form to settings networks tab and connects it to network list. * Network tab: form adding and editing working * Settings network form properly handles input errors * Add translations for settings network form * Clean up styles of settings network tab. * Add popup-view styles and behaviour to settings network tab. * Fix save button on settings network form * Adds 'Add Network' button and addMode to settings networks tab * Lint fix for settings networks tab addition * Fix navigation in settings networks tab. * Editing an rpcurl in networks tab does not create new network, just changes rpc of old * Fix layout of settings tabs other than network * Networks dropdown 'Custom Rpc' item links to networks tab in settings. * Update settings sidebar networks subheader. * Make networks tab buttons width consistent with input widths in extension view. * Fix settings screen subheader height in popup view * Fix height of add networks button in popup view * Add optional label to chainId and symbol form labels in networks setting tab * Style fixes for networks tab headers * Add ability to customize block explorer used by custom rpc * Stylistic improvements+fixes to custom rpc form. * Hide cancel button. * Highlight and show network form of provider by default. * Standardize network subheader name to 'Networks' * Update e2e tests for new settings network form * Update unit tests for new rpcPrefs prop * Extract blockexplorer url construction into method. * Fix broken styles on non-network tabs in popup mode * Fix block explorer url links for cases when provider in state has not been updated. * Fix vertical spacing of network form * Don't allow click of save button on network form if nothing has changed * Ensure add network button is shown in popup view * Lint fix for networks tab * Fix block explorer url preference setting. * Fix e2e tests for custom blockexplorer in account details modal changes. * Update integration test states to include frequentRpcList property * Fix some capitalizations in en/messages.json * Remove some console.logs added during custom rpc form work * Fix external account link text and url for modal and dropdown. * Documentation, url validation, proptype required additions and lint fixes on network tab and form.
* Check for unused function arguments (#6583)Whymarrh Whitby2019-05-0915-23/+19
| | | | | | | | | | * eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
* Auto logout after specific time (#6558)Chi Kei Chan2019-05-095-6/+171
| | | | | | | | | | | | | | | | | | | | * Add i18n strings * Finish Auto timeout * Fix linter * Fix copies * Add unit test to Advanced Tab component * Add back actions and container * Add basic test to ensure container completeness * No zero, fix linters * restrict negative in input
* Remove KNOWN_ADDRESS_ERROR from error objects (#6578)Chi Kei Chan2019-05-092-7/+6
| | | | | | * Remove KNOWN_ADDRESS_ERROR from error objects * Update test comments
* Use metricsEvent in AmountMaxButton componentWhymarrh Whitby2019-05-082-5/+15
|
* Allow dragging seed phrase during Confirm Seed Phrase (#6557)Chi Kei Chan2019-05-076-127/+565
| | | | | | | | | | | | | | | | | | | | | | | | * Add basic drag and drop functionality * Refactor seed phrase data structure * Insert to list when drop * Save before refactor * Finish DND * Fix linter * update package-lock.json * Address styling feedbacks * Add box shadow on hover * Finish adding unit tests * Remove describe.only
* Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410)kumavis2019-05-042-8/+8
| | | | | | | | | | * Ensure home screen does not render if there are unapproved txs (#6501) * Ensure that the confirm screen renders before the home screen if there are unapproved txs. * Only render confirm screen before home screen on mount. * inpage - revert _metamask api to isEnabled isApproved isUnlocked
* Use tOrKey for actionKey in ConfirmTransactionBaseWhymarrh Whitby2019-05-011-1/+3
|
* Add subheader to all settings subviews (#6502)Chi Kei Chan2019-04-292-5/+39
| | | | | | * Add subheader to all settings subviews * add margin right to subheader
* Ensure home screen does not render if there are unapproved txs (#6501)Dan J Miller2019-04-272-8/+18
| | | | | | * Ensure that the confirm screen renders before the home screen if there are unapproved txs. * Only render confirm screen before home screen on mount.
* Revert "Adds 4byte registry fallback to getMethodData() (#6435)"Thomas Huang2019-04-271-1/+1
| | | | This reverts commit 09f2a2a5476c4c119c7294f496f6590156d8d07a.
* Merge pull request #6481 from MetaMask/address-prop-types-errorsThomas Huang2019-04-182-2/+2
|\ | | | | Address prop types errors
| * Ensure future tokens add decimals as numbers while supporting numbers and ↵Dan Miller2019-04-182-2/+2
| | | | | | | | strings in send-asset-row
* | Make height consistent on all row in send-content (#6480)Chi Kei Chan2019-04-182-3/+0
| | | | | | | | | | | | | | | | * Update all send-content row to 54px height * Remove header subtitle * Remove tests that check for send screen subheader
* | Merge pull request #6477 from MetaMask/metrics-screen-button-typeThomas Huang2019-04-181-1/+1
|\ \ | |/ |/| Update button type on metrics opt-in screen.
| * Update button type on metrics opt-in screen.Dan Miller2019-04-181-1/+1
| |
* | Fix PropTypes validation in send-asset-rowChi Kei Chan2019-04-181-1/+1
| |
* | Add token selection to the send screen (#6445)Chi Kei Chan2019-04-18122-5/+8230
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move send to pages/ * Fix unit tests * Finish UI * Integrate asset dropdown to send actions * Remove console.log * Hide asset change during edit * Enable switch from send token to seand eth * Enable switching from token to eth when editing * Fix linter * Fixing test * Fix unit tests * Fix linter * Fix react warning; remove console.log * fix flat test * Add metrics * Address code review comments * Consistent spacing between send screen form rows. * Reduce height of gas buttons on send screen. * Make send screen gas button height dependent on size of contents.
* feature: add Goerli support (#6459)Paul Bouchon2019-04-181-0/+4
|
* Merge pull request #6444 from MetaMask/localhost-network-dropdownThomas Huang2019-04-171-0/+4
|\ | | | | Fixes #6321 & #6421 - Add Localhost 8545 for network dropdown names
| * Add Localhost 8545 for network dropdown namesThomas Huang2019-04-111-0/+4
| |
* | Adds 4byte registry fallback to getMethodData() (#6435)Dan J Miller2019-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Get contract method data from 4byte if we can't get it from eth-method-registry * Clarify token method name fallback code in getMethodData * Bugfix: don't attempt to translate falsy actionKeys in confirm-transaction-base.component.js * Rewrite getMethodFrom4Byte with async-await * Call four byte and method-registry requests in parallel in getMethodData()
* | Update buttons & colors to match design system (#6446)Chi Kei Chan2019-04-1722-44/+27
|/ | | | | | | | | | | | | | | | * Refactoring button styles * renaming buttons * Add Link and Button styles * Update new btn styles and storybook * Fix tests * Change font weight; Update storybook * Fix linter
* Only pass english function names to functionType metricDan Miller2019-04-093-13/+13
|
* Track seed phrase validation errors with MetaMetricsDan Miller2019-04-051-0/+18
|
* Remove NoticeController (#6382)Thomas Huang2019-04-023-214/+1
|
* Merge pull request #6375 from MetaMask/Version-6.3.1v6.3.1Thomas Huang2019-03-302-1/+9
|\ | | | | Version 6.3.1
| * Check token name constants against the lower case methodData name in conf tx ↵Dan Miller2019-03-301-1/+1
| | | | | | | | switch container.
| * Ensure correct confirm screen in case of smartcontract check failDan Miller2019-03-302-1/+9
| |
* | About tab copy changes; Update route for Info & Help in account menu (#6356)Chi Kei Chan2019-03-301-2/+2
|/
* Open retore-vault route from popup (#6353)Chi Kei Chan2019-03-271-1/+1
|
* Close transaction on close of notification window (#6340)Dan J Miller2019-03-261-1/+19
|
* New settings page rebased (#6333)Dan J Miller2019-03-2611-544/+857
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New setting tab * Add InfoTab * Add Advanced tab * Add Security Tab * Finish mobile view * Make new setting page responsive * Fix linter * Fix y scrolling * Update link in network dropdown * Fix e2e tests * Remove duplicate translation key * Resolve merge conflict * Only change settings header in popup view. * Place mobile-sync button in advanced-tab of settings
* Folder restructure (#6304)Chi Kei Chan2019-03-22132-0/+10047
* Remove ui/app/keychains/ * Remove ui/app/img/ (unused images) * Move conversion-util to helpers/utils/ * Move token-util to helpers/utils/ * Move /helpers/*.js inside /helpers/utils/ * Move util tests inside /helpers/utils/ * Renameand move confirm-transaction/util.js to helpers/utils/ * Move higher-order-components to helpers/higher-order-components/ * Move infura-conversion.json to helpers/constants/ * Move all utility functions to helpers/utils/ * Move pages directory to top-level * Move all constants to helpers/constants/ * Move metametrics inside helpers/ * Move app and root inside pages/ * Move routes inside helpers/ * Re-organize ducks/ * Move reducers to ducks/ * Move selectors inside selectors/ * Move test out of test folder * Move action, reducer, store inside store/ * Move ui components inside ui/ * Move UI components inside ui/ * Move connected components inside components/app/ * Move i18n-helper inside helpers/ * Fix unit tests * Fix unit test * Move pages components * Rename routes component * Move reducers to ducks/index * Fix bad path in unit test