aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app/controllers/preferences-controller-test.js
Commit message (Collapse)AuthorAgeFilesLines
* New settings custom rpc form (#6490)Dan J Miller2019-05-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* I#5956 fix2 dont overwrite existing rpc settings (#6044)Frankie2019-01-301-0/+12
| | | | | | | | | | | | | | * mm-controller - dont overwrite existing rpc settings * ui-networkDropdown - dont pass old network as chainId * add methods preferencesController.updateRpc and metamaskController.updateAndSetCustomRpc * use updateAndSetCustomRpc in settings to allow rpcs to be updated * use new rpc as nickname if no nick name has been supplied * fix update rpc method
* ESLint fixes (#5775)Whymarrh Whitby2018-11-171-3/+3
| | | | | | * eslint . --fix * Upgrade all ESLint warnings to errors
* EIP-1102: updated implementationbitpshr2018-11-061-2/+2
|
* Update watchAsset ERC20 validation (#5653)Esteban Miño2018-11-061-0/+26
| | | | | | * update ERC20 token valodation for watchAsset * update ERC20 validation test descriptions
* Add support for RPC endpoints with custom chain IDs (#5134)HackyMiner2018-10-261-8/+8
|
* Merge pull request #5555 from MetaMask/support-wallet-watch-assetkumavis2018-10-211-0/+5
|\ | | | | Support for prefix wallet_watchAsset
| * add support for wallet_watchAssetEsteban MIno2018-10-201-0/+5
| |
* | specific add and remove methods for frequentRpcList (#5554)Esteban Miño2018-10-201-0/+19
|/
* Delete ConfigManager, replacing its usages with PreferencesControllerWhymarrh Whitby2018-09-121-0/+30
|
* watchAsset small changesEsteban MIno2018-08-281-1/+1
|
* typo watchAsset imageUrl to imageEsteban MIno2018-08-241-7/+7
|
* unit tests for watchAssetEsteban MIno2018-08-221-0/+110
|
* create tokens storage when setadressesEsteban MIno2018-07-311-0/+25
|
* unit tests for tokens per account and networkEsteban MIno2018-07-281-0/+128
|
* modify tests according to tokens by networkEsteban MIno2018-07-271-1/+4
|
* added test for preferences controllerbrunobar792018-07-171-0/+25
|
* Merge branch 'develop' into testingtmashuang2018-05-221-1/+115
|
* Moved loose some loose test files to sub folderstmashuang2018-05-211-0/+48