aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/account-dropdowns.js
Commit message (Collapse)AuthorAgeFilesLines
* Folder restructure (#6304)Chi Kei Chan2019-03-221-338/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix blockies icons overriding contract map icons. Refactor Identicon ↵Alexander Tseung2018-10-251-1/+2
| | | | component (#5599)
* Show checksummed addresses throughout the UIbitpshr2018-04-181-3/+2
|
* Removes t from props via metamask-connect and instead places it on context ↵Dan2018-03-291-8/+12
| | | | via a provider.
* Lint fixesDan2018-03-221-1/+1
|
* i18n redux solution doesn't require importing t() and passing state to each ↵Dan2018-03-221-8/+7
| | | | t() call; t is just available on props.
* Lint fixes.Dan2018-03-201-0/+2
|
* Handle i18n with redux.Dan2018-03-161-8/+8
|
* i18n - load locales manuallykumavis2018-03-151-1/+0
|
* Merge branch 'master' into i18nDan2018-03-071-2/+2
|\
| * Define event locally in onClickOutside method in account-dropdowns.jsDan2018-03-011-1/+1
| |
| * Remove accessing PropTypes from main React packageAlexander Tseung2018-02-071-1/+1
| |
* | complete i18n across new UINick Doiron2018-01-301-3/+3
| |
* | get t imported in all files currently using i18nNick Doiron2018-01-251-0/+1
| |
* | first steps to i18nNick Doiron2018-01-231-6/+6
|/
* Merge pull request #2422 from watilde/fixes-lintKevin Serrano2017-10-251-2/+0
|\ | | | | Fixes lint warnings
| * Fix lint warningsDaijiro Wachi2017-10-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed warnings: ```md app/scripts/controllers/computed-balances.js + 35:27 warning Missing space before function parentheses space-before-function-paren + 41:14 warning 'address' is never reassigned. Use 'const' instead prefer-const + 61:9 warning 'updater' is never reassigned. Use 'const' instead prefer-const + 68:11 warning 'newState' is never reassigned. Use 'const' instead prefer-const app/scripts/controllers/network.js + 104:29 warning Missing space before function parentheses space-before-function-paren app/scripts/lib/createLoggerMiddleware.js + 4:32 warning Missing space before function parentheses space-before-function-paren + 15:2 warning Newline required at end of file but not found eol-last app/scripts/lib/createOriginMiddleware.js + 4:32 warning Missing space before function parentheses space-before-function-paren + 9:2 warning Newline required at end of file but not found eol-last app/scripts/lib/createProviderMiddleware.js + 5:34 warning Missing space before function parentheses space-before-function-paren + 13:2 warning Newline required at end of file but not found eol-last app/scripts/lib/events-proxy.js + 1:50 warning Missing space before function parentheses space-before-function-paren + 31:2 warning Newline required at end of file but not found eol-last app/scripts/lib/nodeify.js + 2:22 warning Missing space before function parentheses space-before-function-paren + 2:24 warning Missing space before opening brace space-before-blocks + 5:18 warning Missing space before function parentheses space-before-function-paren + 5:20 warning Missing space before opening brace space-before-blocks app/scripts/lib/pending-balance-calculator.js + 16:19 warning Missing space before function parentheses space-before-function-paren app/scripts/lib/pending-tx-tracker.js + 85:11 warning '||' should be placed at the end of the line operator-linebreak + 87:11 warning '||' should be placed at the end of the line operator-linebreak + 88:11 warning '||' should be placed at the end of the line operator-linebreak + 90:11 warning '||' should be placed at the end of the line operator-linebreak + 91:11 warning '||' should be placed at the end of the line operator-linebreak app/scripts/lib/port-stream.js + 3:22 warning Missing space before function parentheses space-before-function-paren + 3:24 warning Missing space before opening brace space-before-blocks app/scripts/lib/tx-gas-utils.js + 84:2 warning Newline required at end of file but not found eol-last app/scripts/lib/tx-state-history-helper.js + 12:37 warning Missing space before function parentheses space-before-function-paren + 23:30 warning Missing space before function parentheses space-before-function-paren + 30:23 warning Missing space before function parentheses space-before-function-paren + 35:28 warning Missing space before function parentheses space-before-function-paren + 41:2 warning Newline required at end of file but not found eol-last app/scripts/lib/tx-state-manager.js + 94:13 warning 'value' is never reassigned. Use 'const' instead prefer-const ui/app/reducers.js + 45:7 warning 'state' is never reassigned. Use 'const' instead prefer-const + 53:7 warning 'stateString' is never reassigned. Use 'const' instead prefer-const ui/lib/tx-helper.js + 27:2 warning Newline required at end of file but not found eol-last ui/app/components/account-dropdowns.js + 163:1 warning More than 2 blank lines not allowed no-multiple-empty-lines ui/app/components/menu-droppo.js + 22:7 warning 'style' is never reassigned. Use 'const' instead prefer-const ui/app/components/shapeshift-form.js + 135:11 warning '&&' should be placed at the end of the line operator-linebreak ui/app/components/typed-message-renderer.js + 35:25 warning Missing space before function parentheses space-before-function-paren + 42:2 warning Newline required at end of file but not found eol-last mascara/server/index.js + 11:42 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat + 12:36 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat + 13:33 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat + 14:40 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat + 20:29 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat + 21:29 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat + 26:40 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat ```
* | Fix linterChi Kei Chan2017-10-211-0/+5
|/
* Move etherscan link logic into moduleDan Finlay2017-10-141-1/+1
|
* Place object property retrieval inside try-catchKevin Serrano2017-09-081-2/+3
|
* Change expected type to array.Kevin Serrano2017-09-081-1/+1
|
* Resolve merge conflict from masterKevin Serrano2017-09-061-1/+10
|\
| * Cleanup stray logs and lintsdtsui2017-08-111-5/+1
| |
| * Fix text overflow for dropdown components flagged by @frankiebeesdtsui2017-08-111-1/+14
| |
* | Readd loose label onto accounts.Kevin Serrano2017-08-101-1/+19
|/
* Re-enable css transitions for dropdowns in header, needs menu-droppo library ↵sdtsui2017-08-051-0/+1
| | | | update
* Adjust padding of accountSwitcher dropdownsdtsui2017-08-041-4/+7
|
* Adjust top and bottom padding of accountSwitchersdtsui2017-08-041-2/+9
|
* Lint ui/appsdtsui2017-08-041-3/+3
|
* Allow new accounts selector to handle clickssdtsui2017-08-041-2/+2
|
* Increase size of accountSelection dropdownsdtsui2017-08-041-8/+22
|
* Increase size of settings dropdown and account settings dropdownsdtsui2017-08-041-1/+1
|
* Add note with previous fa-angle-down for future refactorsdtsui2017-08-041-0/+2
|
* Position account switcher icon back in app headersdtsui2017-08-041-2/+6
|
* Disable account selection dropdown from account detailssdtsui2017-08-041-5/+15
|
* Add QR functionalityKevin Serrano2017-08-041-0/+13
|
* lint fixkumavis2017-08-021-2/+2
|
* Fix dropdown toggle behavior - account dropdownssdtsui2017-07-291-2/+16
|
* Make account selection dropdown menu scrollable when too large for viewsdtsui2017-07-271-0/+2
|
* Remove Account Settings item from optionsMenu, unnecessarysdtsui2017-07-271-8/+0
|
* Replace ui with responsive-uiDan Finlay2017-07-251-0/+227