1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 16:18:07 +01:00
Commit Graph

352 Commits

Author SHA1 Message Date
Dan Finlay
c7691b7e64 Fix reference in drop menu item 2016-07-29 12:22:39 -07:00
Dan Finlay
8a4d8eca64 Fix network name reference
When adding the classic network to the menu, I left a reference to a property that is not always existent, so we needed a fallback for it.
2016-07-29 12:19:15 -07:00
Dan Finlay
9b43ec2278 Add eth classic to provider menu 2016-07-28 10:53:51 -07:00
Dan Finlay
6658bea8d4 Implement some cross-browser practices (#473)
* Add mozilla plugin key to manifest

* Move all chrome references into platform-checking module

Addresses #453

* Add chrome global back to linter blacklist

* Add tests
2016-07-21 10:45:32 -07:00
Dan Finlay
c4812b3452 Triage a strange undefined balance error 2016-07-15 17:47:58 -07:00
kumavis
97e38b4983 new tx - calculate estimatedGas and show thing in tx-details (#441)
* new tx - calculate estimatedGas and show thing in tx-details

* Bump changelog
2016-07-13 23:39:44 -07:00
Frankie
dbc9008295 Fix eth balance tooltip to show 6 decimals (#440)
* Fix tooltip to show to the 6 decimal place on balances ovr 0...

* Change font size for balance component in tx-list so it fits the notation

* Add to change log

* Linting

* change log
2016-07-13 15:46:36 -07:00
Dan Finlay
57da5a8198 Merge branch 'master' into FixSvgIcons 2016-07-11 20:55:58 -07:00
Dan Finlay
e21a48da83 Linted 2016-07-11 20:53:26 -07:00
Kevin Serrano
d7e6b752a3 Integrate changes back into eth-balance 2016-07-11 17:44:00 -07:00
Kevin Serrano
6a61591dad Move shorten balance to util. Add as property of generateBalance object output. 2016-07-11 16:31:12 -07:00
Dan Finlay
66e079f1c7 Fix imageification of recipient 2016-07-11 15:49:13 -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
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
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
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
Dan Finlay
689bd58d81 Merged latest balance formatting code 2016-07-06 18:06:28 -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
71df05c5ff Put network status checkmarks at end of row 2016-07-01 15:04:38 -07:00
Frankie
42cd0b69e7 Implemt new account layout 2016-06-30 14:53:24 -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
441a7eec28 Add CopyButton component 2016-06-29 14:11:12 -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
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
Kevin Serrano
abcf762184 Code style fix. 2016-06-28 12:49:17 -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
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
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
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
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
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
f0e6411277 Swap out Transat font for Montserrat 2016-06-22 15:35:52 -07:00
Dan Finlay
8fde8a8921 Manually linted 2016-06-21 13:56:04 -07:00
Dan Finlay
a08c3bc01b Auto linted 2016-06-21 13:18:32 -07:00
Dan Finlay
281ed1c2bb Fix tx approval address formatting 2016-06-16 18:37:39 -07: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
Frankie
e9208be096 Size export confirmation input 2016-06-12 13:36:34 -04:00
Frankie
7d8bf31e82 Fix edit text
and edit label alighment
2016-06-12 12:38:51 -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
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
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
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
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
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
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
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
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
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
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
kumavis
6ae0a90d7b ui - redesign - ether amount component 2016-05-18 13:41:08 -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
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
3d696420b7 clean - remove logging from tx list 2016-05-13 14:45:17 -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
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
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
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
9360e33510 Convert icons to identicons 2016-04-29 12:45:46 -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
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
7455a0fa32 Improve transaction list title 2016-04-19 19:10: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
c858b70585 Moved transaction-list into its own component 2016-04-19 15:07:15 -07:00
Dan Finlay
d814a45dff Moved UI into repo with its own dependency stack 2016-04-13 15:28:44 -07:00