aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/selectors
Commit message (Collapse)AuthorAgeFilesLines
* Revert "part of replacing 'ETH'"Chen Wei2019-07-031-1/+1
| | | | This reverts commit dd139452d053496d79816c881dbb59ee4aded81b.
* part of replacing 'ETH'Chen Wei2019-07-021-1/+1
|
* configuration, translation updatingChen Wei2019-07-021-20/+20
|
* estimated gas should come from RPCChen Wei2019-07-011-20/+20
|
* 1. correct name display in network dropdown 2. enable 373 derived pathChen Wei2019-07-011-20/+20
|
* 4byte fallback (#6551)Whymarrh Whitby2019-06-182-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds 4byte registry fallback to getMethodData() (#6435) * Adds fetchWithCache to guard against unnecessary API calls * Add custom fetch wrapper with abort on timeout * Use opts and cacheRefreshTime in fetch-with-cache util * Use custom fetch wrapper with timeout for fetch-with-cache * Improve contract method data fetching (#6623) * Remove async call from getTransactionActionKey() * Stop blocking confirm screen rendering on method data loading, and base screen route on transactionCategory * Remove use of withMethodData, fix use of knownMethodData, in relation to transaction-list-item.component * Load data contract method data progressively, making it non-blocking; requires simplifying conf-tx-base lifecycle logic. * Allow editing of gas price while loading on the confirm screen. * Fix transactionAction component and its unit tests. * Fix confirm transaction components for cases of route transitions within metamask. * Only call toString on id if truthy in getNavigateTxData() * Fix knownMethodData retrieval and data fetching from fourbyte
* New settings custom rpc form (#6490)Dan J Miller2019-05-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Send metrics event from backend for on chain transaction failures (#6500)Dan J Miller2019-04-291-1/+14
| | | | | | * Send metrics event from backend for on chain transaction failures * Passes state object to backEndMetaMetricsEvent, and adds getMetaMetricState selector
* getSeletedAsset to only return symbol strings, not token objectsDan Miller2019-04-181-1/+2
|
* Add token selection to the send screen (#6445)Chi Kei Chan2019-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1/+2
|
* Fix display of gas chart on Ethereum networks (#6389)Dan J Miller2019-04-041-1/+2
|
* Hide gas price chart and prevent api call when not on ethereum networks. (#6300)Dan J Miller2019-03-221-1/+13
| | | Add missing translations in gas customization modal
* Folder restructure (#6304)Chi Kei Chan2019-03-225-11/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Metametrics (#6171)Dan J Miller2019-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-272-22/+363
|
* Change gas labels to Slow/Average/Fast (#6090)Chi Kei Chan2019-02-062-60/+60
| | | | | | * Change gas labels to Slow/Average/Fast * Fix unit test
* Order shapeshift transactions by time within the transactions listAlexander Tseung2019-01-251-12/+32
|
* Ensures that advanced tab gas limit reflects tx gas limitDan Miller2018-12-122-7/+3
|
* Improve ux for low gas price set (#5862)Dan J Miller2018-12-111-0/+36
| | | | | | | | | | * Show user warning if they set gas price below safelow minimum, error if 0. * Properly cache basic price estimate data. * Default retry price to recommended price if original price was 0x0 * Use mock fetch in send-new-ui integration tests.
* Group transactions by nonce (#5886)Alexander Tseung2018-12-101-12/+220
|
* Final gas customization fixesDan Miller2018-12-042-41/+32
|
* Add loading spinners when waiting for APIs in the gas customization modalDan Miller2018-12-041-0/+5
|
* Uses more reliable api on main send screen; caches basic api results in modalDan Miller2018-12-042-83/+105
|
* Redesign of gas customization basic tab.Dan Miller2018-12-042-0/+9
|
* Improve data management and tests for gas-modal-page-container price estimates.Dan Miller2018-12-042-5/+52
|
* Complete integration of gas chart with redux.Dan Miller2018-12-041-0/+1
|
* Test updates and additions for button integration with send screen.Dan Miller2018-12-042-6/+99
|
* Integrate gas buttons with the send screen.Dan Miller2018-12-041-4/+53
|
* Connects remained of the gas customization component to redux.Dan Miller2018-12-041-22/+21
|
* Connect the gas-button-group component to redux and a live api.Dan Miller2018-12-042-7/+319
|
* Adds the content of the advanced tab - w/o chart or dynamic content - to gas ↵Dan Miller2018-12-041-0/+19
| | | | customize modal.
* Fix rounding issue when sending max tokens (#5695)Alexander Tseung2018-11-201-4/+5
| | | | | | | | | | * 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
* Add support for RPC endpoints with custom chain IDs (#5134)HackyMiner2018-10-261-0/+1
|
* Merge pull request #5428 from alextsg/i5372-queue-orderDan Finlay2018-10-061-1/+1
|\ | | | | Reverse pending transactions order
| * Reverse pending transactions orderAlexander Tseung2018-10-051-1/+1
| |
* | Translate method names in the transaction list only when applicableAlexander Tseung2018-10-051-1/+6
|/
* Fix integration testsAlexander Tseung2018-08-241-0/+7
|
* Show token amounts in TransactionListItem for token transfersAlexander Tseung2018-08-242-1/+13
|
* Refactor transactions list views. Add redesign componentsAlexander Tseung2018-08-241-0/+50
|
* remove console logsbrunobar792018-08-151-1/+1
|
* Use token decimals when calculating confirm screen amount for token approvals.Dan Miller2018-08-081-2/+8
|
* Round large exponential numbersAlexander Tseung2018-07-281-4/+9
|
* Add close window support to signature requests. Move logic to actionsAlexander Tseung2018-07-241-1/+28
|
* Use Number constructor for number conversion. Use existing ↵Alexander Tseung2018-07-181-3/+3
| | | | noConversionRateAvailable message
* Add fallback when no function found, fix network colors, add fiat values for ↵Alexander Tseung2018-07-181-0/+99
| | | | tokens with contract exchange rates
* Refactor and redesign confirm transaction viewsAlexander Tseung2018-07-071-0/+65