aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/pages/routes/index.js
Commit message (Collapse)AuthorAgeFilesLines
* Enable indent linting via ESLint (#6936)Whymarrh Whitby2019-08-011-10/+10
| | | | | | * Enable indent linting via ESLint * yarn run lint:fix
* Remove unused props from routes and network dropdown (#6919)Mark Stacey2019-07-291-63/+5
| | | These props were discovered to be unused while I was working on #6680
* Remove `seedWords` completely from metamask state (#6920)Mark Stacey2019-07-261-5/+1
| | | | | | | | | | | | | | | | `seedWords` used to be stored on the metamask state temporarily at certain points. This hasn't been the case since #5994, but references to this state remained. All of the logic remained for correctly updating these `seedWords`, handling them during navigation, and scrubbing them from the state. However the state was never updated in practice. The `seedWords` are still returned by `verifySeedPhrase`, and they're still stored in component state in a few places. But they aren't ever set in the Redux metadata state or the Preferences controller. All references to this state have been removed, along with any logic for interacting with this state. A few unused actions were removed as well.
* Re enable the setMouseUserState styles. (#6860)Terry Smith2019-07-161-1/+3
| | | Typo
* Declare variables before use (#6806)Mark Stacey2019-07-061-12/+12
| | | | | | | | | | | | | | | | While working on #6805, I noticed that many variables were being used before they were declared. Technically this worked fine in practice because we were using the `transform-es2015-block-scoping` Babel plugin, which transforms `let` and `const` to `var`, which is hoisted. However, after removing that Babel transformation, many things broke. All instances of variables or classes being used before declared have been fixed. The `no-use-before-define` eslint rule has been added to catch these cases going forward. The rule is disabled for function declarations for the moment, because those are always hoisted. We could disable that too if we want to, but it's purely stylistic and would require a lot more changes.
* Remove UiMigrationAnnouncement and associated state (#6794)Whymarrh Whitby2019-07-041-2/+0
|
* 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
* Check for unused function arguments (#6583)Whymarrh Whitby2019-05-091-1/+1
| | | | | | | | | | * 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-091-3/+28
| | | | | | | | | | | | | | | | | | | | * 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
* 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-0/+4
|
* Add Localhost 8545 for network dropdown namesThomas Huang2019-04-111-0/+4
|
* Remove NoticeController (#6382)Thomas Huang2019-04-021-9/+1
|
* Folder restructure (#6304)Chi Kei Chan2019-03-221-0/+441
* 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