1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #723 from MetaMask/i721-ScrollAccountList

I721 scroll account list
This commit is contained in:
Frankie 2016-10-11 16:18:37 -07:00 committed by GitHub
commit d67a5031c7
4 changed files with 69 additions and 34 deletions

View File

@ -7,6 +7,7 @@
- Fix bug where log queries were filtered out. - Fix bug where log queries were filtered out.
- Decreased vault confirmation button font size to help some Linux users who could not see it. - Decreased vault confirmation button font size to help some Linux users who could not see it.
- Made popup a little taller because it would sometimes cut off buttons. - Made popup a little taller because it would sometimes cut off buttons.
- Fix bug where long account lists would get scrunched instead of scrolling.
- Add legal information to relevant pages. - Add legal information to relevant pages.
- Rename UI elements to be more consistent with one another. - Rename UI elements to be more consistent with one another.
- Updated Terms of Service and Usage. - Updated Terms of Service and Usage.

File diff suppressed because one or more lines are too long

View File

@ -2,67 +2,104 @@
"metamask": { "metamask": {
"isInitialized": true, "isInitialized": true,
"isUnlocked": true, "isUnlocked": true,
"currentDomain": "example.com", "isEthConfirmed": true,
"rpcTarget": "https://rawtestrpc.metamask.io/", "rpcTarget": "https://rawtestrpc.metamask.io/",
"identities": { "identities": {
"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": { "0x0abdd95cafcabec9b3e99dcd09fc4b441037cb80": {
"name": "Wallet 1", "name": "Wallet 1",
"address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc", "address": "0x0abdd95cafcabec9b3e99dcd09fc4b441037cb80",
"mayBeFauceting": false "mayBeFauceting": false
}, },
"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": { "0xc4692812f03d96edf4ac88c9d08106222578407b": {
"name": "Wallet 2", "name": "Wallet 2",
"address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b", "address": "0xc4692812f03d96edf4ac88c9d08106222578407b",
"mayBeFauceting": false "mayBeFauceting": false
}, },
"0xeb9e64b93097bc15f01f13eae97015c57ab64823": { "0x1abda824194d3583509c97e6faefd575e194844d": {
"name": "Wallet 3", "name": "Wallet 3",
"address": "0xeb9e64b93097bc15f01f13eae97015c57ab64823", "address": "0x1abda824194d3583509c97e6faefd575e194844d",
"mayBeFauceting": false "mayBeFauceting": false
}, },
"0x704107d04affddd9b66ab9de3dd7b095852e9b69": { "0xa7ea108f933abe81ddafc0b2279b1d828dd0e8d6": {
"name": "Wallet 4", "name": "Wallet 4",
"address": "0x704107d04affddd9b66ab9de3dd7b095852e9b69", "address": "0xa7ea108f933abe81ddafc0b2279b1d828dd0e8d6",
"mayBeFauceting": false
},
"0xab64bed4528feed6a85ab3f3da91479954da9e46": {
"name": "Wallet 5",
"address": "0xab64bed4528feed6a85ab3f3da91479954da9e46",
"mayBeFauceting": false
},
"0x69e90083dabd9acc9ea6d706eb6dccf245ae4d6b": {
"name": "Wallet 6",
"address": "0x69e90083dabd9acc9ea6d706eb6dccf245ae4d6b",
"mayBeFauceting": false
},
"0xebcc86684ef70e0ec3ad85f996b22e1bdad2d024": {
"name": "Wallet 7",
"address": "0xebcc86684ef70e0ec3ad85f996b22e1bdad2d024",
"mayBeFauceting": false "mayBeFauceting": false
} }
}, },
"unconfTxs": {}, "unconfTxs": {},
"currentFiat": "USD",
"conversionRate": 11.84461814,
"conversionDate": 1476226414,
"accounts": { "accounts": {
"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": { "0x0abdd95cafcabec9b3e99dcd09fc4b441037cb80": {
"balance": "0x100000000000000", "balance": "0x0de0b6b3a7640000",
"nonce": "0x0", "nonce": "0x100000",
"code": "0x", "code": "0x",
"address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc" "address": "0x0abdd95cafcabec9b3e99dcd09fc4b441037cb80"
}, },
"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": { "0xc4692812f03d96edf4ac88c9d08106222578407b": {
"balance": "0x100000000000000", "balance": "0x00",
"nonce": "0x0", "nonce": "0x100000",
"code": "0x", "code": "0x",
"address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b" "address": "0xc4692812f03d96edf4ac88c9d08106222578407b"
}, },
"0xeb9e64b93097bc15f01f13eae97015c57ab64823": { "0x1abda824194d3583509c97e6faefd575e194844d": {
"balance": "0x100000000000", "balance": "0x00",
"nonce": "0x0", "nonce": "0x100000",
"code": "0x", "code": "0x",
"address": "0xeb9e64b93097bc15f01f13eae97015c57ab64823" "address": "0x1abda824194d3583509c97e6faefd575e194844d"
}, },
"0x704107d04affddd9b66ab9de3dd7b095852e9b69": { "0xa7ea108f933abe81ddafc0b2279b1d828dd0e8d6": {
"balance": "0x100000000000", "balance": "0x00",
"nonce": "0x100000",
"code": "0x", "code": "0x",
"nonce": "0x0", "address": "0xa7ea108f933abe81ddafc0b2279b1d828dd0e8d6"
"address": "0x704107d04affddd9b66ab9de3dd7b095852e9b69" },
"0xab64bed4528feed6a85ab3f3da91479954da9e46": {
"balance": "0x00",
"nonce": "0x100000",
"code": "0x",
"address": "0xab64bed4528feed6a85ab3f3da91479954da9e46"
},
"0x69e90083dabd9acc9ea6d706eb6dccf245ae4d6b": {
"balance": "0x00",
"nonce": "0x100000",
"code": "0x",
"address": "0x69e90083dabd9acc9ea6d706eb6dccf245ae4d6b"
},
"0xebcc86684ef70e0ec3ad85f996b22e1bdad2d024": {
"balance": "0x00",
"nonce": "0x100000",
"code": "0x",
"address": "0xebcc86684ef70e0ec3ad85f996b22e1bdad2d024"
} }
}, },
"transactions": [], "transactions": [],
"selectedAddress": "0x0abdd95cafcabec9b3e99dcd09fc4b441037cb80",
"network": "2", "network": "2",
"isConfirmed": true, "isConfirmed": true,
"unconfMsgs": {}, "unconfMsgs": {},
"messages": [], "messages": [],
"shapeShiftTxList": [],
"provider": { "provider": {
"type": "testnet" "type": "testnet"
}, },
"selectedAccount": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc", "selectedAccount": "0x0abdd95cafcabec9b3e99dcd09fc4b441037cb80",
"selectedAddress": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
"seedWords": null "seedWords": null
}, },
"appState": { "appState": {
@ -71,15 +108,12 @@
"name": "accounts" "name": "accounts"
}, },
"accountDetail": { "accountDetail": {
"subview": "transactions", "subview": "transactions"
"accountExport": "none",
"privateKey": ""
}, },
"currentDomain": "extensions",
"transForward": true, "transForward": true,
"isLoading": false, "isLoading": false,
"warning": null, "warning": null,
"scrollToBottom": true "scrollToBottom": true
}, },
"identities": {} "identities": {}
} }

View File

@ -54,7 +54,7 @@ AccountsScreen.prototype.render = function () {
h('hr.horizontal-line'), h('hr.horizontal-line'),
// identity selection // identity selection
h('section.identity-section.flex-column', { h('section.identity-section', {
style: { style: {
height: '418px', height: '418px',
overflowY: 'auto', overflowY: 'auto',