1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-15 14:17:11 +01:00
Commit Graph

816 Commits

Author SHA1 Message Date
Dan Finlay
7b3f0ad43d Fix main dropdown animation 2016-07-11 11:33:12 -07:00
Kevin Serrano
40d2b7fe71 lint 2016-07-08 17:39:15 -07:00
Kevin Serrano
20bfb60fd2 Implement alternate shortening scheme. 2016-07-08 17:27:13 -07:00
kumavis
58ee3e1227 Merge branch 'master' of github.com:MetaMask/metamask-plugin into ui-fixth-width-tx-history 2016-07-07 17:39:48 -07:00
kumavis
d2eab80e09 eth-balance fix 2016-07-07 17:34:30 -07:00
kumavis
501ffba6f2 lint - dingle dangle comma tangle 2016-07-07 17:00:24 -07:00
kumavis
03430e8473 Merge branch 'master' of github.com:MetaMask/metamask-plugin into ConfirmationStyle 2016-07-07 16:56:20 -07:00
kumavis
7dc67a9257 notif - add support for forward carrat 2016-07-07 16:54:35 -07:00
Kevin Serrano
86b7cc6637 Resolve merge conflict. 2016-07-07 16:33:06 -07:00
Kevin Serrano
9a9c1f2cd4 Pass the linters. 2016-07-07 16:30:52 -07:00
Kevin Serrano
1c1d6241ed Remove reducer console log. 2016-07-07 16:29:31 -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
11fd281a33 ui - remove doubled eth-balance 2016-07-07 15:29:46 -07:00
Dan Finlay
33150cc721 Fixed eth_balance style, completing partial merge 2016-07-07 15:22:10 -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
432221625c Remove logging for states. 2016-07-07 13:50:57 -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
kumavis
f71956b2ab lint fix 2016-07-07 13:45:06 -07:00
kumavis
0bb8b8cacc Merge branch 'master' of github.com:MetaMask/metamask-plugin into ConfirmationStyle 2016-07-07 13:41:32 -07:00
Dan Finlay
3cd502a163 Restore button naming consistency 2016-07-07 13:22:38 -07:00
Dan Finlay
e8efe84320 Add nickname rendering for recipient address 2016-07-07 13:21:45 -07:00
Dan Finlay
306035f575 Linted 2016-07-07 12:41:07 -07:00
Dan Finlay
468c1ffa42 Refined tx confirmation button styles 2016-07-07 12:39:40 -07:00
Frankie
cd8ae4b5ff Change function name to generateBalanceObject 2016-07-07 12:39:07 -07:00
Dan Finlay
2a204624f5 Implement tx confirmation style refinements 2016-07-07 12:27:34 -07:00
Dan Finlay
97b60caac0 Add configurable params to eth-balance 2016-07-07 12:27:18 -07:00
Frankie
0a6560bd5d Add method to deal with small decimals and create the object for eth-balance component 2016-07-07 12:13:38 -07:00
Dan Finlay
1e92e7e9d4 Make mini account panel labels fully configurable 2016-07-07 11:50:01 -07:00
Dan Finlay
21f17214be Remove formatBalance.formatted references 2016-07-07 11:39:24 -07:00
Dan Finlay
a02f43fb7f Merge branch 'master' into ConfirmationStyle 2016-07-07 11:38:11 -07:00
Frankie
2cc44df584 Revert back to original formatBalance 2016-07-07 11:20:02 -07:00
Dan Finlay
c2655bef5a Correct data length calculation 2016-07-06 23:38:07 -07:00
Dan Finlay
5faa64817c Update gas cost 2016-07-06 23:16:04 -07:00
Dan Finlay
3bcf44509e Fix sender balance rendering in pending tx details 2016-07-06 23:11:47 -07:00
Dan Finlay
a1fdf28a7b Merge branch 'master' into ConfirmationStyle 2016-07-06 22:56:07 -07:00
Dan Finlay
9e0d9b88cc Linted 2016-07-06 22:51:28 -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
Kevin Serrano
acdd40e3be Fix dropdown z-index issue. 2016-07-06 20:11:49 -07:00
Frankie
8834548b01 Handle to small of balances with "<0.00001" 2016-07-06 19:17:32 -07:00
Dan Finlay
689bd58d81 Merged latest balance formatting code 2016-07-06 18:06:28 -07:00
Dan Finlay
15afbe5b1f Merge branch 'master' into ConfirmationStyle 2016-07-06 17:59:00 -07:00
Dan Finlay
7058dc4ee3 Began reworking tx conf view 2016-07-06 17:58:46 -07:00
Frankie
53eefc1efc Add a postion option for tool tip 2016-07-06 17:12:33 -07:00
Frankie
9d577ea023 Add decimal hendeling to ETH balance 2016-07-06 17:04:09 -07:00
Dan Finlay
fb5dbd23a9 Merge pull request #387 from MetaMask/ui-formatting
Ui formatting for account details
2016-07-06 11:00:32 -07:00
Frankie
8d67a820a9 Add light and ultraLight fonts 2016-07-05 15:39:51 -07:00
Dan Finlay
2c89cd722e Simplify empty account balance rendering 2016-07-05 15:16:40 -07:00
Kevin Serrano
3ca20bd8a3 Move account balance down a row. Adjusted positioning of buttons. 2016-07-05 12:04:15 -07:00
Dan Finlay
71df05c5ff Put network status checkmarks at end of row 2016-07-01 15:04:38 -07:00
Dan Finlay
287222df25 Linted 2016-07-01 10:32:54 -07:00
Dan Finlay
51a5e66cbb Move main drop-down state to component state 2016-07-01 10:25:19 -07:00
Dan Finlay
6ec387b675 Formatted dev mode better 2016-06-30 23:50:20 -07:00
Dan Finlay
7f9200b1bf Added some basic styles 2016-06-30 23:15:45 -07:00
kumavis
5a917431d8 disclaimer - render via react-markdown 2016-06-30 21:46:19 -07:00
Dan Finlay
cd21a4b699 Remove scroll fixing from ui preview 2016-06-30 21:32:50 -07:00
Dan Finlay
a0a676c3e2 Remove old disclaimer 2016-06-30 21:24:14 -07:00
Dan Finlay
d33d4f0654 Merge branch 'master' into FrankieDisclaimer 2016-06-30 21:22:39 -07:00
kumavis
d4e400e5e5 Merge pull request #378 from MetaMask/UiDev
Ui dev
2016-06-30 21:20:40 -07:00
Dan Finlay
aa21c83470 Add new user agreement 2016-06-30 20:54:51 -07:00
Dan Finlay
2843459fcf Make info page not chrome dependent 2016-06-30 18:23:05 -07:00
Dan Finlay
e55938ed15 First simple version of ui mocker 2016-06-30 18:22:16 -07:00
Frankie
1b1bb92fd3 Merge branch 'master' into compactLayout 2016-06-30 14:56:10 -07:00
Frankie
42cd0b69e7 Implemt new account layout 2016-06-30 14:53:24 -07:00
Dan Finlay
179d176dc1 Fix broken action reference 2016-06-30 11:30:31 -07:00
Frankie
5252504e3f WIP: Working on new layout 2016-06-30 11:15:32 -07:00
kumavis
41598a32a6 Merge branch 'master' of github.com:MetaMask/metamask-plugin into networkIndication 2016-06-29 17:12:08 -07:00
Frankie
94768175bf Merge branch 'master' into networkIndication 2016-06-29 16:33:43 -07:00
Frankie
0b3737edb4 Add to change log 2016-06-29 16:31:27 -07:00
Dan Finlay
2880f8631c Unify tooltip styles
Made a local tooltip component for replicating our tooltip styles wherever we use tooltips.

Applied that tooltip to other items that had tooltips.
2016-06-29 16:21:38 -07:00
Frankie
e0daea35a9 Add network name to indicator and some css fixes
-also fix custom net work bug in drop down where it
thinks local:8545 is custom.
2016-06-29 16:12:19 -07:00
Dan Finlay
2b5c42d27f Merge branch 'master' into CopyTxHash 2016-06-29 15:58:31 -07:00
Dan Finlay
78e6ed22be Add tooltip to copy button 2016-06-29 15:57:59 -07:00
Kevin Serrano
3ae479f5ac Unify wording for transaction options (#369)
* Unify wording for transaction options.

* Modify changelog.

* Fix wording and spacing.
2016-06-29 15:44:37 -07:00
Frankie
2c36c17238 Add ✓ charchter to indicate active network 2016-06-29 15:04:16 -07:00
Dan Finlay
7f92a8da06 Use clipboard icon for copy button 2016-06-29 14:39:25 -07:00
Dan Finlay
fb92b8a5fe Add copy button to transaction list 2016-06-29 14:12:58 -07:00
Dan Finlay
5c57169219 Replace manual copy buttons with new CopyButton component 2016-06-29 14:11:31 -07:00
Dan Finlay
441a7eec28 Add CopyButton component 2016-06-29 14:11:12 -07:00
Frankie
ce03356f5f Remove missused action 2016-06-28 19:10:27 -07:00
Frankie
dbae676858 Make it so that when you click the custom rpc url it closes the dropdown menu 2016-06-28 18:47:17 -07:00
Frankie
f3119d40f5 fix lint 2016-06-28 18:06:10 -07:00
Frankie
af999e2bee Merge branch 'master' into networkDropdownFix 2016-06-28 17:59:22 -07:00
Frankie
56cbd7d9ea Add custom to drop down menu 2016-06-28 17:57:53 -07:00
Kevin Serrano
e4956c3123 Modify network icons to reflect current design. (#355)
* Modify network icons to reflect current design.

* Switch icons around.
2016-06-28 16:15:26 -07:00
Kevin Serrano
c6187b080a Fix out-of-place positioning of pending tx badges. (#354) 2016-06-28 14:25:22 -07:00
kumavis
19f9d6566b Merge branch 'master' into pr/351
# Conflicts:
#	CHANGELOG.md
#	app/scripts/lib/notifications.js
2016-06-28 13:14:38 -07:00
kumavis
57aca116ed Merge branch 'master' into FixSomeFormatting
# Conflicts:
#	CHANGELOG.md
#	app/scripts/lib/notifications.js
2016-06-28 13:11:50 -07:00
Kevin Serrano
1cd17af2ad Second layer of 20 character check modified. 2016-06-28 13:10:57 -07:00
Kevin Serrano
661d9bffb3 Changelog update and reduce allowed characters from 30 to 20. 2016-06-28 13:10:29 -07:00
Kevin Serrano
4be704097f Merge branch 'master' into title-truncate 2016-06-28 13:08:43 -07:00
Kevin Serrano
f9540cf48c Wallet name now is properly truncated. 2016-06-28 13:07:46 -07:00
kumavis
2fd03a60fb Merge pull request #344 from Zanibas/character-limit
Character limit implemented for wallet names
2016-06-28 13:02:34 -07:00
Frankie
16566ee7db Move clearNotifications to popup.js 2016-06-28 12:57:06 -07:00
Kevin Serrano
abcf762184 Code style fix. 2016-06-28 12:49:17 -07:00
Kevin Serrano
697e8c0768 Truncate account name further. 2016-06-28 12:48:03 -07:00
Frankie
c115203063 fix for linting 2016-06-28 12:08:30 -07:00
Frankie
c548a1225b Merge branch 'master' into i340+1 2016-06-28 12:07:48 -07:00
Frankie
4f4c5048bf fix #341 close notifications when oppening pop up 2016-06-28 11:57:33 -07:00
Dan Finlay
6a87259016 Simplify send ether button to send. 2016-06-28 11:50:42 -07:00
Dan Finlay
9f5b62752e Fix formatting on terms & conditions page 2016-06-28 11:38:29 -07:00
Kevin Serrano
39a758d7c3 Merge changelog. 2016-06-28 11:37:11 -07:00
Kevin Serrano
a69882df72 Additional length check just in case. 2016-06-28 11:34:30 -07:00
Kevin Serrano
86a1eaadf1 Enforce 30 character limit on wallet name. 2016-06-28 11:30:55 -07:00
Kevin Serrano
204cb7f1ed Change color of failure to yellow. Change pending to ellipsis. (#338)
* Change color of failure to yellow. Change pending to ellipsis.

* Modify changelog.
2016-06-28 09:33:11 -07:00
Frankie
3d9bedaeea Fix it so you cant send a negitavie amount of ETH 2016-06-27 17:07:45 -07:00
Kevin Serrano
8c7511e9da Add alt titles to most critical icons
We can change most of these later to a more "elegant" solution, but from the user perspective, having these tooltips is comforting imo.
2016-06-27 11:55:05 -07:00
Frankie
ab55fefa1a Merge branch 'master' into uiFixes 2016-06-24 18:02:28 -07:00
Frankie
ef743499cb Fix for the mailto link 2016-06-24 17:59:58 -07:00
kumavis
770528d538 clean - appease the linting machine 2016-06-24 17:27:42 -07:00
kumavis
d7d440b2c2 svg notif now work for msg signatures 2016-06-24 17:22:27 -07:00
Frankie
4200eeeeed Fix editable button so that it dosent float above the drop down menue 2016-06-24 15:13:48 -07:00
kumavis
86fdcca2ec Merge branch 'master' of github.com:MetaMask/metamask-plugin into conf-tx-refactor 2016-06-24 12:49:02 -07:00
kumavis
eb1b9d027f breakout pending-tx-details 2016-06-24 12:48:52 -07:00
kumavis
c8b6da2593 identicon - default to imageify 2016-06-24 12:07:08 -07:00
kumavis
02dd1669e7 send-tx remove account select button 2016-06-24 11:44:18 -07:00
kumavis
ac2269b16e Merge pull request #312 from MetaMask/svg-notif
initial svg notifications
2016-06-23 17:55:10 -07:00
kumavis
2468949cb5 some legit linting fixes 2016-06-23 16:53:45 -07:00
kumavis
be25f4da06 pending-tx pass the identicon pref on 2016-06-23 16:43:10 -07:00
kumavis
d293ef0494 account-panel combine panel into account-panel 2016-06-23 16:28:57 -07:00
kumavis
e96a53385f accounts - rename account list item so it doesnt overlap 2016-06-23 16:18:47 -07:00
kumavis
7eb89613cc icon-factory - overhaul to provide svg or imagified el 2016-06-23 16:09:25 -07:00
kumavis
cc7dbace38 tx-conf add non-interactive mode for notification 2016-06-23 15:25:33 -07:00
kumavis
2495c6ea54 svg notifications - remove unneeded deps and clean code 2016-06-23 15:13:24 -07:00
Dan Finlay
a106887a6f Add fox logo back to left of menu
Re-centered metamask h1 manually.
2016-06-23 14:56:33 -07:00
Dan Finlay
4ebb9f631e Moved account change button to menu bar 2016-06-23 14:39:50 -07:00
kumavis
2a3660fe60 Merge branch 'master' of github.com:MetaMask/metamask-plugin into svg-notif 2016-06-23 14:01:16 -07:00
kumavis
122576a790 initial svg notifications 2016-06-22 19:28:11 -07:00
Frankie
973aa4fd15 close #309 2016-06-22 16:35:34 -07:00
Frankie
a5c782d69c Remove redundant network option buttons from settings page 2016-06-22 16:19:56 -07:00
Frankie
f0e6411277 Swap out Transat font for Montserrat 2016-06-22 15:35:52 -07:00
Frankie
ea564e51fc Fix for lint err 2016-06-21 15:30:18 -07:00
Frankie
cf663f1104 Fix conflict 2016-06-21 15:04:00 -07:00
Dan Finlay
8fde8a8921 Manually linted 2016-06-21 13:56:04 -07:00
Frankie
265725c6ed Change the copy to cliboard icon 2016-06-21 13:40:02 -07:00
Dan Finlay
ab15b4c825 Merge branch 'master' of github.com:MetaMask/metamask-plugin into AutoLint 2016-06-21 13:19:44 -07:00
Dan Finlay
a08c3bc01b Auto linted 2016-06-21 13:18:32 -07:00
Frankie
5d349083f0 Change export icon to key 2016-06-21 13:10:28 -07:00
Zac Mitton
bd6ee81d09 tweek 2016-06-21 10:52:41 -05:00
Zac Mitton
9132f08507 added a failing case and fixed it by refactoring everything to strings 2016-06-20 18:46:29 -04:00
Dan Finlay
281ed1c2bb Fix tx approval address formatting 2016-06-16 18:37:39 -07:00
Dan Finlay
69f628dbe2 Preserve disclaimer line breaks 2016-06-16 17:11:13 -07:00
Dan Finlay
79999109e2 Added some real text to top of disclaimer 2016-06-16 17:05:38 -07:00
Dan Finlay
9e7a9e6837 Increase disclaimer scroll box height 2016-06-16 16:57:56 -07:00
Dan Finlay
1f0de5588d Remove dead code 2016-06-16 16:55:45 -07:00
Dan Finlay
2835112dbf Conditionally display disclaimer 2016-06-16 16:55:32 -07:00
Dan Finlay
93fa97f86a Add disclaimer component 2016-06-16 16:55:22 -07:00
Dan Finlay
f5fa0d3fa5 Improved template to not be invisible 2016-06-16 16:49:10 -07:00
Dan Finlay
08ecbcf242 Create disclaimer approval reducer 2016-06-16 16:41:57 -07:00
Dan Finlay
c5d334d372 Fix disclaimer approving action 2016-06-16 16:40:55 -07:00
Dan Finlay
af48b94f6f Add disclaimer consent action 2016-06-16 15:58:45 -07:00
Dan Finlay
825bb4494b Add placeholder disclaimer file 2016-06-16 15:51:57 -07:00
Dan Finlay
f6d1da7793 Improve template 2016-06-16 15:51:39 -07:00
Dan Finlay
58bad49c57 Resize images for chrome store acceptance 2016-06-16 10:30:28 -07:00
Zac Mitton
7aa09894df icon fox eyes changed to navy blue everywhere 2016-06-15 14:40:57 -04:00
Zac Mitton
0ac8ba0216 screenshots and promos for chrome store round 1 2016-06-15 11:58:32 -04:00
Dan Finlay
92f8d1b2ca Merge pull request #286 from MetaMask/FixSpinner
Made network spinner clickable
2016-06-14 15:26:33 -07:00
Dan Finlay
9417b92e44 Let account address take more space in account list 2016-06-14 15:24:47 -07:00
Dan Finlay
c8706b5d6f Made network spinner clickable
Opens network menu, for when network is unreachable.

Fixes #279
2016-06-14 15:00:25 -07:00
Dan Finlay
d6ebae8c4f Show more address in detail view 2016-06-14 14:29:08 -07:00
Dan Finlay
6f07acc4be Center main account icon 2016-06-14 13:29:53 -07:00
Dan Finlay
a04815555f Merge pull request #283 from MetaMask/RewordLock
Reword lock menu item
2016-06-14 13:05:57 -07:00
Dan Finlay
789b1db34c Remove unused class 2016-06-14 13:01:04 -07:00
Dan Finlay
e0f8628486 Rename Lock Account to simply Lock 2016-06-14 12:59:34 -07:00
Dan Finlay
e76a628a5b Insert vlad icons into UI 2016-06-14 12:43:43 -07:00
Frankie
e9208be096 Size export confirmation input 2016-06-12 13:36:34 -04:00
Frankie
ff2f5cd58a Change name-label css bug 2016-06-12 12:40:30 -04:00
Frankie
88ed93afd9 Remove qr code icon and reorder to have clipboard first 2016-06-12 12:40:30 -04:00
Frankie
7d8bf31e82 Fix edit text
and edit label alighment
2016-06-12 12:38:51 -04:00
Frankie
1987296af0 Add spacing in line items 2016-06-08 19:08:55 -04:00
Frankie
03e9ff6e42 Mend CHANGE.log 2016-06-08 17:12:25 -04:00
Frankie
e9407777cc Style up the info screen 2016-06-08 16:43:05 -04:00
Frankie
702dc3b216 Add icons to left side of links, as well as the metmask version and styling 2016-06-08 15:40:42 -04:00
Dan Finlay
d5c378b09a Cache identicons
Fixes #197

Also as a side effect, by creating this `iconFactory.cache` object, we have a convenient place for specifying stock icons for known contracts!

We can just hard-code image addresses in the `ui/lib/icon-factory.js` cache instantiation, and those values will be injected into the identicon image tag `src` attributes.
2016-06-06 14:05:13 -07:00
Frankie
2c2fcd60bf Merge branch 'master' into uiFixes 2016-06-06 10:20:05 -04:00
Frankie
f59ca7a6bf Add css to resize and alighn input for editable lable 2016-06-06 10:09:21 -04:00
Frankie
217dd9c95e Fix label size for edit label 2016-06-06 03:30:26 -04:00
Frankie
40338571fa Add edit label 2016-06-06 03:14:10 -04:00
Dan Finlay
b1a4c19ddb Make morden sail blue 2016-06-03 18:26:26 -07:00
Dan Finlay
b9007ee843 Add provider menu on clicking network status indicator.
Also simplifies network status icons.
2016-06-03 17:49:54 -07:00
Dan Finlay
5560ebba26 Clicking network status indicator reveals provider menu 2016-06-03 17:09:18 -07:00
Dan Finlay
b2b4b4dd25 Merge branch 'master' into display_network 2016-06-03 15:21:24 -07:00
Dan Finlay
d49ef1a2e5 Blockchain status now updates on availability change 2016-06-03 15:18:20 -07:00
Dan Finlay
2422c78ce2 Add network loading indication 2016-06-03 13:58:09 -07:00
Dan Finlay
d86d7b9ac7 Differentiate icon name from hover text 2016-06-03 13:08:49 -07:00
Dan Finlay
3170e094c5 Some minor linting 2016-06-03 12:59:59 -07:00
Dan Finlay
acc00b84ea Make hover text more human friendly 2016-06-03 12:58:14 -07:00
Dan Finlay
66f06844ac Remove metamask logo from header 2016-06-03 12:58:00 -07:00
Frankie
d90943dc61 Change chevron-down to fa-plus 2016-06-03 13:31:36 -04:00
kumavis
6dec937c2a Merge pull request #242 from MetaMask/HashFix
provider-engine hooked wallet - checkSum addresses not recognized
2016-06-02 19:06:46 -07:00
Dan Finlay
272bea31b5 Fix hashed address validation 2016-06-02 18:42:09 -07:00
Dan Finlay
10fec9052f A couple seed recovery enhancements
- The seed words are no longer stored on `state.appState.currentView.context`, which caused view glitches since it was shared with other views' data.
- The confirmation text warning color is now the same as other error messages'.
2016-06-02 17:11:12 -07:00
Dan Finlay
9cc04be5e4 Added seed word recovery to config screen 2016-06-02 16:52:18 -07:00
Zac Mitton
f5d107cde1 undo style 2016-06-01 16:37:36 -07:00
Zac Mitton
924a65c956 network status getting set upon start-up and showing in title bar but not auto-updating yet 2016-06-01 16:30:14 -07:00
Dan Finlay
921ced1630 Merge branch 'master' into i216 2016-05-26 15:21:27 -07:00
kumavis
870e05b240 ui - redesign - init + vault create/restore + seed 2016-05-26 15:11:22 -07:00
Dan Finlay
01e5bc25a9 Fix build error 2016-05-26 15:00:37 -07:00
Dan Finlay
5001547386 Remove etherscan links from non standard blockchains 2016-05-26 14:59:05 -07:00
Dan Finlay
4d468d8064 Fix network reference part 2 2016-05-26 14:50:01 -07:00
Dan Finlay
12d89eb647 Fix network reference 2016-05-26 14:41:11 -07:00
Dan Finlay
5da6fd5ab1 Add clicking txs in list shows tx conf screen 2016-05-26 14:32:45 -07:00
Dan Finlay
d31189b206 Add pending messages to sign to tx list 2016-05-26 14:12:41 -07:00
Dan Finlay
d489b31923 Center wallet nickname under identicon in tx confirmation screen 2016-05-26 13:06:29 -07:00
kumavis
36d6b3959e Merge pull request #222 from MetaMask/balances
Fixes #206
2016-05-25 19:42:51 -07:00
Zac Mitton
2ce9f1a776 correctly displaying small balances with tests 2016-05-25 18:29:03 -07:00
Dan Finlay
e8eae89576 Merge branch 'master' into FixTransactionBackButton 2016-05-25 17:57:57 -07:00
Dan Finlay
21af266fde Move transaction list item into its own component 2016-05-25 17:57:08 -07:00
Dan Finlay
45ae2a0be3 Make transaction list into actual React Component 2016-05-25 17:18:04 -07:00
Dan Finlay
5669f44300 Add number indicating pending txs to account list 2016-05-25 16:54:43 -07:00
Dan Finlay
294b16a275 Fix back button on pending tx screen
Fixes #208
2016-05-25 16:28:07 -07:00
Dan Finlay
4f9e66994d Remove commented out code 2016-05-25 16:09:54 -07:00
Dan Finlay
e8c88a5551 Fix persistent warning bug 2016-05-25 15:39:18 -07:00
kumavis
c5e5842424 actions - remove use of 'this' 2016-05-25 12:39:12 -07:00
Dan Finlay
adaf1c7012 Add copy address button to account list 2016-05-23 15:31:11 -07:00
Dan Finlay
45916175d7 Move account list panel to component 2016-05-23 14:56:34 -07:00
Dan Finlay
a8540d379b Remove old accounts list file 2016-05-23 14:48:56 -07:00
Dan Finlay
b8228ab0da Move accounts index 2016-05-23 14:48:01 -07:00
kumavis
41df7bb8f6 bugfix - exportAccount - fix copyToClipboard 2016-05-22 18:01:47 -07:00
Dan Finlay
95a3cfe3fc Added ability to nickname wallets locally
The changes are persisted to localstorage, so they cannot be restored on a new computer, but for right now it's a nice organizational feature.
2016-05-20 16:18:54 -07:00
Dan Finlay
24fc5f9ea3 Fix up accounts list
Fix hover styles to not grow.
Fix back button on accounts list.
2016-05-20 14:11:59 -07:00
Dan Finlay
18304fa46c Made account list hover styles more consistent 2016-05-20 12:49:33 -07:00
Dan Finlay
7d5aaaa5bd Add ability to add account to vault
Scrolling to the bottom of the accounts page now reveals a downward-facing chevron button.

Pressing this button shows loading indication, adds a new account to the identity vault, displays it in the list, and scrolls the list to the bottom of the page.

Any number of accounts can be generated in this way, and the UX feels intuitive without having to overly explain how HD paths work.
2016-05-20 12:40:44 -07:00
Dan Finlay
2a6d6fcd15 Improve tx list style
Tx list no longer enlarges on hover, and failed transactions no longer have hover styles nor direct to an explorer page.
2016-05-19 19:11:53 -07:00
Dan Finlay
d71ee6927f Do not forward to null tx explorer page 2016-05-19 19:06:06 -07:00
Dan Finlay
ff20543c59 Render failed tx in tx list 2016-05-19 19:00:14 -07:00
Dan Finlay
d861c6ceca Add special rendering for contracts in transaction list 2016-05-19 17:45:58 -07:00
Dan Finlay
47540ad0b3 Allow empty recipient fields on tx 2016-05-19 16:14:16 -07:00
Dan Finlay
60270de53d Add full precision to send tx value field. 2016-05-19 14:46:50 -07:00
Dan Finlay
22a77b8041 Increase send value precision 2016-05-19 14:21:35 -07:00
Dan Finlay
c8deb355f7 Add address capitalization checksumming 2016-05-19 12:06:45 -07:00
Dan Finlay
685a1881b8 Allow txs with no recipient when they have a data field 2016-05-19 11:28:58 -07:00
Dan Finlay
e5034ade24 Make accounts page transition forward from account detail 2016-05-18 23:50:15 -07:00
kumavis
5a17a6376c Merge branch 'eyeballs' of github.com:MetaMask/metamask-plugin into eyeballs 2016-05-18 17:50:22 -07:00
kumavis
8c6a451ac7 ui - redesign - txList improved 2016-05-18 17:48:50 -07:00
kumavis
fbc7a48fef Merge pull request #190 from MetaMask/MenuDroppo
Drop-down menu
2016-05-18 17:48:12 -07:00
Dan Finlay
e64e3bbea5 Fix typos 2016-05-18 17:47:30 -07:00
Dan Finlay
9d0cad0e16 Finish clean implementation of drop-down menu 2016-05-18 17:32:26 -07:00
Dan Finlay
d0b0526765 Add dynamic list item styles 2016-05-18 14:36:35 -07:00
Dan Finlay
c85c594d5b Merge pull request #189 from MetaMask/hotfixsendTx
ui - sendTx - re-add warning and fix form parsing
2016-05-18 13:57:49 -07:00
kumavis
6eebda73cf ui - sendTx - re-add warning and fix form parsing 2016-05-18 13:55:43 -07:00
kumavis
6ae0a90d7b ui - redesign - ether amount component 2016-05-18 13:41:08 -07:00
Dan Finlay
79e595754f Merge branch 'eyeballs' into MenuDroppo 2016-05-18 12:30:31 -07:00
Dan Finlay
d18d9a8f97 Add animated sandwich button 2016-05-18 12:30:03 -07:00
kumavis
877648623e ui - redesign - sendTransaction 2016-05-18 12:13:19 -07:00
kumavis
06557d7900 ui - add new designs 2016-05-16 11:24:10 -07:00
kumavis
49e08f9013 ui - redesign - unlock menu 2016-05-13 18:07:47 -07:00
kumavis
d6a8b0b90a ui - redesign - send 2016-05-13 17:09:34 -07:00
kumavis
82504ae965 ui - txList - add time 2016-05-13 17:02:33 -07:00
kumavis
2365fe1142 ui - txlist - better scroll bar positioning 2016-05-13 16:36:04 -07:00
kumavis
b55a329532 ui - copy address fix 2016-05-13 16:33:41 -07:00
kumavis
b8ad7f2cb1 ui - fix account-export margin 2016-05-13 16:31:49 -07:00
kumavis
46f1ab8b48 ui - redesign - trans group + + account detail + tx list fixes 2016-05-13 16:28:46 -07:00
kumavis
82db0afb30 ui - accunt-detail - fix style attribute 2016-05-13 15:12:30 -07:00
kumavis
e0280b0db8 ui - redesign - remove footer 2016-05-13 14:56:29 -07:00
kumavis
3d696420b7 clean - remove logging from tx list 2016-05-13 14:45:17 -07:00
Dan Finlay
041b5493dc Streamlined some transition logic
Fixes #122

Had used multiple actions for some transitions, which would lead to brief intermediary states.

Now making a few actions much more explicit about what they route to, so there is less intermediary logic, and we can transition confidently to the correct view.
2016-05-13 01:24:05 -07:00
Dan Finlay
29facfe4d6 Fix more transition bugs 2016-05-11 22:21:10 -07:00
Dan Finlay
b628df017f Revert style name fixes that broke styles 2016-05-11 21:26:09 -07:00
Dan Finlay
57280d4d79 Fix css names 2016-05-11 21:06:50 -07:00
Dan Finlay
4e9b829179 Merge branch 'master' into eyeballs 2016-05-11 14:16:53 -07:00
Dan Finlay
b430cbd064 Fix send view selected account bug 2016-05-11 12:54:19 -07:00
Dan Finlay
f926aa8f85 Vertically center title bar content 2016-05-11 02:56:12 -07:00
Dan Finlay
0af0bdbfcc Merge branch 'eyeballs' of github.com:MetaMask/metamask-plugin into eyeballs 2016-05-11 02:47:00 -07:00
Dan Finlay
2978e6e494 Fixed transitions 2016-05-11 02:46:41 -07:00
kumavis
2913dcb82c ui - redesign - account details 2016-05-11 02:11:31 -07:00
kumavis
c8640537e6 hotfix - identicon jazz bug 2016-05-10 23:53:07 -07:00
Dan Finlay
d9d442ed1f Began adding jazzicons
Currently experiencing a few problems:

1. Tons of errors on app start. It's as if Jazzicon is getting called many times at start with some object as its diameter.
2. Weird visual glitches. When leaving a view with a jazzicon, it flashes off its border radius.
3. Messy transitions. Might want to just re-do the transitions. They just look awful, it's barely worthwhile.
2016-05-10 23:07:01 -07:00
kumavis
9c91da72f5 ui - account list - fix select account 2016-05-10 17:22:09 -07:00
kumavis
c2c33ff6cd ui - redesign - app header + accounts selection 2016-05-10 16:52:07 -07:00
Dan Finlay
d8bee4f599 Make default providers more easiliy configurable for metamask devs
No longer do our `mainnet` and `testnet` buttons set specific RPC urls. Now they set `provider.type`, which gets interpreted with code.

Currently the provider types of `mainnet` and `testnet` point to our new scalable backends, but these could be re-interpreted to use any other provider, be it etherscan, peer to peer, or otherwise.

Makes it easier for us to upgrade our infrastructure without incorporating migration logic into the program.
2016-05-10 15:37:13 -07:00
kumavis
ab273ba444 ui - design - add new files 2016-05-10 14:20:21 -07:00
Dan Finlay
d3b541e126 Fix transition bugs after vault restore 2016-05-10 10:45:31 -07:00
Dan Finlay
7f32560b03 Fix account loading bug 2016-05-10 10:31:53 -07:00
Dan Finlay
c30a67b2de Restored signTx action 2016-05-06 14:46:04 -07:00
Dan Finlay
356da540d1 Style transaction list using new panel component 2016-05-06 14:42:08 -07:00
Dan Finlay
a9fc4f452f Move account panel style into reusable component
The styles that defined the `account-panel` component now belong to the `panel` component, which is now used by the `account-panel` component for its styles.

It accepts an optional `onClick` property that it will fire when clicked!

Planning to use it for the tx-list.
2016-05-06 14:24:01 -07:00
Dan Finlay
ebb0aac7dd Always show transaction list 2016-05-05 13:27:00 -07:00
Dan Finlay
64b635fc76 Fix account navigation link 2016-05-05 12:23:54 -07:00
Dan Finlay
f92189a721 Restored back button to account detail view.
The `Change Acct` button was confusing multiple users, reverted that bit.
2016-05-05 12:14:51 -07:00
Dan Finlay
6ee193f802 Merge branch 'MoveAccountExportToSubview' into FixButtonStyleBug 2016-05-04 20:41:59 -07:00
Dan Finlay
93db6cacb5 Fix button width transition bug
Fixes #160
2016-05-04 20:41:34 -07:00
Dan Finlay
d929f80532 Fix routing bug
Where sometimes the account list was shown when first unlocking, after momentarily showing the detail panel.
2016-05-04 20:37:39 -07:00
Dan Finlay
f4d58ebc70 Move account export to subview
Account detail view now has an animated transitioning `subview` section that allows us to show extra details within it.

Clicking `export` now slide replaces the transaction list with the export UI.

Added cancel/done/submit buttons to the Export UI. Done submits like Enter did, the other two transition back to the transaction list.

For some reason when first unlocking, the selected account is being instantly replaced with the accounts list, so I need to fix that before merging this into master.
2016-05-04 18:08:31 -07:00
Dan Finlay
9c6ec054b1 Show any pending txs when unlocking
Before the unlock action hard-routed to the home route, now it has a condition where it will show pending transactions instead.
2016-05-03 15:04:15 -07:00
Dan Finlay
46e100f595 Improve tx UI 2016-05-03 14:44:36 -07:00
Dan Finlay
e6c4d63ccd Add UI for Signing Messages
Calls to `eth.sign` are now transiently persisted in memory, and displayed in a chronological stack with pending transactions (which are still persisted to disk).

This allows the user a method to sign/cancel transactions even if they miss the Chrome notification.

Improved a lot of the view routing, to avoid cases where routes would show an empty account view, or transition to the accounts list when it shouldn't.

Broke the transaction approval view into a couple components so messages and transactions could have their own templates.
2016-05-03 14:32:22 -07:00
Dan Finlay
988165224b Fix outdated transitions
Fixes #151

- Cancelling or completing a tx now goes back to account detail view.
- Restoring a vault now does not select an unloaded account, shows account list.
- Account list now never selects an item only uses the cells as buttons.
2016-04-29 17:02:36 -07:00
Dan Finlay
118da12197 Merge branch 'master' into Identicon 2016-04-29 14:01:58 -07:00
Dan Finlay
9360e33510 Convert icons to identicons 2016-04-29 12:45:46 -07:00
Dan Finlay
c88c3ccd81 Fix slack link 2016-04-29 11:41:59 -07:00
Dan Finlay
d017c28441 Filter transaction list for current blockchain network
When starting up, we now create a `web3` inside the `background.js` process, which we pass to the `idStore` and ask for the current `network`.

We include the `network` on `app.metamask.network` in the state object.

We re-request the network when changing provider.

We filter the transaction list for transactions that match the current network.
2016-04-27 18:04:33 -07:00
Dan Finlay
39a84c0e47 Fix explorer link generation 2016-04-27 14:43:09 -07:00
Dan Finlay
781334da47 When no account is selected, show accounts view 2016-04-25 15:18:20 -07:00
Dan Finlay
1025eb3b4f Persist selected account
When selecting an account, we now persist the selection to the `configManager`, so the selection can be restored when re-unlocking Metamask.

Also found the bug where `rawtestrpc` was still being used as a default, and fixed it!
2016-04-25 14:14:34 -07:00
Dan Finlay
4c46cbc99c Fixed some loading bugs 2016-04-25 13:49:46 -07:00
Dan Finlay
44c68eb23c Fix test 2016-04-25 13:41:06 -07:00
Dan Finlay
2dd7bd6bd0 Make account detail view the primary view
- When unlocking, the first account is now selected by default and displayed as the main view.
 - There is now a "CHANGE ACCT" button on the detail view to show the accounts list.
 - Clicking an account from the accounts list now navigates to the detail view and selects that account.
 - Config/Info screen "back" buttons now fire a new action, `GO_HOME`, which is configured to navigate to the accountDetail view, putting that logic in one place.
 - When locking and unlocking again, the first account is always displayed, eventually we should persist the selection.
2016-04-25 12:38:43 -07:00
Dan Finlay
820736b427 Add RPC config buttons and styles
- Add save button for custom RPC input field
 - Add button for RPC at `localhost:8545`.
 - Improve `Current RPC` display.
2016-04-22 14:39:12 -07:00
Dan Finlay
7455a0fa32 Improve transaction list title 2016-04-19 19:10:22 -07:00
Dan Finlay
7276e80816 Removed logs 2016-04-19 18:58:34 -07:00
Dan Finlay
d6ab6bb4fa Fix floating point input bug
When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals!

Put this numeric normalization into a utility function with a test around it and got it working.
2016-04-19 18:56:22 -07:00
Dan Finlay
f79601ee58 Generate explorer link to match current blockchain 2016-04-19 18:21:28 -07:00
Dan Finlay
0a0a631af2 Improve some UI formatting 2016-04-19 17:31:34 -07:00
Dan Finlay
13cac5943e Move transaction list after account panel 2016-04-19 17:27:20 -07:00
Dan Finlay
c858b70585 Moved transaction-list into its own component 2016-04-19 15:07:15 -07:00
Dan Finlay
8fe113e8d9 Merge branch 'master' into TransactionList 2016-04-19 13:03:00 -07:00
John Whitton
b953dc9ae1 Prototype Transaction Details in account-detail.js
Rough prototype with hyperlink
2016-04-19 12:34:49 -07:00
Dan Finlay
1d56ab821e Fix displayed RPC address
Fixes #119
2016-04-18 17:35:42 -07:00
Dan Finlay
65d73d7bb4 Unify test suites 2016-04-18 11:41:29 -07:00
Dan Finlay
33dc68535d Add leading zero to account balances 2016-04-15 09:42:20 -07:00
kumavis
cef1f2a65f ui - util - fixes#110 formatBalance 2016-04-14 21:19:08 -07:00
Dan Finlay
8527d051b0 Fix eth resolution
utils.formatBalance was returning rounded ether, was not useful for displaying account balances.

Now returns four decimal points, and is easily configurable for more, with passing tests.

Spoiler alert:  Don't you dare divide bignumber wei. Bignumber does not have decimals. Keep it as wei, format it as ether.
2016-04-14 13:20:19 -07:00
Dan Finlay
a27677a87c Move UI deps into main plugin package.json
Also move UI test scripts into main plugin
Also move testing explanation to main plugin README.
2016-04-13 15:46:39 -07:00
Dan Finlay
d814a45dff Moved UI into repo with its own dependency stack 2016-04-13 15:28:44 -07:00