Mark Stacey
1f45798707
Override ownProps
with state props in SignatureRequest
( #6911 )
...
The `accounts` prop of `SignatureRequest` was throwing a PropType
warning because `accounts` was an object instead of an array. It looks
like when the `mergeProps` function was added in #6340 , the ownProps
were accidentally set to override the state props.
The now ignored props have been removed from the parent `ConfirmTxScreen`
component as well. `conversionRate` was identical to the one retrieved
in `SignatureRequest`, and `selectedAddress` differed only in the
fallback behaviour when `state.metamask.selectedAddress` does not exist;
it will now default to the first account instead (as was the original
behavior, prior to #6340 ).
2019-07-26 10:39:13 -03:00
Mark Stacey
adac1de822
Remove AccountDropdownMini
component ( #6906 )
...
The `AccountDropdownMini` component featured the ability to switch
accounts using a dropdown, but this functionality was disabled in #6024 .
It has been acting as a restyled `AccountListItem` since then.
The component has been removed, and the style changes moved to the sole
parent component (`RequestSignature`).
2019-07-25 08:55:43 -03:00
Mark Stacey
74639ab3ae
Remove unused time-remaining
component ( #6912 )
...
The `time-remaining` component hasn't been used since #5704 , aside from
a few styles. Those styles have been integrated into the
`advanced-tab-content` styles, and the unused component has been
deleted.
2019-07-25 08:55:18 -03:00
Terry Smith
33071e3014
Targets base inputs and only prevents outline if user uses a mouse ( #6871 )
2019-07-16 22:58:00 -02:30
Terry Smith
721215973a
Re enable the setMouseUserState styles. ( #6860 )
...
Typo
2019-07-16 00:06:57 -02:30
Thomas Huang
96a12a627e
Merge pull request #6832 from MetaMask/master-rebased
...
Master rebased
2019-07-12 10:58:19 -07:00
Mark Stacey
2eea388680
Remove unused expressions ( #6839 )
...
Unused expressions are generally a mistake, as they don't do anything.
The exceptions to this rule (short-circuit expressions and ternary
expressions) have been allowed.
The `webrtc-adapter` was previously ignored by eslint because it has a
side-effect upon being imported. I removed the local variable instead,
which should preserve the same side-effect without making eslint
complain.
2019-07-12 12:41:39 -03:00
ryanml
daccb06a60
Create MetaFoxLogo component ( #6819 )
2019-07-09 14:47:58 -02:30
Dan J Miller
32a3f5ad7b
Address various UI styling issues ( #6744 )
...
* Add loading spinner to pending tx status label.
* Add border around account icon in top right
* Change style of settings toggle buttons; wrap with local components
* Eliminate large space after settings labels when no description
* Remove network form from advanced tab of settings
* Keep new account container height to contents when in full screen
2019-07-08 15:28:35 -02:30
Mark Stacey
6df65069a2
Replace react-addons-css-transition-group ( #6816 )
...
This package is deprecated, and is incompatible with React v16. It has
been replaced by `react-test-renderer`, which has a drop-in replacement
for `react-addons-css-transition-group`.
Strangely, `react-test-renderer` was already listed as a dependency
despite not being used. I had to downgrade it, as the version already
listed was for React v16, and we're still using React v15.
2019-07-08 10:12:00 -03:00
Dan J Miller
05e2120814
Version 6.7.2 gas limit fix ( #6786 )
...
* Introduce delay for eth_estimateGas calls with in test
* Add test that fails when gas estimates of contract method calls without gas are too high.
* Get transaction gas data from unApprovedTxs instead of confirmTransaction
* Fix selection of gas data in gas-modal-page-container.container
* Lint changes related to Version-6.7.2-gasLimitFix
* Fix e2e tests on Version-6.7.2-gasLimitFix
* Fix unit and integration tests for changes from Version-6.7.2-gasLimitFix
* more e2e fixes
* Add assertions for transaction values on confirm screen
* Fix display of transaction amount on confirm screen.
2019-07-04 14:14:03 -02:30
Whymarrh Whitby
df17853502
Remove UiMigrationAnnouncement and associated state ( #6794 )
2019-07-04 12:21:21 -02:30
Dan Finlay
797f0c6ced
Reduce time to show tx "speed up" buttons to 5 seconds. ( #6797 )
2019-07-03 22:10:17 -07:00
Mark Stacey
a44f38e640
Fix PropType warning ( #6792 )
2019-07-03 22:48:22 -03:00
Akshit Kr Nagpal
687984a938
Added Confirmation Modal for Delete Network ( #6776 )
2019-07-02 09:43:02 -02:30
Mark Stacey
6d191f2617
Refactor account-details-modal ( #6751 )
...
Refactor the AccountDetailsModal to follow newer conventions. Changes
include:
- Create a directory for the component with separate files for the
component, the container, and the entrypoint.
- Use jsx rather than hyperscript
Fixes #6741
2019-06-27 12:03:18 -03:00
Mark Stacey
313def1ce2
Remove shapeshift deposit form ( #6746 )
...
Closes #6478
2019-06-24 14:17:48 -02:30
Whymarrh Whitby
748801f417
4byte fallback ( #6551 )
...
* 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
2019-06-18 09:47:14 -02:30
Dan J Miller
18179fd345
Add delete to custom RPC form ( #6718 , #6650 )
2019-06-17 11:35:47 -02:30
Thomas Huang
6fb0d4af27
Wrap smaller custom block explorer url text ( #6714 )
2019-06-17 08:32:12 -02:30
Chi Kei Chan
9a1a207ffa
MetaMorph - Spacing and Typeface on Extension Main view ( #6584 )
...
* wip
* Style Update: Mobile App Header
* wip
* Style Update: mobile menu-bar
* Style Update: Primary and Secondary balance on mobile main view
* Style Update: Spacing for transaction-list and transaction-list-item
* Address PR Comments
* Fix full-width view
* line-height fixes
2019-06-12 19:56:04 -07:00
Jenny Pollack
9180e39b08
Revert "fixed #5524 "
...
This reverts commit c8cb4ba370
.
2019-06-06 19:20:33 +02:00
Dan J Miller
5e2fd8ae86
Ensures that transactions cannot be confirmed if gas limit is below 21000. ( #6625 )
2019-05-23 11:26:40 -02:30
Etienne Dusseault
0e9c8fb5cc
Improved UX for sweeping accounts ( #6488 )
...
* 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
2019-05-20 14:08:08 -02:30
Alex Ivasyuv
c8cb4ba370
fixed #5524
2019-05-14 22:00:53 +03:00
Dan J Miller
13be683701
New settings custom rpc form ( #6490 )
...
* 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.
2019-05-09 14:57:14 -02:30
Whymarrh Whitby
094e4cf555
Check for unused function arguments ( #6583 )
...
* 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
2019-05-08 15:51:33 -04:00
Whymarrh Whitby
6aa889280d
Add suffix to title text only when it exists ( #6546 )
2019-05-06 10:55:18 -02:30
kumavis
2845398c3d
Refactor ProviderApprovalController to use rpc and publicConfigStore ( #6410 )
...
* 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
2019-05-03 13:32:05 -04:00
Chi Kei Chan
13605c2b5e
Always show private network when RPC is not whitelisted ( #6495 )
2019-04-25 13:54:35 -07:00
Chi Kei Chan
429bb5e7aa
Fix button colors on mobile ( #6493 )
2019-04-24 20:01:41 -07:00
Chi Kei Chan
ec712d5d8f
Set max-width on network dropdown and ellipsis long network name ( #6494 )
2019-04-24 20:01:24 -07:00
Chi Kei Chan
3519e90ffd
Make height consistent on all row in send-content ( #6480 )
...
* Update all send-content row to 54px height
* Remove header subtitle
* Remove tests that check for send screen subheader
2019-04-18 00:41:04 -02:30
Chi Kei Chan
d8b536982e
Update confirm to use btn-primary ( #6473 )
...
* Update confirm to use btn-primary
* Remove console
* Fix e2e test
2019-04-17 13:34:47 -07:00
Chi Kei Chan
931aaeb700
Add token selection to the send screen ( #6445 )
...
* 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.
2019-04-17 16:45:13 -02:30
Thomas Huang
83f3e8ab98
Merge pull request #6468 from chikeichan/network-indicator-style-fix
...
Fix switcher height when Custom RPC is selected or loading
2019-04-17 12:42:49 -05:00
Paul Bouchon
0db0a187c8
feature: add Goerli support ( #6459 )
2019-04-17 15:04:49 -02:30
Chi Kei Chan
597c490928
Fix switcher height when Custom RPC is selected or when network is loading
2019-04-16 23:47:11 -07:00
Thomas Huang
00133d31b1
Merge pull request #6444 from MetaMask/localhost-network-dropdown
...
Fixes #6321 & #6421 - Add Localhost 8545 for network dropdown names
2019-04-16 14:39:00 -05:00
Chi Kei Chan
92c03bdff2
Update buttons & colors to match design system ( #6446 )
...
* 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
2019-04-16 17:05:22 -02:30
Whymarrh Whitby
c4a3d4ea82
Remove unneeded array cloning in getSendToAccounts selector
...
The use of `Object.entries` here to map the accounts into a new array effectively
produces a shallow clone of the array without guaranteeing the order of the original
array (as object iteration order is implementation-specific and variable). From MDN [1]:
> The **`Object.entries()`** method returns an array of a given object's own enumerable
> string-keyed property `[key, value]` pairs, in the same order as that provided by a
> `for...in` loop
And also:
> The ordering of the properties is the same as that given by looping over the
> property values of the object manually.
Both of which suggest that the iteration order is the same as `for...in`, which is to
say that it's not specified. [2] [3]
This changeset removes the cloning, keeping the shallow clone created the line before
which preserves the order of the items in the array.
[1]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
[2]:https://stackoverflow.com/a/5525820/1267663
[3]:https://stackoverflow.com/a/30919039/1267663
2019-04-11 21:50:06 -02:30
Sneh Koul
2786932576
repeated getSelectedAddress() func send.selectors.js removed ( #6056 )
2019-04-11 15:20:03 -02:30
Thomas Huang
d7a2ea9a2b
Add Localhost 8545 for network dropdown names
2019-04-10 16:34:13 -05:00
Dan Miller
5d948360c0
Distinguish between token and eth selected in home screen send button metrics event.
2019-04-08 11:06:13 -02:30
Dan Miller
5454266d7c
Metrics tracking gas changed - slow, average, fast, custom - on edit screen.-
2019-04-08 11:06:05 -02:30
kumavis
cf4eac3f2c
Merge pull request #6397 from MetaMask/wyre-deposit-modal
...
Change coinbase to wyre
2019-04-04 10:16:26 +08:00
Thomas Huang
6a80ff2718
Change coinbase to wyre
2019-04-03 16:45:43 -05:00
Dan J Miller
95a2480074
Fix display of gas chart on Ethereum networks ( #6389 )
2019-04-03 13:31:43 -02:30
Thomas Huang
a46ec83c9b
Remove NoticeController ( #6382 )
2019-04-01 22:33:54 -02:30
Whymarrh Whitby
4055dc3475
Remove unused account-dropdowns components ( #6363 )
2019-04-01 14:25:33 -02:30
Chi Kei Chan
adcf03eacc
About tab copy changes; Update route for Info & Help in account menu ( #6356 )
2019-03-29 13:54:03 -02:30
kumavis
133ed80aee
Merge pull request #6372 from MetaMask/addAddressIfNew
...
prevent add duplicates when address is not new
2019-03-29 13:48:15 +08:00
kumavis
0961449ca0
send-footer.utils.js - addressIsNew - improve readability
2019-03-29 13:34:49 +08:00
kumavis
38b85adbe0
Merge branch 'develop' of https://github.com/vimalsagar/metamask-extension into vimalsagar-develop
2019-03-29 10:20:19 +08:00
Jenny Pollack
356ef794f2
prevent add duplicates when address is not new
2019-03-28 19:18:53 -07:00
kumavis
b004b182bf
depoit-ether-modal - make buyEth args more explicit
2019-03-29 10:10:05 +08:00
Dan J Miller
ef4894b9a0
Don't include tx value in calculation of balance sufficiency for cancel button disabling. ( #6346 )
2019-03-26 12:17:36 -02:30
Dan J Miller
2f13a97d00
Cancel error rebased ( #6341 )
...
* Check balance before showing cancel
* Fix linter
* Use existing helper methods for calculating increased cancel price
* Add tooltip for disabled button
* Lint fix for cancelError branch.
* Disabling of cancel button should account for value of tx.
2019-03-25 13:55:23 -02:30
Dan J Miller
69f7968c70
Close transaction on close of notification window ( #6340 )
2019-03-25 13:49:23 -02:30
Dan J Miller
961ad267df
New settings page rebased ( #6333 )
...
* 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
2019-03-25 13:43:23 -02:30
Dan J Miller
4ff9126ff2
Replaces the coinbase link in the deposit modal with one for wyre ( #6302 )
2019-03-22 12:32:07 -02:30
Dan J Miller
174ec2d596
Fix oversized loading overlay on gas customization modal. ( #6326 )
2019-03-22 12:20:37 -02:30
Dan J Miller
2b992d2946
Fix gas fee in the submitted step of the transaction details activity log. ( #6301 )
2019-03-22 12:20:25 -02:30
Dan J Miller
468bc96bdf
Hide gas price chart and prevent api call when not on ethereum networks. ( #6300 )
...
Add missing translations in gas customization modal
2019-03-22 12:20:12 -02:30
Chi Kei Chan
31175625b4
Folder restructure ( #6304 )
...
* 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
2019-03-21 20:33:30 -02:30
Bruno Barbieri
7287133e15
Enable mobile sync ( #6332 )
...
* enable mobile sync
* remove mobile sync as a preference
* Fix typo
2019-03-21 12:43:10 -07:00
fixanoid
e1af6312ce
Fixing spelling of Ethereum in MetaMetrics copy ( #6329 )
2019-03-21 12:27:26 -02:30
Whymarrh Whitby
29a0b34786
Allow seed phrases with a trailing newline
2019-03-13 10:00:42 -02:30
Thomas Huang
7981b1bf23
Merge pull request #6281 from MetaMask/fix-browser-back-on-reveal-seed
...
Fixes the use of the browser back button on the reveal seed screen
2019-03-12 11:31:19 -05:00
kumavis
d288e59a9b
ui - add missing PropTypes ( #6287 )
2019-03-12 12:09:55 -02:30
kumavis
48047f8194
mascara - remove from project ( #6283 )
2019-03-12 11:17:21 -02:30
Dan Miller
17911dddff
Fixes the use of the browser back button on the reveal seed screen
2019-03-11 16:52:26 -02:30
Dan J Miller
b8f143f1c3
Handle undefined gas limits and prices in transaction-breakdown.component ( #6246 )
2019-03-06 14:44:53 -03:30
Dan J Miller
be2d2bad4b
Add privacy policy link to modal metrics opt-in ( #6250 )
2019-03-06 13:02:54 -03:30
Dan J Miller
f74cd1aa3f
Prevent advanced gas input arrows from setting value to < 0 ( #6248 )
2019-03-06 12:49:57 -03:30
Dan J Miller
d547e0b80b
Only call onRecipient and onSender methods if defined in sender-to-recipient ( #6247 )
2019-03-06 12:49:23 -03:30
Dan J Miller
7160cef4c7
Fix missing this reference in addtoken button onclick method ( #6245 )
2019-03-06 11:19:21 -03:30
Dan J Miller
df0c7be808
Fixes the 'Percentages row tracks and gutters' decpracation warning. ( #6244 )
2019-03-06 11:18:36 -03:30
Dan J Miller
f334f4da15
Metametrics fixes ( #6238 )
...
* Improve opt-in opt-out event tracking after going 'back' in onboarding.
* Fix 'Switched Networks' metrics event.
* Fix custom variables ids (can only use ids 1-5)
* Fix tracking of function type custom variable for metametrics in confirm-transaction-base
* Add missing metametrics events
2019-03-05 14:44:02 -03:30
Thomas Huang
434e1aa04a
Wrap in span
2019-03-05 12:00:56 -06:00
Dan J Miller
c757366355
Metametrics ( #6171 )
...
* 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
2019-03-05 12:15:01 -03:30
Vimal
ab5fe4d659
PR 5575 review comment fixes
2019-02-28 19:50:48 +05:30
Dan J Miller
cb2698d20e
First time flow updates ( #6192 )
...
* Action select step of onboarding flow added.
* Update navigation on create and import password screens.
* Adds terms of service checkbox to create and import account screens.
* Add security warning to jazzicon intro step
* Update and streamline unique image to confirm seed steps of first time flow.
* UI touch ups to welcome screen.
* UI touch up on select action page
* Fix first time import flow.
* Add end of flow screen to first time flow
* Replace unique image screen with updated fishing warning screen.
* Update e2e tests for onboarding flow changes.
* Add required translations to onboarding flow.
* Update design of select action screen to emphasize create new wallet option.
* Clean up onboarding flow code.
* Remove notice related code from first-time-flow directory.
* Use updater function argument in new-account.component
2019-02-27 11:16:41 -03:30
Chi Kei Chan
a2320c76fe
Show/Hide Fiat on Testnets based on User Preference ( #6153 )
2019-02-26 15:00:41 -03:30
Dan Finlay
f507f2a927
Feature Flag + Mobile Sync ( #5955 )
2019-02-25 15:40:13 -03:30
Dan J Miller
fdc7eb2113
Fix gas estimation when sending to contracts ( #6195 )
...
* Fix gas estimation when sending to contracts
* Fix calculating of balance sufficiency and tx params when sending token transaction
2019-02-25 14:46:23 -03:30
Dan J Miller
1eebe54c64
Merge pull request #6184 from chikeichan/6132
...
turn camcelCase method name to space separated
2019-02-19 20:59:43 -03:30
Dan J Miller
cbcaf87998
Merge pull request #6185 from chikeichan/5681
...
Remove password check when importing Account JSON
2019-02-19 20:59:17 -03:30
Chi Kei Chan
24ed53bbf3
Change "Token Address" to "Token Contract Address" ( #6182 )
2019-02-19 16:22:09 -03:30
Chi Kei Chan
0bbfb2e506
Remove password check when importing Account JSON
2019-02-18 22:01:43 -08:00
Chi Kei Chan
7be4795257
turn camcelCase method name to space separated
2019-02-18 21:36:12 -08:00
Chi Kei Chan
b58a9bd202
Add Copy Tx ID button to transaction-list-item-details ( #6146 )
...
* Add Copy Tx ID button to transaction-list-item-details
* Move justCopied toggle timeout inside setState callback
2019-02-17 01:00:02 -03:30
Whymarrh Whitby
1d8d129305
Checksum address before slicing it for the confirm screen ( #6133 )
2019-02-14 10:43:12 -03:30
Jonathan Smirnoff
8dddf48904
Fixed issue #5838 ( #6001 )
...
Update changelog file
2019-02-13 10:30:46 -10:00
Chi Kei Chan
d438deee89
Add button to force edit token symbol when adding custom token ( #6147 )
2019-02-13 10:30:22 -03:30
Whymarrh Whitby
1da1ec0df5
Merge pull request #6139 from whymarrh/fix-confirm-advanced-gas
...
Fix advanced gas controls on the confirm screen
2019-02-12 11:51:18 -03:30
Whymarrh Whitby
eed3ee41d4
Fix advanced gas controls on the confirm screen
2019-02-12 11:24:03 -03:30
Whymarrh Whitby
f41830b798
Trim whitespace from seed phrase during import
...
Somehow we lost 33b85cf2e
2019-02-12 01:05:05 -03:30
Whymarrh Whitby
0972e23dcd
Add e2e tests adjusting gas before sending
2019-02-08 15:44:45 -03:30
Whymarrh Whitby
57ead4914f
Fix inline advanced gas editing
2019-02-08 15:44:45 -03:30
Brandon Wissmann
810e5cb256
implement class for sign footer button ( #6120 )
2019-02-08 08:48:12 -03:30
Dan J Miller
97e92a1b68
Set custom gas data in state from inline advance gas controls on send screen ( #6114 )
2019-02-06 13:43:45 -03:30
Chi Kei Chan
798930afba
Add Swap feature to CurrencyInput ( #6091 )
...
* Add Swap feature to CurrencyInput
* Fix linter error
* Fix and Add unit tests
2019-02-06 11:44:17 -03:30
Dan J Miller
38b91f63a2
Add togglable advanced gas controls on send and confirm screens ( #6112 )
...
* Extract advanced gas input controls to their own component
* Add advanced inline gas toggle to settings
* Add optional advanced inline gas to send send screen
* Adds optional advanced gas inputs to the confirm screen
* Add info modals for advanced gas inputs.
* Fix translation of advance gas toggle description.
* Lint and unit test fixes for inline-advanced-gas-inputs
* Increase margin above advanced options button on send screen
* Move methods from constructor to property syntax in advanced-gas-inputs.component
2019-02-05 16:24:28 -08:00
Whymarrh Whitby
f3a7054f6b
Add announcement for users migrated to the new UI
2019-02-05 08:49:55 -03:30
Whymarrh Whitby
a7a6318c13
Default to the new UI for all users
2019-02-05 08:49:55 -03:30
Whymarrh Whitby
c18b6f4117
Remove commented references to Beta UI
2019-02-05 08:49:55 -03:30
Whymarrh Whitby
8a8696f897
Remove "Use old UI" setting
2019-02-05 08:49:55 -03:30
Paul Bouchon
db776b5a02
EIP-1102 updates ( #6006 )
...
* Update privacy notice
* Respond to 1102 messages using tab ID
2019-01-30 10:27:33 -08:00
Dan J Miller
02bdbbbc3e
Add visual indicator when displaying a cached balance ( #5854 )
2019-01-30 08:46:12 -03:30
Frankie
df3169d1c7
I#5956 fix2 dont overwrite existing rpc settings ( #6044 )
...
* 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
2019-01-29 08:13:51 -10:00
Esteban Miño
2d7c9b3dac
Prevent send to token warning ( #6058 )
2019-01-23 14:39:56 -03:30
Alexander Tseung
fba17d77de
Refactor first time flow, remove seed phrase from state ( #5994 )
...
* Refactor and fix styling for first time flow. Remove seed phrase from persisted metamask state
* Fix linting and tests
* Fix translations, initialization notice routing
* Fix drizzle tests
* Fix e2e tests
* Fix integration tests
* Fix styling
* Fix migration naming from 030 to 031
* Open extension in browser when user has not completed onboarding
2019-01-23 11:55:34 -03:30
Esteban Miño
1d93d9a385
Prevent send to token ( #6051 )
...
* check contact metadata
* check for tokens in state
* tests
* update tests
* validation only if sending tokens
* container test
2019-01-22 11:05:59 -08:00
Esteban Miño
e21dfd1862
Use Parity on-chain registry only when is needed ( #6052 )
...
* add and use knownMethodData to avoid infura requests
* dataMethod to methodData and check empty response
2019-01-22 10:22:56 -08:00
Alexander Tseung
fe780fb3d4
Refactor BalanceComponent to jsx ( #6048 )
2019-01-21 10:56:48 -03:30
Frankie
0ad7797076
I#5956 fix 1 ( #6026 )
...
* prevent invalid chainId's when adding cusstom rpcs
* migration 30 removes invalid chaids from preferences and networkController for custom rpcs
2019-01-17 09:10:33 -10:00
Alexander Tseung
de0ac53008
Fix grammar error in Current Conversion ( #6029 )
2019-01-17 11:37:38 -03:30
Alexander Tseung
3fe78a8f48
Disable account dropdown on signing screens ( #6024 )
2019-01-16 14:50:24 -08:00
Alexander Tseung
eaca9d21e6
Fix confirm screen for sending ether tx with hex data ( #6008 )
2019-01-10 12:54:37 -03:30
Hsuan Lee
dd6d3232fa
Fix ERC20 token value decoding ( #5995 )
...
When MetaMask user calls non-standard ERC20 methods such as `mint`, `tokenData` will be `undefined` and an uncaught error will break the UI
2019-01-04 08:36:25 -03:30
Bowen
866b9af69e
Fix Component#componentDidUpdate usage ( #5977 )
2019-01-03 18:17:37 -03:30
Alexander Tseung
0b4469b842
Add scrolling button to account list
2019-01-03 11:22:38 -08:00
Alexander Tseung
30a2be85ee
Prevent users from changing the From field in the send screen ( #5922 )
...
* Prevent users from changing the From field in the send screen
* Fix integration tests
2018-12-13 18:19:36 -08:00
Alexander Tseung
435fdae84a
Fix displayed time and date in the activity log. Remove vreme library, add luxon library. ( #5932 )
2018-12-13 12:48:15 -08:00
Dan J Miller
c5861c88a5
Merge pull request #5893 from MetaMask/loading-network-screen
...
Loading network screen
2018-12-13 14:20:27 -03:30
Alexander Tseung
05e8753641
Fix speed up button not showing for transactions with the lowest nonce ( #5925 )
2018-12-12 18:33:46 -08:00
Dan Miller
04cc98d8e4
Clean up for the loading-network-screen
2018-12-12 14:14:52 -03:30
Dan Miller
20dbebae9f
Adds network loading retry / error screen.
2018-12-12 13:53:37 -03:30
Dan Miller
0e5e51b8ff
Add identifier of private network to the network loading screen message.
2018-12-12 13:53:37 -03:30
Dan Miller
47501a6f7a
Add spinner and dropdown arrow to network indicator on custom network loading.
2018-12-12 13:53:37 -03:30
Dan Miller
66f7102c06
Show transaction fee instead of total fee in top left of gas customization modal.
2018-12-12 13:27:44 -03:30
Dan Miller
dabf263733
Fix width of gas customization model in notification view
2018-12-12 13:05:38 -03:30
Dan Miller
3cca6fc886
Add missing translation to the gas customization component.
2018-12-12 13:05:25 -03:30
Dan Miller
1145a0a9ad
Ensures that advanced tab gas limit reflects tx gas limit
2018-12-12 12:00:57 -03:30
Alexander Tseung
9c24019659
Add submitDisabled prop to Modals. Disable submit button when creating a cancel transaction ( #5910 )
2018-12-11 15:04:57 -08:00
Dan J Miller
1fbdce8916
Improve ux for low gas price set ( #5862 )
...
* 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.
2018-12-10 13:51:00 -08:00
Noah Zinsmeister
49971e9ec2
fix formatting of 32-byte strings in personal_sign ( #5878 )
2018-12-10 09:47:52 -03:30
Alexander Tseung
d8ab9cc002
Group transactions by nonce ( #5886 )
2018-12-09 12:48:06 -08:00
Dan Miller
8194309a9a
Fix styling of send screen in extension view when hex data on.
2018-12-04 00:06:22 -03:30
Dan Miller
d8e41a6aa5
Final gas customization fixes
2018-12-04 00:06:22 -03:30
Dan Miller
75d7545437
Clear custom gas data on hiding of gas customization modal.
2018-12-04 00:06:22 -03:30
Dan Miller
f8ffdaedc9
Modify results of API data to better fit gas chart: remove outliers, pad data
2018-12-04 00:06:22 -03:30
Dan Miller
7ffea926f2
Add loading spinners when waiting for APIs in the gas customization modal
2018-12-04 00:06:22 -03:30
Dan Miller
7f2c5c09de
Uses more reliable api on main send screen; caches basic api results in modal
2018-12-04 00:06:22 -03:30
Dan Miller
4111e9f92d
Improve responsiveness of customize speed up slider.
2018-12-04 00:06:22 -03:30
Dan Miller
d5411e772d
Make gas customization modal responsive.
2018-12-04 00:06:22 -03:30
Dan Miller
b70886a99b
Fixes for components that break e2e gas customization tests, plus unit test updates.
2018-12-04 00:06:22 -03:30
Dan Miller
e3f015c88f
Adds speed up slide-in gas customization sidebar
2018-12-04 00:06:22 -03:30
Dan Miller
3162a2747c
Redesign of gas customization basic tab.
2018-12-04 00:06:05 -03:30
Dan Miller
3ced3c9b2a
Clean up for mmui-i11-custom-gas-price-chart branch
2018-12-04 00:06:05 -03:30
Dan Miller
d14af8346a
Improve data management and tests for gas-modal-page-container price estimates.
2018-12-04 00:06:05 -03:30
Dan Miller
d0619b024f
Update tests, plus some lint fixes, for gas-price-chart
2018-12-04 00:06:05 -03:30
Dan Miller
6f0406125d
Clean up gas chart code.
2018-12-04 00:06:05 -03:30
Dan Miller
aa798cc545
Add control arrows to advanced gas tab inputs.
2018-12-04 00:06:05 -03:30
Dan Miller
cd32c58fb4
Complete integration of gas chart with redux.
2018-12-04 00:06:05 -03:30
Dan Miller
a2bbf504b8
Read only connection of gas price chart to redux
2018-12-04 00:06:05 -03:30
Dan Miller
2dbae581ac
Gas price chart improvements, redesign, bug fixes, and set up to receive external data
2018-12-04 00:06:05 -03:30
Dan Miller
0ba6f7d9bb
Adds not yet functional gas price chart.
2018-12-04 00:06:05 -03:30
Dan Miller
6dd1028c71
Lint and unit test fixes.
2018-12-04 00:06:05 -03:30
Dan Miller
6f8e2b1ad9
Clean up for advanced gas tab customization changes.
2018-12-04 00:06:05 -03:30
Dan Miller
b95eb30ec6
Adds redesign for the customize gas advanced tab.
2018-12-04 00:06:04 -03:30
Dan Miller
5354325fab
Test updates and additions for button integration with send screen.
2018-12-04 00:06:04 -03:30
Dan Miller
b567c78bca
Integrate gas buttons with the send screen.
2018-12-04 00:06:04 -03:30
Dan Miller
7de3f22d63
Connects remained of the gas customization component to redux.
2018-12-04 00:06:04 -03:30
Dan Miller
58feb24fa7
Styling fixes for gas customization advanced tab content.
2018-12-04 00:06:04 -03:30
Dan Miller
d07d40cf7c
Improvements to propdefaults in button-group.component and basic-tab-content.component
2018-12-04 00:06:04 -03:30
Dan Miller
0a7dfcd55d
Connect the gas-button-group component to redux and a live api.
2018-12-04 00:06:04 -03:30
Dan Miller
112d18e316
Adds basic tab content to gas customizer, with styled button group (static, for now).
2018-12-04 00:06:04 -03:30
Dan Miller
57cd721800
Improve styling of advanced-tab-content gasInput row
2018-12-04 00:06:04 -03:30
Dan Miller
99c8804eeb
Add tests for advanced-tab-component.js and subcomponents.
2018-12-04 00:06:04 -03:30
Dan Miller
3b9ec8e1bc
Remove gas slider from advance-tab-content.component
2018-12-04 00:06:04 -03:30
Dan Miller
d55a2615a4
Split advanced-tab-content.component.js render() method into smaller pieces; add translations to the same file.
2018-12-04 00:06:04 -03:30
Dan Miller
342dc95410
Adds the content of the advanced tab - w/o chart or dynamic content - to gas customize modal.
2018-12-04 00:06:04 -03:30
Dan Miller
5e7409482b
Use BEM for css in gas-modal-page-container
2018-12-04 00:06:04 -03:30
Dan Miller
88d8eb289e
Use correct message key in gas-modal-page-container.component.js
2018-12-04 00:06:04 -03:30
Dan Miller
f9aa5a70de
Adds new gas customization modal container (without content)
2018-12-04 00:06:04 -03:30
Dan J Miller
4c24555545
Save recent network balances in local storage ( #5843 )
...
* Use selector for state.metamask.accounts in all cases.
* Default to cached balance when selecting metamask accounts
* Adds the cached-balances controller
* Documentation and small codes fixes for #5843
Co-Authored-By: danjm <danjm.com@gmail.com>
2018-11-30 14:51:24 -08:00
Whymarrh Whitby
88defe3623
Hide app-header when provider request pending ( #5831 )
2018-11-26 16:51:07 -03:30
Thomas Huang
4054b1cb84
Increase Token Symbol length to twelve
2018-11-22 12:39:59 -06:00
Bruno Barbieri
ae8626eceb
Merge pull request #5797 from MetaMask/trezor-v6
...
Add Firefox and Brave support for Trezor
2018-11-21 14:45:55 -05:00
Whymarrh Whitby
7229f0f9fc
Fix usage of setState in ConfirmTransactionBase#handleSubmit ( #5799 )
2018-11-21 15:22:18 -03:30
Whymarrh Whitby
74c18ef0e8
Show byte count for hex data on confirm screen ( #5798 )
2018-11-21 15:21:34 -03:30
brunobar79
9b1df386de
fix merge conflicts
2018-11-20 17:44:28 -05:00
Whymarrh Whitby
c5da84d7a2
Remove "Beta" from header logo
2018-11-20 14:04:50 -03:30
Alexander Tseung
a7b3750a3e
Fix button styling for Create Account Connect ( #5787 )
2018-11-19 22:46:41 -08:00
Alexander Tseung
4c87c05a02
Fix rounding issue when sending max tokens ( #5695 )
...
* 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
2018-11-19 16:06:34 -08:00
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
2018-11-16 14:54:55 -10:00
brunobar79
c0557b43e2
clean up
2018-11-15 00:34:49 -05:00
brunobar79
18f39ef69e
Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5
2018-11-14 15:42:45 -05:00
Alexander Tseung
46b29a50f0
Show APPROVED status for transactions that have been approved but not submitted
2018-11-13 17:37:01 -08:00
brunobar79
484aa6801e
Merge branch 'develop' into trezor-v5
2018-11-13 17:21:15 -05:00
PaddyMc
7ce2cf4572
Fixes #3425 : Better support for batch transactions ( #5437 )
2018-11-13 13:49:12 -03:30
Vimal
6bb92a8672
merging upstream branch
2018-11-12 17:50:37 +05:30
Alexander Tseung
83ffb9fafe
Increase number of ETH decimals displayed in the balance view from 3 to 4 ( #5710 )
2018-11-09 10:17:42 -08:00
brunobar79
c651212025
fix merge conflicts
2018-11-06 20:21:19 -05:00
Whymarrh Whitby
f692123f51
Update the colour of the default image used on Connect Request ( #5678 )
2018-11-05 15:07:09 -08:00
Whymarrh Whitby
5d928e67c3
Update "Learn more" link on 1102 connect screen ( #5677 )
2018-11-05 15:07:09 -08:00
Whymarrh Whitby
26ada8a828
Update Connect Request screen design ( #5644 )
...
* Parameterize NetworkDisplay background colour
* Update design for login request screen
* Pass siteTitle, siteImage through for calls to ethereum.enable()
* Bring the site images closer together
2018-11-05 15:07:09 -08:00
bitpshr
226601a956
EIP-1102: add user privacy option
2018-11-05 15:07:09 -08:00
bitpshr
89b4aa5d62
EIP-1102: Add option to force-enable provider
2018-11-05 15:07:09 -08:00
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
2018-11-05 15:07:09 -08:00
HackyMiner
ac079365e6
fixed currency-display ( #5619 )
...
* call getValueFromWeiHex() with fromCurrency=nativeCurrency
2018-10-30 12:15:38 +01:00
kumavis
310229d22e
Merge pull request #5567 from MetaMask/HowardBraham-develop
...
Feature: Warn when attempting to send tx with data to non-contract
2018-10-29 21:47:07 -04:00
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
2018-10-26 10:26:43 +02:00
kumavis
9b42416fc0
Merge branch 'develop' of github.com:MetaMask/metamask-extension into HowardBraham-develop
2018-10-25 22:24:30 -04:00
Alexander Tseung
554f79c0e2
Fix blockies icons overriding contract map icons. Refactor Identicon component ( #5599 )
2018-10-25 17:21:41 +08:00
Alexander Tseung
7852269ed1
Add Activity Log entry for onchain failures for a transaction. Change scrolling of the transaction list. Remove Transaction Details modal. ( #5581 )
2018-10-23 19:59:04 +08:00
Vimal
82b11b69a5
Adding CoinSwitch exchange
2018-10-22 16:44:21 +05:30
Alexander Tseung
614995c0e9
Fix account display width for large currency values
2018-10-21 22:01:20 +08:00
brunobar79
9c1b2108f6
fix merge conflicts
2018-10-21 01:59:53 -04:00
kumavis
fda101912b
ui - use variable to clarify result of emptiness check
2018-10-21 00:52:41 -04:00
kumavis
3b46478024
Merge branch 'develop' into develop
2018-10-20 23:48:10 -04:00
Thomas
4d1d4a1159
Update Shapeshift logo url and adjust list item contents
2018-10-17 20:40:09 -07:00
Whymarrh Whitby
42fa54678f
Extract Add Token button into its own component
2018-10-17 15:49:29 -02:30
Alexander Tseung
badebe017f
Adds toggle for primary currency ( #5421 )
...
* Add UnitInput component
* Add CurrencyInput component
* Add UserPreferencedCurrencyInput component
* Add UserPreferencedCurrencyDisplay component
* Add updatePreferences action
* Add styles for CurrencyInput, CurrencyDisplay, and UnitInput
* Update SettingsTab page with Primary Currency toggle
* Refactor currency displays and inputs to use UserPreferenced displays and inputs
* Add TokenInput component
* Add UserPreferencedTokenInput component
* Use TokenInput in the send screen
* Fix unit tests
* Fix e2e and integration tests
* Remove send/CurrencyDisplay component
* Replace diamond unicode character with Eth logo. Fix typos
2018-10-17 07:03:29 +08:00
brunobar79
13820b6cc1
fix conflicts
2018-10-16 14:01:54 -04:00
Whymarrh Whitby
bdb6e55354
Decrease click area for AmountMaxButton on send screen
2018-10-15 21:04:07 -02:30
Michael J. Cohen
8c33c018de
add tooltip for view etherscan tx ( #5518 )
...
* add tooltip for view etherscan tx
* run lint
2018-10-15 20:32:57 -02:30
Alexander Tseung
c821a8354c
Add txReceipt data to transaction details ( #5513 )
2018-10-16 06:00:47 +08:00
Whymarrh Whitby
5cde74fe88
Update Zendesk links for new subdomain
2018-10-11 13:36:24 -02:30
bakaoh
63c61c52eb
Make all addresses EIP-55 compliant ( #5379 )
...
* Make all addresses EIP-55 compliant
* Checksum autocompleted address but not during input
2018-10-10 10:50:37 -02:30
Bruno Barbieri
ccab4ee1a4
tests - integration - Add Drizzle tests ( #5467 )
...
* added drizzle app for testing
* working
* clean up
* clean up script
* make build step required
* add drizzle-tests to .eslintignore
* clean up drizzle run script
* lint
* use truffle unbox
* undo eslintignore changes
* revert change
* dont use global
* dont need this steps
* use the new account flow
* restore package-lock.json
2018-10-10 01:12:43 -04:00
Santiago Gonzalez Toral
fd14d3f090
Fixed lint errors
2018-10-09 19:43:41 -07:00
Santiago Gonzalez Toral
f88373237b
Added account options on home screen
2018-10-09 19:43:41 -07:00
Howard Braham
4cc0b1ef01
ganache-core merged my PR, so I changed some comments to clarify that ganache-core v2.2.1 and below will return the non-standard '0x0'
2018-10-09 15:31:25 -07:00
Howard Braham
222e62d7f1
Bug Fix : #1789 and #4525 eth.getCode() with no contract
2018-10-09 15:31:25 -07:00
Alexander Tseung
37322f9f4e
Fix token values being undefined
2018-10-08 17:05:57 -07:00
Whymarrh Whitby
888e5b4f16
Merge pull request #5442 from whymarrh/fix-page-container-footer
...
Fix markup for inline instances of PageContainers
2018-10-05 19:04:55 -02:30
Whymarrh Whitby
7dd1254424
Fix markup for inline instances of PageContainer
s
2018-10-05 18:13:29 -02:30
Alexander Tseung
c474f30929
Fix action translations edge cases
2018-10-05 13:21:10 -07:00
Alexander Tseung
50d91f998d
Translate method names in the transaction list only when applicable
2018-10-04 19:26:41 -07:00
Whymarrh Whitby
2c5fb11b37
Remove "Copy Contract Address" from token options
2018-10-03 13:49:03 -02:30
Whymarrh Whitby
b11a8ca2f7
Merge pull request #5329 from whymarrh/confirm-features
...
Add batch reject to confirm screen
2018-10-01 22:02:47 -02:30
Whymarrh Whitby
65ba018aad
Only use current network txs when calculating "Reject All"
2018-10-01 17:32:01 -02:30
Whymarrh Whitby
e351a7dd74
Switch page-container__footer-* for header and footer tags
2018-10-01 17:32:01 -02:30
Whymarrh Whitby
d28453234c
Reword batch reject confirm as "Reject All"
2018-10-01 13:44:54 -02:30
Whymarrh Whitby
2e35c05f14
Confirm rejecting multiple transactions with modal
2018-10-01 13:44:54 -02:30
Whymarrh Whitby
7610248f8c
s/Cancel/Reject/ on confirm screen for clarity
2018-10-01 13:44:54 -02:30
Whymarrh Whitby
0fa9299cd1
Add "Cancel All" button to confirm footer
2018-10-01 13:44:54 -02:30
Whymarrh Whitby
2e5a09e28c
Have PageContainerFooter take children node
2018-10-01 13:44:54 -02:30
Whymarrh Whitby
ce2e068b43
Recipient not required on send screen when hex data present
2018-10-01 12:53:32 -02:30
Whymarrh Whitby
c9f22916dd
Rework estimateGas logic
...
The tests still pass!
2018-10-01 12:53:32 -02:30
Whymarrh Whitby
918fb71df3
Update gas when hex data changes on send screen
2018-10-01 12:53:32 -02:30
Whymarrh Whitby
3741927d8d
Update send.utils.test to with better mocks
2018-10-01 12:53:32 -02:30
Whymarrh Whitby
508a712479
Allow sending transactions with hex data and no recipient
2018-10-01 12:53:32 -02:30
HackyMiner
13a1d46720
support editable customRPC ( #5267 )
...
* support editable customRPC #5246
* remove rpcList size restriction
2018-09-28 17:23:58 -02:30
Alexander Tseung
cf6bead7ef
Close transaction details modal when clicking speed up
2018-09-26 17:38:49 -07:00
Thomas Huang
db30bbce4c
Merge pull request #5332 from MetaMask/ui-unit-tests
...
Some Ui tests
2018-09-25 23:17:17 -05:00
Alexander Tseung
5d57c7c4fd
Merge pull request #5282 from MetaMask/tx-cancel-ui
...
Add Cancel Transaction feature. Refactor modals. Add Transaction Details modal.
2018-09-24 11:34:12 -07:00
tmashuang
a0a57c24fd
Some Ui tests
2018-09-24 11:28:04 -05:00
Alexander Tseung
04988eca5e
Merge pull request #5241 from MetaMask/refactor-settings
...
Refactor settings page to use JSX and follow component file folder st…
2018-09-20 23:33:04 -07:00
Alexander Tseung
431beb9436
Fix multiplyCurrencies. Add onClose prop for Modal component. Remove hideModal from modal components.
2018-09-20 19:44:23 -07:00
Alexander Tseung
01166b26ed
Fix translation casing
2018-09-20 15:53:53 -07:00
Alexander Tseung
9088fd1de4
Add Current Conversion Updated string to translations
2018-09-19 16:55:58 -07:00
Alexander Tseung
b579ee9619
Refactor settings page to use JSX and follow component file folder structure
2018-09-19 16:37:23 -07:00
Alexander Tseung
2cfdc95eeb
Add unit tests
2018-09-19 14:31:10 -07:00
Alexander Tseung
6b3a4e8259
Fix unit tests
2018-09-19 14:31:10 -07:00
Alexander Tseung
2779936317
Add transition effect to TransactionListItemDetails expander
2018-09-19 14:31:10 -07:00
Alexander Tseung
95e1eff4ca
Add TransactionDetails modal
2018-09-19 14:31:10 -07:00
Alexander Tseung
5a6c333506
Switch existing modals from using Notification to Modal. Remove Notification component. Add CancelTransaction modal
2018-09-19 14:31:10 -07:00
Alexander Tseung
04ec3f0b6b
Fix Transaction view styles
2018-09-19 14:31:10 -07:00
Alexander Tseung
d0d0103bb5
Add Modal component
2018-09-19 14:31:10 -07:00
Alexander Tseung
44d4b5b5db
Refactor ConfirmPageContainerError to ErrorMessage
2018-09-19 14:31:10 -07:00
Whymarrh Whitby
3987f9860f
Move main-container wrapper div into its own class
2018-09-19 16:43:58 -02:30
Whymarrh Whitby
fbf14cd130
Prevent loading screen from overlaying the app bar
...
Refs #4417
This change is functional copy of 3893469
that solves the problem in a way
that doesn't depend on the height of the app bar since the app bar isn't a
fixed height in the smaller views.
2018-09-19 16:03:16 -02:30
Paul Bouchon
daca7f9b41
Merge branch 'develop' into eip-712
2018-09-17 12:11:10 -04:00
Chad Grimaldi
2f14f978e3
compute and display checksummed hash in selected-account component ( #5255 )
2018-09-15 13:31:21 -07:00
Sean
cd28dbb1d5
Improvement: Increase click area for arrows ( #5264 )
2018-09-15 12:22:10 -07:00
Alexander Tseung
b062fe2e99
Fix speed up functionality
2018-09-14 20:29:15 -07:00
Sean Rabaut
c5b9409701
Bug Fix : #5183 history not defined
2018-09-13 20:18:58 -04:00
bitpshr
42fdcf6239
Update new method namespace from v2 to v3
2018-09-13 15:42:27 -04:00
bitpshr
36dd0354e7
Implement latest EIP-712 protocol
2018-09-13 15:40:57 -04:00
Alexander Tseung
f1a309e0cc
Fix identicon address. Fix styling of New Contract recipient. Fix Activity Log initial ETH value. Add timestamps to Activity Log events
2018-09-12 19:48:52 -07:00
Alexander Tseung
c18c0e1c30
Fix tests. Add className to Identicon ethLogos.
2018-09-12 19:48:52 -07:00
Alexander Tseung
01e9f03701
Add transaction details to TransactionListItem component
2018-09-12 19:48:52 -07:00
Alexander Tseung
5beb34aa52
Add TransactionListItemDetails component
2018-09-12 19:48:52 -07:00
Alexander Tseung
fd51ab1229
Add TransactionBreakdown component
2018-09-12 19:48:52 -07:00
Alexander Tseung
084158f1a2
Add tests for TransactionActivityLog. Make changes to rendering events
2018-09-12 19:48:52 -07:00
Alexander Tseung
8143f7725a
Edit styling of cards variant of SenderToRecipient component
2018-09-12 19:48:51 -07:00
Alexander Tseung
63ba6d1df4
Add HexToDecimal component
2018-09-12 19:48:51 -07:00
Alexander Tseung
18c94c4ac9
Add tests for Card component
2018-09-12 19:48:51 -07:00
Alexander Tseung
702b756882
Allow denominations in CurrencyDisplay component
2018-09-12 19:48:51 -07:00
Alexander Tseung
31089778ba
Add raised type buttons to Button component. Refactor all buttons within app to Button components
2018-09-12 19:48:51 -07:00
Alexander Tseung
930dac110a
Add ActivityLog component
2018-09-12 19:48:51 -07:00
Whymarrh Whitby
e39050f4fe
Show failed tx txMeta.err in tooltips
2018-09-08 20:56:02 -02:30
Whymarrh Whitby
9662f9b8b5
Show failed tx RPC error messages in tooltips
...
This changeset displays the error messages attached to txMeta for a failed tx
in a tooltip on hover in the tx list view. This will only display for txs with
the `txMeta.err.rpc.value` property, not all failed txs.
2018-09-08 20:50:31 -02:30
Whymarrh Whitby
47b32682f3
Don't render tooltips without titles
2018-09-08 20:50:31 -02:30
Whymarrh Whitby
db241e6b91
Rewrite Tooltip component as ES6
2018-09-08 20:50:31 -02:30
brunobar79
8ee01f4e99
Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5
2018-09-05 16:26:09 -04:00
Whymarrh Whitby
05c72070bb
Fix assertion of missing child component
2018-09-05 16:35:37 -02:30
Dan J Miller
bd49098039
Merge pull request #5188 from taobun/develop
...
edit decimal check in old-ui/
2018-09-04 21:39:01 -02:30
Dan Finlay
5043451356
Merge pull request #5167 from MetaMask/fix-watcAsset-images
...
Fix images for watched tokens
2018-09-04 12:56:56 -07:00
Dan J Miller
86bb96aaaf
Merge pull request #5129 from MetaMask/add-sidebar-component
...
Add sidebar component
2018-09-04 16:19:09 -02:30
bunoi
f412b19244
fix check valid decimals code in new ui
2018-09-04 23:40:02 +07:00
Dan J Miller
b9e4feac48
Merge pull request #5091 from MetaMask/i4945-feature-flag-hex-data
...
Adds feature flag toggle for the hex data row on the send screen.
2018-09-04 11:57:40 -02:30
Esteban MIno
165a966a2a
balance components using selectors
2018-08-30 17:19:10 -03:00
Esteban MIno
c8e5068537
fix watched tokens images showing in tx list
2018-08-30 13:51:57 -03:00
Esteban MIno
208312b239
fix watched asset image rendering on confirm transaction header
2018-08-30 12:59:44 -03:00
Esteban MIno
07cb6adc31
fix images for watched tokens
2018-08-29 23:13:25 -03:00
Dan Miller
40e0d92f57
Adds sidebar component and refactors slide in wallet view sidebar to use it.
2018-08-28 22:08:15 -02:30
Alexander Tseung
9ab0354e36
Merge pull request #5155 from MetaMask/i5154-confirm-spinner
...
Fix infinite spinner on failed transactions
2018-08-28 17:37:13 -07:00
Alexander Tseung
f78dc96a2c
Fix infinite spinner on failed transactions
2018-08-28 12:18:57 -07:00
Esteban MIno
e743f44150
fix conflicts
2018-08-28 15:20:30 -03:00
Dan Miller
65873e33e4
Adds feature flag toggle for the hex data row on the send screen.
2018-08-27 11:44:16 -02:30
Alexander Tseung
c0e97d1739
Fix tests
2018-08-23 19:19:48 -07:00
Alexander Tseung
342522c6cf
Fix naming, add eth.getCode check for actions, fix translations for statuses
2018-08-23 16:45:28 -07:00
Alexander Tseung
eb17151ff4
Change "Outgoing" to "Sent Ether" or "Sent Token"
2018-08-23 16:45:28 -07:00
Alexander Tseung
da0df79047
Add CurrencyDisplay and TokenCurrencyDisplay components
2018-08-23 16:45:27 -07:00
Alexander Tseung
b48a293af0
Update retry transaction logic to use network nonce
2018-08-23 16:45:27 -07:00
Alexander Tseung
5dcd8ceb7b
Fix e2e tests
2018-08-23 16:45:27 -07:00
Alexander Tseung
9adf0c4b60
Fix integration tests
2018-08-23 16:45:27 -07:00
Alexander Tseung
e104744d3b
Fix shapeshift transactions. Delete unused files
2018-08-23 16:45:27 -07:00
Alexander Tseung
33a94332e4
Show token amounts in TransactionListItem for token transfers
2018-08-23 16:45:27 -07:00
Alexander Tseung
5ddd9b55be
Add retry button to TransactionListItem
2018-08-23 16:44:44 -07:00
Alexander Tseung
fa8313f903
Code cleanup
2018-08-23 16:44:44 -07:00
Alexander Tseung
5de48c67a0
Use css grid for TransactionListItem for responsive layout
2018-08-23 16:44:44 -07:00
Alexander Tseung
5ee40675b9
Refactor transactions list views. Add redesign components
2018-08-23 16:44:44 -07:00
Alexander Tseung
d733bd34fb
Delete unused files
2018-08-23 16:44:44 -07:00
Alexander Tseung
4e0693eaff
Add withMethodData HOC, add higher-order-component folder
2018-08-23 16:44:43 -07:00
Alexander Tseung
40d4ac9ae1
Add TransactionStatus component
2018-08-23 16:44:43 -07:00
Alexander Tseung
8a7547b9cd
Add MenuBar component
2018-08-23 16:44:43 -07:00
Alexander Tseung
d1de5ae94f
Add react-media package to prevent rendering wallet-view twice in the popup view
2018-08-23 16:44:43 -07:00
Alexander Tseung
3b408715c7
Refactor home screen and remove unused files
2018-08-23 16:44:43 -07:00
Esteban MIno
b59a1e91b8
typo watchAsset imageUrl to image
2018-08-23 15:54:40 -03:00
Evgeniy Filatov
9a80d6e859
updated docs, small improvement of recent RPC rendering
2018-08-23 01:26:30 +03:00
Evgeniy Filatov
c0b5e8a088
backported RPC improvements to oldui
2018-08-23 01:18:13 +03:00
Evgeniy Filatov
b23cca1469
implemented improvements to RPC history
2018-08-23 01:18:13 +03:00
Alexander Tseung
25eac2334b
Merge pull request #5089 from MetaMask/i5085-ethcode
...
Use eth_getCode to sort transaction action type
2018-08-22 14:48:37 -07:00
Alexander Tseung
865a0d8173
Use eth_getCode to sort transaction action type
2018-08-22 14:19:07 -07:00
Alexander Tseung
d7d141cea5
Fix code readability, use PureComponent over Component
2018-08-22 14:12:01 -07:00
Alexander Tseung
01c0c98501
Add tabs support for PageContainer
2018-08-22 14:12:01 -07:00
Whymarrh Whitby
f495c0e9e0
Merge pull request #5102 from whymarrh/fix-account-export-pw-bug
...
Fix export privkey modal password bugs
2018-08-22 16:28:33 -02:30
Whymarrh Whitby
171f6711d9
Merge pull request #5066 from whymarrh/fix-key-export
...
Don't re-render the export modal when the selected identity changes
2018-08-22 16:28:17 -02:30
Whymarrh Whitby
1e8e8bdfc8
Don't re-render the export modal when the selected identity changes
2018-08-22 15:38:34 -02:30
Whymarrh Whitby
a90c152485
Update AccountModalContainer to accept a selectedIdentity prop
2018-08-22 15:38:34 -02:30
Whymarrh Whitby
743c6e7ca4
Clear warnings when exportAccount succeeds
2018-08-22 15:38:09 -02:30
Whymarrh Whitby
456f2faf4f
Handle case where keyring is missing in AccountDetailsModal
2018-08-22 15:38:09 -02:30
Alexander Tseung
7294aede4f
Add new variant for SenderToRecipient component
2018-08-22 10:53:20 -07:00
Esteban MIno
153731e462
fix integration tests on balance component with new watchAsset
2018-08-22 12:06:11 -03:00
Esteban MIno
6ccf2811e7
unit tests for watchAsset
2018-08-21 19:17:57 -03:00
Esteban MIno
6fa889abcb
refactor watchToken related functions
2018-08-21 12:59:42 -03:00
brunobar79
0e1605b082
fix comment
2018-08-20 22:17:22 -04:00
brunobar79
ab7eb73ecc
fix merge conflicts
2018-08-20 21:51:35 -04:00
Esteban MIno
81cd29df43
Merge branch 'develop' into WatchTokenFeature
2018-08-20 19:35:38 -03:00
Alexander Tseung
cec87a5b2c
Update logo wordmark
2018-08-18 20:46:56 -07:00
brunobar79
51e4a6d335
fix ledger affiliate link
2018-08-16 21:15:50 -04:00
brunobar79
285814646f
ui ready
2018-08-16 20:41:23 -04:00
Esteban MIno
dbab9a007f
delete according image when token added with watchToken deleted
2018-08-16 21:17:02 -03:00
brunobar79
2ea05e303d
connect screen ready
2018-08-16 19:39:52 -04:00
Esteban MIno
bb868f5834
correct behavior when notification is closed when popup
2018-08-16 20:19:19 -03:00
Esteban MIno
2ace30bcd1
WIP
2018-08-16 18:28:07 -03:00
Esteban MIno
a36ea0e232
show watch asset image from hide token modal
2018-08-16 12:04:43 -03:00
Esteban MIno
b766104c8d
add suggested tokens objects in metamask state
2018-08-15 18:34:57 -03:00
brunobar79
53dcad5a3b
more ui
2018-08-14 19:38:23 -04:00
brunobar79
19d1988715
fix
2018-08-14 19:24:15 -04:00
brunobar79
c72ced79ae
ui fixes
2018-08-14 19:22:00 -04:00
Esteban MIno
a4c3f6b65c
add support for images base64 and urls on new ui
2018-08-14 20:08:12 -03:00
brunobar79
b77cc3d969
fix tx tests
2018-08-14 03:42:23 -04:00
brunobar79
61a279204a
legacy and new hd path working
2018-08-14 01:26:18 -04:00
brunobar79
4e1d8ba19d
good progress adding paths
2018-08-13 19:29:43 -04:00
brunobar79
aa6a42e3de
rename keyring
2018-08-11 05:11:21 -04:00
brunobar79
8e842a8947
able to add accounts
2018-08-11 05:02:02 -04:00
brunobar79
78a1cd3314
iframe communication working
2018-08-11 02:35:20 -04:00
brunobar79
5ef80495cf
refactor to support multiple hw wallets
2018-08-10 21:54:34 -04:00
Bruno Barbieri
e2be22a4b7
Merge pull request #4897 from MetaMask/qr-code-scan
...
QR Code Scanner
2018-08-10 13:40:06 -04:00
brunobar79
eb2f491458
add error messages
2018-08-10 12:09:54 -04:00
brunobar79
e905c9f055
hide export private key for trezor accounts
2018-08-10 11:56:56 -04:00
Dan J Miller
d4af5b7bec
Merge pull request #5000 from MetaMask/contract-method-conf-sim-failure
...
Show error while allowing confirmation of tx where simulation fails
2018-08-08 22:13:41 -02:30
Dan Miller
973325a6c4
Show error while allowing confirmation of transaction where simulation fails
2018-08-08 21:26:25 -02:30
Whymarrh Whitby
51644962e9
Fix lint error in tx-list
2018-08-08 19:32:45 -02:30
Dan Miller
e98c3b4c01
Get nonce for showing retry button using ethQuery transaction count.
2018-08-08 17:04:42 -02:30
brunobar79
f269021dc3
add submit button type
2018-08-08 12:22:48 -04:00
brunobar79
cbbd0d3c75
lint
2018-08-08 03:21:37 -04:00
brunobar79
c6b7e460b5
code review changes
2018-08-08 03:00:39 -04:00
brunobar79
2e0916d8ff
fix merge conflicts
2018-08-08 02:32:35 -04:00
Esteban MIno
33357e3538
refactor unused code
2018-08-07 19:12:16 -04:00
Esteban Miño
3f57d5f66b
Merge branch 'develop' into WatchTokenFeature
2018-08-07 17:50:58 -04:00
Esteban MIno
a57f56fdca
clean confirm add token component
2018-08-06 20:06:13 -04:00
Esteban MIno
af35b415ab
new confirm add suggested token component
2018-08-06 20:03:49 -04:00
Alexander Tseung
f2194e8482
Merge pull request #4948 from MetaMask/i4638-update-font
...
Update Font in Account Selector
2018-08-03 17:24:42 -07:00
brunobar79
b1ddaafba2
lint
2018-08-03 20:12:30 -04:00
brunobar79
e9a0feb9e9
fixed issue with input
2018-08-03 20:11:46 -04:00
Alexander Tseung
8e3f0b4202
Update Font in Account Selector
2018-08-03 16:47:50 -07:00
brunobar79
af97ba103c
clear qr code data before scanning
2018-08-03 19:36:01 -04:00
Esteban MIno
9ac9f53a73
eth_watchToken working
2018-08-03 19:24:12 -04:00
brunobar79
71ef4d85da
design complete
2018-08-03 18:57:23 -04:00
Esteban MIno
12dd7a7232
popup initializing with suggested tokens
2018-08-03 18:01:40 -04:00
Alexander Tseung
6d76d4e228
Disable Confirm button on subsequent clicks to prevent confirming multiple times
2018-08-03 14:44:57 -07:00
Esteban MIno
081884bd80
rpc-engine not crashing when eth_watchToken
2018-08-03 16:42:13 -04:00
Esteban MIno
21a61f2987
merge develop
2018-08-03 14:56:02 -04:00
brunobar79
94a89790dc
fix
2018-07-31 18:58:54 -04:00
brunobar79
caa9e202cf
lint
2018-07-31 18:32:14 -04:00
brunobar79
710b4e294f
added crossbrowser support and error handling
2018-07-31 18:30:56 -04:00
Dan Miller
0ff0a9c197
Show the retry button on latest tx of earliest nonce.
2018-07-31 16:37:14 -02:30
brunobar79
edb154749d
send to fullscreen if no permission from popup
2018-07-30 22:57:05 -04:00
brunobar79
b673a7a7fc
kill camera stream when unmouting
2018-07-30 18:40:00 -04:00
brunobar79
34617a21c3
copy
2018-07-30 18:36:37 -04:00
brunobar79
d2368d6fe0
clean up css
2018-07-30 18:34:00 -04:00
brunobar79
4339f04e80
use existing modals
2018-07-30 17:50:05 -04:00
brunobar79
b6592ba95f
Merge branch 'develop' of github.com:MetaMask/metamask-extension into qr-code-scan
2018-07-30 15:57:10 -04:00
Alexander Tseung
d0c901d081
Round large exponential numbers
2018-07-27 12:22:10 -07:00
brunobar79
acfcdf52b4
fix unit tests
2018-07-26 21:52:01 -04:00
brunobar79
4de8f5b0d4
fix dependencies
2018-07-26 21:37:43 -04:00
brunobar79
6886429f0b
fix linting errors
2018-07-26 21:22:39 -04:00
brunobar79
69f4c8c336
fix merge conflicts
2018-07-26 21:04:03 -04:00
brunobar79
d4a15f22c2
added webrtc-adapter for browser compat
2018-07-26 21:00:48 -04:00
brunobar79
ea028e7506
fully working without tweaking ext. permission
2018-07-26 20:56:58 -04:00
brunobar79
6cd4bc9f4e
working without permission issues
2018-07-26 20:24:39 -04:00
Alexander Tseung
cd2b67cdd9
Fix overflow for long total strings in confirm string
2018-07-25 22:12:13 -07:00
Dan J Miller
53b440a287
Merge pull request #4885 from MetaMask/RetryOnEarliestPendingTx
...
Only show retry button on the earliest pending tx
2018-07-25 23:42:49 -02:30
Esteban MIno
b580f60d74
earliest tx by submittedTime
2018-07-25 20:58:20 -04:00
Esteban MIno
c8d45cb4a8
only show retry button on earliest pending tx
2018-07-25 20:02:12 -04:00
Sara Reynolds
9934690bd9
lint fix
2018-07-25 16:31:33 -07:00
Sara Reynolds
6eadf5b22b
Update prop names
2018-07-25 16:26:30 -07:00
Sara Reynolds
9ca4b66c82
Add tests for Confirm Detail Row
2018-07-25 11:58:51 -07:00
brunobar79
4759915856
fix spinner and qr icon
2018-07-24 22:34:15 -04:00
brunobar79
eeb902dbf0
decent UI
2018-07-24 21:13:17 -04:00
brunobar79
74fd6d1d12
working without injection
2018-07-24 20:32:20 -04:00
Dan J Miller
1f9c52fbf0
Merge pull request #4845 from MetaMask/button-group
...
Add ButtonGroup component
2018-07-24 21:47:44 -02:30
Alexander Tseung
152246f3b0
Add close window support to signature requests. Move logic to actions
2018-07-23 20:25:04 -07:00
brunobar79
d5929e5c42
added qr code scanner icon in send transaction
2018-07-23 22:10:57 -04:00
brunobar79
f7ad978474
camera working back and forth
2018-07-23 21:27:51 -04:00
Dan Miller
2359062b62
UI confirm screen closes confirmation window on submit or cancel of a tx
2018-07-23 22:20:06 -02:30
Dan Miller
a146e5ebbc
Adds tests for button group component.
2018-07-23 16:49:28 -02:30
Dan Finlay
b208d33b3b
Merge pull request #4851 from MetaMask/fix-trezor-alert
...
Fix trezor "Hardware wallet connected" alert
2018-07-23 11:58:29 -07:00
Alexander Tseung
cdda52d799
Add ButtonGroup component
2018-07-23 09:23:43 -07:00
brunobar79
bcbe7fef2e
show alert ONLY when device is connected
2018-07-23 01:18:39 -04:00
brunobar79
e2fa3ba415
refactor Alert component to work properly
2018-07-21 16:02:23 -04:00
Alexander Tseung
469a79f97f
Add fallback options for displaying recipient name in the Confirm screen
2018-07-20 14:23:53 -07:00
Bruno Barbieri
9be2248d7a
Merge pull request #4625 from MetaMask/initial-trezor-support
...
Initial trezor support
2018-07-19 15:00:59 -04:00
brunobar79
df19163bf9
last css fixes
2018-07-19 02:31:13 -04:00
brunobar79
76981c2ad9
added new global alert
2018-07-19 02:31:02 -04:00
brunobar79
514148ffa1
fix support link
2018-07-19 00:16:10 -04:00
brunobar79
a6e0eef8f4
fix unsupported browser view
2018-07-19 00:14:13 -04:00
brunobar79
086ab6e1e1
lint
2018-07-18 23:57:09 -04:00
brunobar79
2bfddc288e
scroll smooth
2018-07-18 23:12:49 -04:00
brunobar79
49d1bdea8a
design done
2018-07-18 22:57:47 -04:00
Whymarrh Whitby
13804d61b4
Merge pull request #4822 from whymarrh/show-more-address
...
Show first four characters of account after 0x
2018-07-18 15:44:00 -02:30
Whymarrh Whitby
71d64e74a5
Show first four characters of account after 0x in wallet
2018-07-18 10:30:31 -02:30
Whymarrh Whitby
45faf3d558
Show first four characters of account after 0x in tx list
2018-07-18 10:30:21 -02:30
Whymarrh Whitby
da1f6e061d
Don't set txData to an empty string
2018-07-18 10:13:50 -02:30
Whymarrh Whitby
346505cab0
Inline single-use vars in send-footer.utils
2018-07-18 09:58:12 -02:30
Whymarrh Whitby
fb672e00df
Send data along with other tx params
2018-07-18 09:58:12 -02:30
Whymarrh Whitby
9ea7411c06
Hook up send component w/ UPDATE_SEND_HEX_DATA action
2018-07-18 09:52:36 -02:30
Whymarrh Whitby
3f9c3d76b6
Add hex data row to send screen
2018-07-18 09:52:13 -02:30
brunobar79
cbb14f1d5e
fix browser not supported screen
2018-07-17 21:57:19 -04:00
brunobar79
cb53d5122c
Merge branch 'develop' of github.com:MetaMask/metamask-extension into initial-trezor-support
2018-07-17 20:43:32 -04:00
brunobar79
cb97517b26
updated account list based on new designs
2018-07-17 18:53:37 -04:00
Alexander Tseung
301ae305b8
Use Number constructor for number conversion. Use existing noConversionRateAvailable message
2018-07-17 14:06:30 -07:00
Alexander Tseung
279bdfc2e7
Merge develop
2018-07-17 13:38:15 -07:00
Alexander Tseung
e16f5ab54d
Fix tests
2018-07-17 13:38:15 -07:00
Alexander Tseung
d19c42fcae
Add fallback when no function found, fix network colors, add fiat values for tokens with contract exchange rates
2018-07-17 13:38:14 -07:00
Alexander Tseung
e9a8c24cc4
Remove unused confirm transaction files
2018-07-17 13:38:14 -07:00
Alexander Tseung
89911dda17
Merge pull request #4815 from MetaMask/i4783-retry
...
Increase clickable area and padding of Retry Transaction bar
2018-07-17 10:41:32 -07:00
Alexander Tseung
4737ea49c7
Increase clickable area and padding of Retry Transaction bar
2018-07-16 21:45:24 -07:00
Sara Reynolds
dcf8e0ed12
lint fix
2018-07-16 16:50:08 -07:00
Sara Reynolds
684fc710ee
Fix edge cases and add translation compatibility
2018-07-16 13:03:24 -07:00
Sara Reynolds
4014b279d7
Update onlyRenderConversions function to method and account for edge cases
2018-07-16 13:03:23 -07:00
Sara Reynolds
8d8de0508a
Fixes conversion status for tokens without conversion rates
2018-07-16 13:03:23 -07:00
brunobar79
d05814a5ad
Merge branch 'develop' into initial-trezor-support
2018-07-16 12:55:13 -04:00
Whymarrh Whitby
5c3efe8bc4
Fix send import paths in confirm tx components
2018-07-16 13:18:21 -02:30
Whymarrh Whitby
d38405fb0e
Fix send import path in customize gas modal
2018-07-16 13:07:42 -02:30
Whymarrh Whitby
040b8c59c4
Fix send import path in ToAutoComplete
2018-07-16 13:07:42 -02:30
Dan
2e0cbf210e
Fix lint warnings in the send/ directory.
2018-07-16 12:58:32 -02:30
Dan
b3d78ed8a1
Remove send_ directory, revert to just having send
...
Revert accidentally changed constants.
Require defaults in ens-input, gas-fee-display and confirm screens.
2018-07-16 12:58:32 -02:30
Dan J Miller
f31e87dcd5
Merge pull request #4715 from BitGuildPlatform/to-autocomplete
...
fixes #4664
2018-07-14 09:46:28 -02:30
Dan J Miller
4d105d9cca
Merge pull request #4702 from BitGuildPlatform/contextTypes
...
convert contextType to static prop for refactored components
2018-07-14 09:23:48 -02:30
brunobar79
d21d408d64
Merge branch 'develop' of github.com:MetaMask/metamask-extension into initial-trezor-support
2018-07-13 20:53:22 -04:00
brunobar79
55382e9842
fix account selection
2018-07-13 15:19:21 -04:00
brunobar79
5399546388
added affiliate link to trezor
2018-07-13 13:49:20 -04:00
brunobar79
82a93bb287
detect ability to open popup instead of browser
2018-07-13 02:03:54 -04:00
brunobar79
289795fb12
fix account balance bug
2018-07-13 00:09:42 -04:00
brunobar79
5710e648bd
remove account modal updated
2018-07-12 18:19:33 -04:00
Whymarrh Whitby
47d596c090
Merge pull request #4766 from whymarrh/null-translations
...
Rework i18n-helper getMessage function
2018-07-12 15:46:09 -02:30
brunobar79
4b528405ea
catching up with develop
2018-07-12 13:19:51 -04:00
brunobar79
07d8bfaec5
Merge branch 'develop' of github.com:MetaMask/metamask-extension into initial-trezor-support
2018-07-12 12:54:08 -04:00
Whymarrh Whitby
d9f98a704e
Add tooltip to new tab icon in tx-view
2018-07-12 12:32:45 -02:30
Whymarrh Whitby
7581a4906f
Add tooltip to menu icon in tx-view
2018-07-12 12:32:45 -02:30
brunobar79
2a0a785324
added tooltip
2018-07-12 00:23:08 -04:00
Alexander Tseung
0d4dbbec2a
Merge pull request #4691 from MetaMask/i4404-confirm-refactor
...
Refactor and redesign confirm transaction views
2018-07-11 15:31:50 -10:00
brunobar79
80e875308b
forget device and autiload account features added
2018-07-11 21:21:36 -04:00
Alexander Tseung
67017711df
Fix font sizes, colors. Include data tab for send-eth transaction confirmations that have data
2018-07-11 17:34:51 -07:00
Whymarrh Whitby
9bfcb9c505
Remove unneeded MetaMaskConnect connect wrapper
2018-07-11 17:17:48 -02:30
brunobar79
5a2a34591f
clean up
2018-07-11 01:35:37 -04:00
brunobar79
523cf9ad33
account removal is working
2018-07-11 00:20:40 -04:00
Alexander Tseung
2175d03cca
Prevent users from submitting password multiple times on the unlock screen
2018-07-10 20:00:06 -07:00
brunobar79
b9c2994d24
finish warning modal UI
2018-07-10 19:19:29 -04:00
Alexander Tseung
76e80f631e
Fix multiple signature requests showing an infinite spinner
2018-07-10 12:21:09 -07:00
brunobar79
9b81180ab1
added ui to remove accounts
2018-07-10 00:20:00 -04:00
brunobar79
2de3039b6b
fix account duplication
2018-07-09 17:55:37 -04:00
brunobar79
7cca7ace2e
fix all the account related bugs
2018-07-09 17:24:52 -04:00
Alexander Tseung
7d691c7398
Fix existing unit tests
2018-07-07 18:53:00 -07:00
brunobar79
5127601545
copy updated
2018-07-06 20:37:08 -04:00
brunobar79
dddbb4250b
update connect harwdware screen
2018-07-06 20:04:20 -04:00
Alexander Tseung
a2d9c43fba
Various fixes from PR comments
2018-07-06 16:27:08 -07:00
Alexander Tseung
9cde5ab11b
Use eth-method-registry to get method data
2018-07-06 16:27:08 -07:00
Alexander Tseung
7732cd4100
Display newest transaction
2018-07-06 16:27:08 -07:00
Alexander Tseung
e89549846f
Refactor data flow, signature request routing
2018-07-06 16:27:08 -07:00
Alexander Tseung
ea9d51e427
Refactor and redesign confirm transaction views
2018-07-06 16:27:08 -07:00
brunobar79
7c9d942ba1
Merge branch 'develop' of github.com:MetaMask/metamask-extension into initial-trezor-support
2018-07-06 19:21:18 -04:00
brunobar79
6b2511f94f
UI refactor
2018-07-05 20:59:31 -04:00
brunobar79
6c2730f243
Refactor UI
2018-07-05 17:45:28 -04:00
brunobar79
ba5cde0995
move strings to localization file
2018-07-05 17:04:36 -04:00
brunobar79
313090efcc
added message for non-chrome browsers
2018-07-05 16:11:41 -04:00
Dan J Miller
6595f84d07
Merge pull request #4648 from MetaMask/update-import-from-seed-screen
...
Update import from seed screen on new ui.
2018-07-05 16:26:21 -02:30
Dan J Miller
d3920007fa
Merge pull request #4694 from MetaMask/i4660-improve-send-token-error-ui
...
Improve send token error ux.
2018-07-05 16:25:59 -02:30
Dan
f006cbf2ce
Delete old restore vault file.
2018-07-05 14:44:08 -02:30
Whymarrh Whitby
60857f94ad
Merge pull request #4733 from whymarrh/fix-setstate-warnings
...
Fix setState warnings in components using TokenTracker
2018-07-05 13:59:46 -02:30
Whymarrh Whitby
2298daa53e
Prevent calling setState in TxListItem after unmount
2018-07-05 13:17:53 -02:30
Whymarrh Whitby
783559f94e
Don't update token balances after tracker is stopped
2018-07-05 10:54:51 -02:30
Whymarrh Whitby
0116ea9b95
Remove TokenTracker listeners when unmounting component
2018-07-05 10:54:51 -02:30
TrejGun
94d1d846fb
Merge branch 'develop' into contextTypes
...
# Conflicts:
# ui/app/components/send_/send-content/send-gas-row/gas-fee-display/gas-fee-display.component.js
2018-07-05 11:34:13 +08:00
trejgun
c94f639de5
convert contextType to static prop for refactored components
2018-07-05 11:33:34 +08:00
TrejGun
b427743ab8
fix classname
2018-07-05 11:21:27 +08:00
Анна
90934bca46
Merge branch 'develop' into to-autocomplete
2018-07-05 11:15:28 +08:00
Dan
f262f0ea64
Update import from seed screen on new ui.
2018-07-04 21:21:12 -02:30
Dan
0796fc58e4
Improve send token error ux.
2018-07-04 16:09:29 -02:30
Sara Reynolds
6bc7647c05
fixes 4666
2018-07-03 16:05:20 -07:00
brunobar79
9d3f2435e5
lint fix
2018-07-03 15:46:15 -04:00
brunobar79
3837c2ddd7
fix merge conflicts
2018-07-03 15:41:18 -04:00
Dan J Miller
a049627752
Merge pull request #4716 from MetaMask/i4663-clearErrorMessages
...
fixes #4663 - Clear Error Messages when Importing Accounts are Successful
2018-07-03 16:03:55 -02:30
Alexander Tseung
3fd5af636f
Merge pull request #4633 from MetaMask/i4580-import-account-errors
...
Show all errors on account creation screen.
2018-07-03 07:43:40 -10:00
Dan J Miller
4bdd59b055
Merge pull request #4699 from TrejGun/removeLeadingZeroes
...
move removeLeadingZeroes to utils, add test
2018-07-03 15:01:48 -02:30
brunobar79
3290421e2f
fix merge conflicts
2018-07-03 13:31:30 -04:00
Sara Reynolds
d126887bc3
fixes 4663
2018-07-03 09:50:59 -07:00
trejgun
1f6bf0a80d
fixes #4664
2018-07-03 10:34:39 +08:00
brunobar79
a8f745f9fe
eslint --fix .
2018-07-02 18:49:33 -04:00
brunobar79
f19ffaf08d
move hardcoded strings to localization file
2018-07-02 15:16:05 -04:00
brunobar79
86a8c98148
always open connect hardware in full screen mode
2018-07-02 15:14:57 -04:00
trejgun
491f2d03cf
move removeLeadingZeroes to utils, add test
2018-07-02 09:36:57 +08:00
brunobar79
1494cc5e6c
fix merge conflicts
2018-07-01 11:41:34 -10:00
Dan J Miller
b2e64f24ec
Merge pull request #4687 from snreynolds/i4623-getConvertedCurrency
...
fixes #4623
2018-06-29 17:03:09 -02:30
Dan J Miller
22debbfec8
Merge pull request #4640 from weijiekoh/develop
...
Fix for #4639 : display values of EIP712 typed boolean fields in the signing prompt
2018-06-29 17:00:51 -02:30
Sara Reynolds
ad6c454fd5
fixes #4623
2018-06-29 11:54:49 -07:00
Dan J Miller
f6238b2d39
Merge pull request #4647 from MetaMask/fix-overflow-currency-display
...
Fix issues with scrollbar in currency display.
2018-06-29 16:06:29 -02:30
Dan J Miller
464b97890d
Improve attribute syntax in send-amount-row.component.js
2018-06-29 15:44:30 -02:30
Dan Finlay
a1fb1b8d3e
Merge pull request #4690 from MetaMask/i4662-token-gas-estimate-ux
...
Set base estimate for token sends to be updated once recipient address specified
2018-06-28 17:48:05 -10:00
Dan
03f17d910a
Check that error is defined in import-account error catch.
2018-06-28 21:45:46 -02:30
Dan
75581ceebe
Show all errors on account creation screen.
2018-06-28 21:45:46 -02:30
Dan
d2845afd89
Remove input arrows for send screen amount row on firefox.
2018-06-28 21:45:04 -02:30
Dan
d5133fb429
Fix issues with scrollbar in currency display.
2018-06-28 21:45:04 -02:30
Thomas Huang
218f2e84db
Merge pull request #4634 from MetaMask/i4503-touch-up-shpshft-button-style
...
Fix style of shapeshift screen in deposit modal.
2018-06-28 16:57:32 -07:00
Dan
696d626133
Set based estimate for token sends to be updated once recipient address specified.
2018-06-28 21:03:09 -02:30
Dan J Miller
9f5ee94b69
Merge pull request #4678 from MetaMask/e2e-beta-tests-upgrade
...
E2e beta tests upgrade
2018-06-28 20:17:44 -02:30
Thomas Huang
db548adca7
Merge pull request #4674 from MetaMask/removeOnlyTests
...
Remove .only on test
2018-06-28 13:26:29 -07:00
Dan J Miller
08b69a0cb0
Merge pull request #4677 from MetaMask/customize-gas-loading-wait
...
Only show the customize gas modal if the estimateGas call is not currently in flight.
2018-06-27 17:27:51 -02:30
Dan J Miller
1839ab5346
Merge pull request #4574 from MetaMask/i4409-i4410-ens-input-enhancements
...
[new-ui] Improve ENS input errors and update ens validation on network change
2018-06-27 17:09:44 -02:30
Dan
f5d43404dc
Fix send token tests in beta ui e2e tests.
2018-06-27 11:01:26 -02:30
Dan
a242668872
Only show the customize gas modal if the estimateGas call is not currently in flight.
2018-06-27 11:01:26 -02:30
tmashuang
fb02e71e22
Remove .only on test
2018-06-26 18:14:21 -07:00
Dan J Miller
60feeb393b
Merge pull request #4627 from TrejGun/gas-fee-display
...
refactor gas-fee-display component
2018-06-26 16:25:26 -02:30
trejgun
e05eeb56da
fix default import
2018-06-23 07:41:11 +08:00
Koh Wei Jie
cd90e8a869
removed stray console.log
2018-06-22 16:46:00 +08:00
Koh Wei Jie
1ff29c5b4a
fixed blank boolean field for typed signing for new UI
2018-06-22 16:38:54 +08:00
Dan
e8fa18779d
Fix style of shapeshift screen in deposit modal.
2018-06-21 15:50:51 -02:30
Dan
97a7bc4894
Remove commented out code in ens-input.
2018-06-21 15:01:13 -02:30
trejgun
778aec8c75
lint
2018-06-21 15:03:19 +08:00
trejgun
c27dfb01bb
refactor gas-fee-display component
...
#4622
2018-06-21 14:43:48 +08:00
Whymarrh Whitby
3123073659
Scroll large amounts in the send component
2018-06-20 16:15:22 -02:30
Whymarrh Whitby
1f6f4977de
Handle large token balances in tx list hero
2018-06-20 16:15:17 -02:30
Dan
06307ef8ae
Merge branch 'develop' into i4409-i4410-ens-input-enhancements
2018-06-19 21:39:52 -02:30
Dan
957d729c17
Only show the customize gas modal if the estimateGas call is not currently in flight.
2018-06-19 13:23:33 -02:30
Dan Finlay
d26ce807fb
Linted
2018-06-18 15:44:43 -07:00
Dan Finlay
f14ed32980
Begin letting UI show suggested tokens
2018-06-18 15:33:50 -07:00
kumavis
62df446385
Merge pull request #4584 from MetaMask/fix-send-token
...
Add hex-prefix to gas estimate result
2018-06-18 11:54:26 -07:00
Csaba S
8aab4dd1fa
View address of an added token ( #4591 )
...
* adding menu actions for tokens
* apply common style
2018-06-18 10:29:09 -07:00
Dan
ac7c0277b5
On send screen amount change, updateGas call now includes current to address.
2018-06-18 14:07:01 -02:30
Dan
70abe54c94
Send screen returns simple gas cost if no to address specified when not sending token.
2018-06-18 13:55:20 -02:30
Dan
6c9302f985
Remove leading zeroes from send screen amount row input.
2018-06-18 13:50:21 -02:30
Dan
36de213c6c
Fix currency-display.js rendering of token amounts.
2018-06-18 13:49:21 -02:30
Dan
347d1984cf
Revert to updating amount on blur of input change; update gas on blur of amount input change; validate onchange.
2018-06-18 13:47:14 -02:30
Alexander Tseung
adb71073c8
Fix unit tests
2018-06-15 15:31:16 -07:00
Alexander Tseung
5685c4bafe
Estimate gas limit when the token amount changes. Fix amount input
2018-06-15 14:36:52 -07:00
Dan
e4d3bdba12
Update send.utils.js estimateGas tests.
2018-06-14 21:20:10 -07:00
Dan
b9b6cbf561
Add a buffer to new ui gas estimates
2018-06-14 22:32:03 -02:30
Alexander Tseung
1b9ed23752
Add hex-prefix to gas estimate result
2018-06-14 14:58:42 -07:00
Dan
bb855707ef
ENS input in send form shows distinct errors for invalid addresses and non-existent addresses.
2018-06-14 15:43:14 -02:30
Dan Finlay
3a5089da6f
Merge pull request #4566 from MetaMask/notice-phishing
...
Push new notice on recent phishing incidents
2018-06-14 09:49:38 -07:00
kumavis
44a8e48a04
notices - replace getLatestNotice with getNextNotice
2018-06-13 23:30:31 -07:00
Dan
5995b6d68d
ENS name revalidates on network change.
2018-06-13 09:26:21 -02:30
Bruno
bb4cc72646
fix merge conflicts
2018-06-13 02:01:47 -04:00
Bruno
8763ea898e
move TrezorKeyring to its own package
2018-06-13 01:32:13 -04:00
Bobby Dresser
4196b16f06
add help link to eth_sign warning
2018-06-11 14:28:57 -07:00
Bruno
d1880073f6
balances working
2018-06-10 21:10:22 -04:00
Bruno
8c4d58aa45
initial trezor support
2018-06-10 03:52:32 -04:00
Dan
049071a743
Access correct property from state in confirm screen components gatherTxMeta()
2018-06-08 12:52:38 -02:30
Dan
ae55e8a3c1
Merge branch 'develop' into i3725-refactor-send-component-
2018-06-06 16:40:43 -02:30
kumavis
72f7a4e1d0
Merge pull request #4418 from MetaMask/handle-import-account-failure-in-ui
...
Handle errors for null selected address after Importing account (json or private key)
2018-06-06 11:47:45 -07:00
03-26
ccd4884db1
i18n - ja improvements
2018-06-06 11:38:57 -07:00
Whymarrh Whitby
d9d09f953b
Render the accounts in keyring order
2018-06-05 17:17:27 -07:00
Whymarrh Whitby
665ac860e5
Remove selectedIdentity prop from wallet view
...
The selectedIdentity property is computed based on the selectedAddress
which means that using both the selectedAddress and the selectedIdentity
is redundant. In the case of the Array#find call on the set of keyrings,
we wouldn't have a situation where one is included and the other isn't.
This changeset removes the selectedIdentity from the wallet view because
it isn't needed.
2018-06-05 12:25:06 -07:00
Whymarrh Whitby
762695bfd9
Ensure selectedAddress exists when render wallet
2018-06-05 12:04:03 -07:00
Dan
49f0df3174
Merge branch 'develop' into handle-import-account-failure-in-ui
2018-06-05 09:56:36 -02:30
Dan
aee9247faa
Merge branch 'develop' into i3725-refactor-send-component-
2018-06-04 22:32:30 -02:30
Dan J Miller
3b6e96bac9
Update hide-token-confirmation-modal.js to use new modalState schema ( #4482 )
...
* Update hide-token-confirmation-modal.js to use new modalState schema (added in 41e38fe55
).
* Fix modalState props
2018-06-04 16:13:32 -07:00
Dan
ada59054c9
Simplify recipient code check in send.utils estimateGas
2018-06-04 15:50:52 -02:30
Dan J Miller
5d58f0e9a0
Merge pull request #4428 from MetaMask/fix-tokenlist-balance-overflow
...
Token name is not hidden in wallet if balance is exceptionally long.
2018-06-04 14:59:03 -02:30
Alexander Tseung
5a2771dd47
Indicate the current selected account on the popup account view ( #4445 )
2018-06-04 09:33:25 -07:00
Dan
8f0a3b8311
Merge branch 'develop' into handle-import-account-failure-in-ui
2018-06-03 06:46:45 -02:30
Dan
ffd42c59da
Default currency-display valueToRender to empty string when not readOnly ('0' if readOnly).
2018-06-02 01:58:01 -02:30
Dan
1b879f45bc
Fix calculation of data property for gas estimation on token transfers.
2018-06-02 01:53:01 -02:30
Bobby Dresser
966583026a
update helpscout links to zenhub
2018-05-31 15:26:04 -07:00
Dan
701611e317
Merge branch 'i3725-refactor-send-component-' into i3914-fix-newui-send-gas-estimation
2018-05-31 15:39:24 -02:30
Dan
2ca084b055
Remove .only
2018-05-31 15:31:50 -02:30
Dan
d12bb8c14f
Merge branch 'i3725-refactor-send-component-' of github.com:MetaMask/metamask-extension into i3725-refactor-send-component-
2018-05-31 15:29:17 -02:30
Dan
5091b03e4b
Merge branch 'develop' into i3725-refactor-send-component-
2018-05-31 15:28:03 -02:30
Dan J Miller
15f4ce352d
Merge pull request #4386 from MetaMask/i4077-replace-currency-input-with-numeric-input
...
Replace currency-input.js with NumericInput
2018-05-31 15:09:13 -02:30
Alexander Tseung
cc73d869fe
Add new alert modals
2018-05-31 10:37:52 -07:00
Alexander Tseung
f4d833cb09
Change btn-secondary styles to btn-default. Make btn-secondary red warning style buttons
2018-05-31 10:37:52 -07:00
Dan
990b69c655
Improve input width calculation in currency-display.js
2018-05-31 13:47:18 -02:30
Dan
d454b5de2b
Token name is not hidden in wallet if balance is exceptionally long.
2018-05-31 13:32:18 -02:30
Dan
67c74cd5b6
Fix currency display send integration tests.
2018-05-31 12:07:23 -02:30
Dan
1bde2892ec
Improve efficiency of estimateGasPriceFromRecentBlocks
2018-05-30 22:43:49 -02:30
Dan
0f3480a97f
Fix then-catch + error handling in import-account
2018-05-30 21:33:40 -02:30
kumavis
64aa56b5a6
test - send-utils.test - lint fix
2018-05-30 20:54:32 -02:30
Dan
5a842e440f
Gas estimation uses block gas limit as fallback if query.estimateGas returns an expected error.
2018-05-30 20:54:32 -02:30
Dan
0f20fce9b7
Auto update gas estimate when to changes.
2018-05-30 20:54:31 -02:30
Dan
2eddb7b652
Support smaller decimals in currency-display
2018-05-30 20:54:31 -02:30
Dan
4f0b4eef50
Estimate gas using same algorithm as backend.
2018-05-30 20:54:31 -02:30
Dan
166fda5877
Simplify gas estimate actions and add local estimateGasPriceFromRecentBlocks method.
2018-05-30 20:54:31 -02:30
Dan
17909465f2
getParamsForGasEstimate extracts symbol from token instead of just accepting symbol.
2018-05-30 20:54:31 -02:30
Dan
6f633a97e1
Rename gas change actions.
2018-05-30 20:54:31 -02:30
Dan
6d8344d0d0
Update amount error on update of send screen.
2018-05-30 20:51:46 -02:30
Dan
1c3d2aa18b
Importing account by json and private key shows error and does not change account if no selectedAddress comes after import.
2018-05-30 17:00:50 -02:30
Alexander Tseung
389346913b
Prevent loading screen from overlaying the app bar ( #4417 )
2018-05-30 10:38:53 -07:00
Alexander Tseung
d40971e7f3
Fix error handling on incorrect password ( #4401 )
2018-05-30 09:23:31 -07:00
Dan
5347319dff
Fix setting of token balance on account switch in send screen from field.
2018-05-30 13:35:01 -02:30
Dan
7f23e017b2
Delete currency-input.js
2018-05-29 22:21:55 -02:30
Dan
2e1d962b1a
Remove currency input from input-number
2018-05-29 22:15:21 -02:30
Dan
f33bb3e2fd
Stop using external NumericInput component.
2018-05-29 16:25:03 -02:30
Alexander Tseung
41e38fe553
Add notification for dropped retry transactions ( #4363 )
2018-05-29 10:23:06 -07:00
Alexander Tseung
e3c9629130
Fix add-token token list placeholder width ( #4365 )
2018-05-29 10:03:08 -07:00
Alexander Tseung
d1f5d8ccc6
Fix text field labels of first time flow. Add text fields to storybook ( #4389 )
2018-05-29 09:35:18 -05:00
Dan
ea28c8a437
Replaces currency-input.js with NumericInput
2018-05-29 09:21:54 -02:30
kumavis
a7b7c8f034
newui - unlock - dont catch errors unrelated to tryUnlockMetamask
2018-05-28 23:34:40 -07:00
Dan
e712336189
Send refactor: fix error handling and form disabling in send form.
2018-05-25 14:39:31 -02:30
Dan
0de765aa25
Clean up for send refactor PR.
2018-05-25 00:00:55 -02:30
Dan
dc2b5d0ef4
Move formShouldBeDisabled from send-footer util to component.
2018-05-24 22:23:54 -02:30
Dan
3a87d9221d
Fix order of button text in page-container-footer.
2018-05-24 22:23:30 -02:30
Dan
5bb399e55a
Display correct titles and subtitles on send token and editing send transaction screens.
2018-05-24 17:27:33 -02:30
Dan
1405237479
Fix display of primary currency symbol in send amount row
2018-05-24 13:31:14 -02:30
Dan
c4e48d9263
Send refactor: fix amount max button for tokens.
2018-05-23 16:56:13 -02:30
Dan
440905125d
Merge branch 'develop' into i3725-refactor-send-component-
2018-05-23 16:03:15 -02:30
kumavis
b5bbfd3264
Merge pull request #4308 from MetaMask/i4232-addtoken
...
Update designs for Add Token screen
2018-05-22 12:53:59 -07:00
Alexander Tseung
8245bf010e
Update input field border on focus
2018-05-21 15:24:38 -07:00
Alexander Tseung
c4e75a7075
Fix tests
2018-05-20 14:08:45 -07:00
Alexander Tseung
4f6b53c1aa
Update designs for Add Token screen
2018-05-19 23:04:19 -07:00
Whymarrh Whitby
924cc1fcf7
Move setAccountLabel into PreferencesController
2018-05-17 12:57:39 -02:30
kumavis
4be681f447
Merge pull request #4255 from MetaMask/i4233-dropdowns
...
Fix account and network dropdowns in confirm screen
2018-05-16 13:02:27 -07:00
kumavis
ff91ef96ef
ui - unlock - remove setNetworkEndpoints calls from new unlock screen
2018-05-16 12:35:43 -07:00
kumavis
c6f822ad45
ui - remove files accidently added by bad merge
2018-05-16 12:29:57 -07:00
kumavis
c27d9162d7
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-controller-remove-setNetworkEndpoints
2018-05-16 11:57:07 -07:00
Dan
759bc17388
Merge branch 'develop' into i3725-refactor-send-component-
2018-05-15 11:21:15 -02:30
Dan
44679f6cda
Import defaults in send_/
2018-05-15 09:59:23 -02:30
Dan
8ff60267d8
Fix Button component path in page-container footer.
2018-05-15 09:13:39 -02:30
Dan
77ee23d493
Add index.js files to send_ subdirectories
2018-05-14 20:33:04 -02:30
Alexander Tseung
5561937773
Fix account and network dropdowns in confirm screen
2018-05-14 15:03:04 -07:00
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
2018-05-14 11:44:50 -02:30
Dan
0739618a61
Tests for send.duck.js
2018-05-14 10:27:36 -02:30
Dan
0076b732bd
Rename ducks/send.js to ducks/send.duck.js
2018-05-14 09:49:09 -02:30
Dan
b3f08681fd
Add missing unit tests in send_/: now 100% function test coverage in send_/
2018-05-14 09:43:55 -02:30
Dan
c2ed2d4e50
Lint fixes
2018-05-14 07:01:41 -02:30
Dan
145e53b404
Unit tests for account-list-item, amount-max-button and send-amount-row components.
2018-05-14 06:55:03 -02:30
Alexander Tseung
0bcfbc1544
Add error message when passwords don't match in first time flow. Change input field styling in first time flow
2018-05-13 21:46:12 -07:00
Alexander Tseung
0301b33a48
Add TextField component to storybook
2018-05-11 12:49:17 -07:00
Alexander Tseung
2381c0e0f4
Add new unlock screen design
2018-05-11 12:49:17 -07:00
Dan
61d35e7abe
Unit tests for from-dropdown; split out send-dropdown-list from from-dropdown
2018-05-11 13:50:43 -02:30
Dan
5d79d12648
SendRowErrorMessage component test.
2018-05-11 04:07:33 -02:30
Dan
22e2806ae2
Unit tests for send from, gas, to and wrapper row components.
2018-05-10 12:17:05 -04:00
Dan
f94ffa022c
Fix test descriptions and remove unnecessary proptypes.
2018-05-10 09:24:43 -04:00
Dan
9ccc609e56
Adds test for send, send-content, send-footer and send-header components.
2018-05-07 08:03:20 -04:00
Dan
7c49009854
Unit tests for containers, utils and selectors in send_/
2018-05-05 11:58:14 -04:00
Alexander Tseung
d5759cf4a8
Add storybook integration
2018-05-03 10:51:15 -07:00
kumavis
a1d13d45cf
lint - cleanup some unused variables
2018-05-02 18:23:55 -07:00
kumavis
096851d091
Merge pull request #4156 from MetaMask/i4010-spinner
...
Fix styling of the app spinner
2018-05-02 17:00:57 -07:00
Dan
e869d09c79
Merge branch 'i3725-refactor-send-component-' of github.com:MetaMask/metamask-extension into i3725-refactor-send-component-
2018-05-01 00:37:17 -02:30
Dan
e488c0eeea
Delete dead send code.
2018-05-01 00:30:38 -02:30
Dan
2f78fffbdb
Merge branch 'i3725-refactor-send-component-' into i3725-refactor-send-component-2
2018-05-01 00:12:57 -02:30
Alexander Tseung
ffda954add
Fix styling of the app spinner
2018-04-30 18:58:37 -07:00
kumavis
6f316ca450
network - remove setNetworkEndpoints
2018-04-30 16:36:17 -07:00
Paul Bouchon
5ec631cad3
Handle Promise rejections when importing accounts ( #4142 )
...
* Silently catch import failures since errors exist in Redux state
* Add comment about no-op catch statement
2018-04-30 18:07:25 -04:00
kumavis
5f3f8c85fc
Merge pull request #4059 from MetaMask/i-4033-seed-words
...
Use new design for Reveal Seed screen. Persist seed words only in the first time flow.
2018-04-30 12:04:53 -06:00
Dan
954394f810
Remove 'goHome' from send_
2018-04-30 14:08:03 -02:30
Dan
beb8d1cf5e
Move getMaxModeOn selector to amount-max-button container.
2018-04-30 14:07:01 -02:30
Dan
4a8c3194c2
Use constants for send screen errors messages.
2018-04-30 14:00:01 -02:30
Dan
bc145dc6a6
Fix send-v2__form class in send-content.component
2018-04-30 13:39:05 -02:30
Dan
41b609ab5b
Fix amount max button.
2018-04-30 13:33:49 -02:30
Dan
5529ec6efd
Fix close button on send screen
2018-04-30 13:06:23 -02:30
Dan
26f965bcce
Further refactors; includes refactor of send-v2.js and associated container
2018-04-30 13:05:48 -02:30
bitpshr
b4b33b57bc
Fix ShapeShift purchases on new UI
2018-04-28 14:41:46 -04:00
kumavis
141884ee6a
Merge pull request #4113 from MetaMask/i4107-send-tokens-without-symbols-decimal-methods
...
Wraps calls to symbol() and decimals() in try catch (Fixes #4107 )
2018-04-27 19:21:12 -06:00
Dan
b71dbf52d1
Convert decimals to string in getSymbolAndDecimals; return null for symbol or decimals.
2018-04-27 21:33:56 -02:30
Dan
6de450488b
Wraps calls to symbol() and decimals() in try catch
2018-04-27 20:45:36 -02:30
Paul Bouchon
1bad3fa257
Allow transactions with 0-gwei gas price ( #4073 )
...
* Allow transactions with 0-gwei gas price
* Add tests to verify tx with 0 gas fee
* Conditionally use CurrencyInput in CurrencyDisplay
2018-04-27 10:42:02 -04:00
Dan
33c16d1bf6
Fixes to get tests passing.
2018-04-27 08:11:18 -02:30
Dan
91c201aa72
Lint fixes and alphabetization for i3725-refactor-send-component
2018-04-27 00:16:11 -02:30
Alexander Tseung
61b8c3efff
Redirect to correct seed phrase screen
2018-04-26 19:27:33 -07:00
Dan
8ff7806f1b
Core of the refactor complete
2018-04-26 14:08:38 -02:30
Dan
02a6d2089e
Merge branch 'master' into i3725-refactor-send-component
2018-04-24 13:31:39 -02:30