Commit Graph

146 Commits

Author SHA1 Message Date
Dan J Miller a7bfea51e5 Integration tests for signature requests confirmations. (#3194) 2018-02-06 10:20:37 -08:00
Alexander Tseung d452403322
Add functional integration testing to Add Token flow (#3189) 2018-02-05 18:47:46 -08:00
Dan Finlay 6d9ea863bd Make announcement more general 2018-02-01 16:14:28 -08:00
Dan J Miller b63f0f3de2 Functional Integration Tests for send ether flow. (#3119) 2018-01-29 17:24:53 -08:00
Thomas d59136eb49 Add ExtensionPlatform = 'development' to mockUi 2018-01-22 16:06:35 -08:00
Dan J Miller 4acd48966e [NewUI] Fixes tests and sends user to NewUI after registering. (#2788)
* Fixes tests and sends user to NewUI after registering.

* Karma config?

* Empty commit

* Remove unneeded json state mock file.
2017-12-21 19:03:01 -08:00
Dan Finlay 1bd5fc1ba4 Add development state 2017-12-06 22:55:04 -05:00
kumavis 19e7adad19 development - fix ui dev 2017-09-29 11:50:24 -07:00
Dan Finlay 5d300f146a Add computed balance to mock state 2017-09-26 09:38:43 -07:00
kumavis b53d04c409 tests - integration - get flat and mascara tests closer to compatible 2017-09-13 20:25:27 -07:00
tmashuang 1172c6a94b Update development store 2017-09-05 08:58:01 -07:00
Dan Finlay bffd174ec7 Update announcer wording 2017-05-23 15:02:03 -07:00
kumavis be88c87b25 extension - prefer extensionizer module 2017-03-30 18:30:24 -07:00
Kevin Serrano a7b7be8309 Add new development states for UI development. 2017-03-21 08:52:28 -07:00
Kevin Serrano 956482be96 Fix development to use new currency state. 2017-03-14 17:05:27 -07:00
Dan Finlay e3f6c010ab Get basic ENS working
& merge master into ENS branch.
2017-03-08 15:19:33 -08:00
Kevin Serrano 0a3849ec84
Fix merge conflicts. 2017-03-01 10:01:21 -08:00
Kevin Serrano 9e6e3f55b7
Merge branch 'i765-gaslimits' of github.com:MetaMask/metamask-plugin into i765-gaslimits 2017-02-27 13:54:07 -08:00
Kevin Serrano c46f3d59de
Fix state to render gasPrice for ui dev. 2017-02-27 13:53:08 -08:00
Dan Finlay 462c7ae213 Merge branch 'master' into i765-gaslimits 2017-02-27 12:59:19 -08:00
Dan Finlay 1077c79e25 Add personal_sign development ui state 2017-02-24 16:36:45 -08:00
Kevin Serrano 30e4bdf24b
Merge github.com:MetaMask/metamask-plugin into i765-gaslimits 2017-02-23 14:17:52 -08:00
Kevin Serrano 3be6ee5f6c
Make the UI play nice with empty RPC lists. 2017-02-22 15:32:01 -08:00
Dan Finlay 05080d1c50 Fix UI Dev Mode for Tx Approval
The state object had been changed, but our mock states for tx approval were using the old keys.

Rather than try to muck about and figure out each and every change, I've re-generated a UI dev state for tx approval, which should help @zanibas on his current project.

We can continue adding new dev states as needed from here.  If anyone catches a state that doesn't render correctly, it's worth checking if a new snapshot doesn't solve things.

Debugged by adding new debugging loggers, and I've left them in place for easier future debugging.
2017-02-20 23:33:21 -08:00
Kevin Serrano bf9d1f405f
add waits between notices. 2017-02-20 13:41:46 -08:00
Dan Finlay 6b56d6ba98 Broke hex decimal input into its own component
Also added a new state to try to make UI dev mode work again, but it has other issues, like #1128, that need to be addressed before UI dev mode can be used again.
2017-02-17 12:46:08 -08:00
Kevin Serrano 092ec9096b
Fix integration tests. 2017-02-09 22:36:40 -08:00
Kevin Serrano c7178af09d
Remove trailing comma in JSON. 2017-02-09 22:25:21 -08:00
Kevin Serrano 65c84ac4b2
Delete all code related to disclaimers. 2017-02-09 18:17:50 -08:00
Kevin Serrano afb60b9061
modification of notices. 2017-02-02 15:02:32 -08:00
kumavis 2fa60cfcbf continue rename selectedAccount to selectedAddress 2017-01-30 15:25:12 -08:00
Dan Finlay 1ff4894b67 Allow importing of private key strings
Fixes #1021

A top-right menu item now allows `Account Import`.  It has a menu (with one item for now) that allows importing a private key string.

Errors are displayed, and a success navigates the user to their account list, where the imported account is labeled `LOOSE`.
2017-01-17 16:24:45 -08:00
Dan Finlay 958cbfbde4 Merge branch 'i328-MultiVault-v1' into i715-AddImportMenu 2017-01-17 13:58:54 -08:00
Dan Finlay f6748f043d Add loose account development state 2016-12-23 17:22:36 -08:00
Dan Finlay 553f1769a0 Add lost accounts ui development state 2016-12-20 15:53:38 -08:00
Dan Finlay 77d2deb176 Merged master into dev 2016-12-19 13:37:27 -08:00
Dan Finlay c8d7f777eb Merge branch 'AddNotices' of github.com:MetaMask/metamask-plugin into AddNotices 2016-12-16 11:29:16 -08:00
Dan Finlay 2b1d821da3 Cleanup 2016-12-16 11:26:39 -08:00
Kevin Serrano 0abb42cbb8
Clean notices. 2016-12-16 11:22:59 -08:00
Kevin Serrano 58cc9b9e67
The first notice, the fall of morden. 2016-12-16 11:21:16 -08:00
Kevin Serrano 851ba66cdd Add ability to show notices to user & get confirmation.
Implement generation of markdown for notice files.
Create npm command. Enhance notice generation.
Add test files to test multiple notices.
Add basic markdown support to notices.
Interval checks for updates.
Add extensionizer and linker
Add terms and conditions state file
Add link support to disclaimer.
Changelog addition.
2016-12-16 10:55:42 -08:00
Kevin Serrano 8819475a2e Add ability to show notices to user & get confirmation.
Implement generation of markdown for notice files.
Create npm command. Enhance notice generation.
Add test files to test multiple notices.
Add basic markdown support to notices.
Interval checks for updates.
Add extensionizer and linker
Add terms and conditions state file
Add link support to disclaimer.
Changelog addition.
2016-12-16 10:44:52 -08:00
Dan Finlay 549bbfd05f Made integration test create a first vault 2016-11-30 14:58:40 -08:00
Kevin Serrano f5b0795ac5
change all instances of selectedAddress to selectedAccount. 2016-11-21 16:21:16 -08:00
Dan Finlay bb06f5803d Add development states.js back into repo 2016-11-21 11:54:16 -08:00
Dan Finlay 6ae2400ef2 Fix custom provider menu item
The Custom RPC menu item in the provider menu would not appear when Localhost:8545 was selected.
2016-11-21 11:45:31 -08:00
Kevin Serrano 7de6b12aad
Re-enable disclaimer screen. Rename variables to reflect role more clearly. 2016-11-14 16:49:16 -08:00
Dan Finlay 1bbe0ed9e8 Scaffold new account view 2016-11-04 12:01:41 -07:00
Dan Finlay 8113eb4837 Add first-time state 2016-10-27 16:01:08 -07:00
Kevin Serrano 678301a20e
Phase out extra warning screen. 2016-10-25 13:24:03 -07:00
Dan Finlay 06910025ff Add more accounts to account list ui state 2016-10-11 15:59:39 -07:00
Dan Finlay b055a95201 Emphasize auto-updating in announcement
Helps avoid issues like #703 by emphasizing uninstalling is not required.
2016-10-05 15:52:19 -07:00
Dan Finlay 07c65ecf9d Made announcer use correct text bolding 2016-10-05 15:27:26 -07:00
Dan Finlay 774f3bd635 Rebuild dev states 2016-10-05 11:09:51 -07:00
Dan Finlay 3ad976570b Add announcer script
I always keep writing up this same announcement message whenever I publish a new version.

I've now written a script to automate my announcement formatting, it looks like this:

```
**MetaMask 2.13.2** now published to the Chrome Store! It should be available over the next hour!
 2016-10-4

- Fix bug where chosen FIAT exchange rate does no persist when switching networks
- Fix additional parameters that made MetaMask sometimes receive errors from Parity.
- Fix bug where invalid transactions would still open the MetaMask popup.
```
2016-10-04 12:41:14 -07:00
Dan Finlay 0d11eab8cb Add accounts back to metamask state 2016-09-12 14:22:06 -07:00
Dan Finlay 6c05c221cd Fix new logo related errors
Fixed logo deallocation related bugs, had to patch the logo repo itself to add a stopAnimating method.

Also tuned up the logo to more closely resemble the old behavior.
- Overlaps the title text
- Points nose at cursor, not just front of eyes
- Cursor is more "distant" from fox, to avoid extreme angles on edges.
2016-09-08 15:41:21 -07:00
Dan Finlay 452ce14fda Update locked state 2016-09-08 11:20:45 -07:00
Dan Finlay f5baf36c07 Make custom network dev state not loading 2016-08-29 12:36:27 -07:00
Dan Finlay aa13f77d6c Add shapeshift development state 2016-08-25 14:18:55 -07:00
Dan Finlay 3b594db316 Add send form development state 2016-08-25 14:09:41 -07:00
Dan Finlay f30e4be1a6 Add restore vault development state 2016-08-25 12:17:40 -07:00
Dan Finlay 0fd955d636 Add pending sign msg development state 2016-08-24 15:40:22 -07:00
Frankie f80b9b2693 Create a dev state with shapeshift tx 2016-08-18 17:51:38 -07:00
Kevin Serrano 009784c79b Divided eth components for tx and account detail. 2016-08-16 10:34:29 -07:00
Kevin Serrano 6895d330ff Merge master. 2016-08-15 10:50:53 -07:00
Dan Finlay f3faec6509 Added buggy state file to states folder 2016-08-11 19:45:20 -07:00
Dan Finlay 20cfd1c9f3 Add network indicator class to loading image 2016-08-11 19:44:41 -07:00
Kevin Serrano fd37f5db65 Add fix for zero balance shorten. 2016-08-07 17:23:35 -07:00
Kevin Serrano 260de6532c Get fiat numbers rendering on tooltip. Need to find way to create line breaks. 2016-08-05 12:18:44 -07:00
Kevin Serrano be76b05726 Holding off on select formatting for now. Renamed keys for options. 2016-08-04 23:27:30 -07:00
Kevin Serrano ccd85d19e3 Create default values for metamask state for conversion. Fix config files for ui dev. 2016-08-04 19:09:42 -07:00
Dan Finlay 5b4e2ffeac Add mock dev mode 2016-07-21 18:08:35 -07:00
Dan Finlay 57da5a8198 Merge branch 'master' into FixSvgIcons 2016-07-11 20:55:58 -07:00
Kevin Serrano d7e6b752a3 Integrate changes back into eth-balance 2016-07-11 17:44:00 -07:00
Dan Finlay a5bac9419a Rebuild states object 2016-07-11 15:49:22 -07:00
Dan Finlay 3274bb78d7 Add coin sending tx state 2016-07-11 15:47:15 -07:00
Kevin Serrano 20bfb60fd2 Implement alternate shortening scheme. 2016-07-08 17:27:13 -07:00
Kevin Serrano 86b7cc6637 Resolve merge conflict. 2016-07-07 16:33:06 -07:00
Kevin Serrano 5343404d0d Add new component for tx-history to avoid messing with other styles. Add fixed width specifically to this style. 2016-07-07 16:27:37 -07:00
Kevin Serrano 570d560932 Modified test views again. Added fixed length to center tx information. 2016-07-07 15:39:19 -07:00
kumavis ac808e681f Merge branch 'master' of github.com:MetaMask/metamask-plugin into ConfirmationStyle 2016-07-07 15:04:53 -07:00
Kevin Serrano 94c25ec26a Modify development states to account for long domains. 2016-07-07 14:48:54 -07:00
Kevin Serrano ecb0f9767b Add new test state with tx history. Fix alignment issue with transaction history text. 2016-07-07 13:48:52 -07:00
Dan Finlay edf681a1e8 Simplify ui dev mode style 2016-07-06 23:05:30 -07:00
Dan Finlay ce463f3aff Fixed up pending-tx-details 2016-07-06 22:48:02 -07:00
Dan Finlay 7481f7c3df Fleshed out pending tx view 2016-07-06 21:32:36 -07:00
Dan Finlay 7058dc4ee3 Began reworking tx conf view 2016-07-06 17:58:46 -07:00
Dan Finlay 0cd11915ce Improved Ui Dev Mode
Dev mode now reloads on file changes (although it seems to sometimes reload too soon, not getting the update... we can tune the timeout interval in development/index.html)

Dev mode now reloads on all non-`node_modules` file changes, so the `ui` and `app` folders are both being watched for live reloading.
2016-07-01 14:23:37 -07:00
Dan Finlay 6ec387b675 Formatted dev mode better 2016-06-30 23:50:20 -07:00
Dan Finlay d1545245c2 Clean up beefy usage
Now properly uses brfs transform so it can reload on state object changes.
2016-06-30 22:59:28 -07:00
Dan Finlay a95b5c4a96 Add query param restoring to mocker 2016-06-30 21:39:50 -07:00
Dan Finlay c3f18fcf2b Remove debugs from development 2016-06-30 21:35:24 -07:00
Dan Finlay 435468e571 Cleaned up some formatting for ui mocker 2016-06-30 18:42:57 -07:00
Dan Finlay c26a7cd89b Add selector component to ui mocker 2016-06-30 18:22:48 -07:00
Dan Finlay e55938ed15 First simple version of ui mocker 2016-06-30 18:22:16 -07:00