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

3468 Commits

Author SHA1 Message Date
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