1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-30 19:00:53 +00:00
Commit Graph

1272 Commits

Author SHA1 Message Date
Szymon Lesisz
a58644f8ec Load tokens only is exists in config 2018-12-05 09:24:47 +01:00
Szymon Lesisz
c6ce9a94d7 DiscoveryReducer: HDKey only for ethereum 2018-12-05 09:24:47 +01:00
Szymon Lesisz
25130ce282 add xrp to config 2018-12-05 09:24:47 +01:00
Szymon Lesisz
d20ebdb71d Merge branch 'master' into sign/verify 2018-12-04 18:52:53 +01:00
Szymon Lesisz
187e462ba9 nitpick: change ampersand 2018-12-04 17:53:19 +01:00
Szymon Lesisz
bdc8eb070e nitpick: remove unnecessary flowtype 2018-12-04 17:48:38 +01:00
Szymon Lesisz
a0ff803c1d nitpick: rename signVerifyReducer to signVerify 2018-12-04 17:48:05 +01:00
Vladimir Volek
654fb9603b Merge branch 'sign/verify' of github.com:satoshilabs/trezor-wallet into sign/verify 2018-11-27 17:12:37 +01:00
Vladimir Volek
bf3dd1cfde Fix validation on send 2018-11-27 17:11:46 +01:00
Szymon Lesisz
6be0ae37ea passphrase modal fix 2018-11-23 17:36:06 +01:00
Vladimir Volek
0194184d5d
Merge branch 'master' into sign/verify 2018-11-22 17:26:46 +01:00
Vladimir Volek
ea3ad58d48 Fixed props in input and textarea 2018-11-22 17:15:07 +01:00
Vladimir Volek
d62a914824 Turn off autocomplete - fix 2018-11-22 16:33:32 +01:00
Vladimir Volek
041c3ac422 Revert "Turn off autocomplete"
This reverts commit 8127a1a105.
2018-11-22 16:25:03 +01:00
Vladimir Volek
9e5a1706a9 Merge branch 'sign/verify' of github.com:satoshilabs/trezor-wallet into sign/verify 2018-11-22 16:19:33 +01:00
Vladimir Volek
0652f5a4b3 merge 2018-11-22 16:19:18 +01:00
Vladimir Volek
8127a1a105 Turn off autocomplete 2018-11-22 16:16:05 +01:00
Szymon Lesisz
a2e3d4eb1f add token message 2018-11-22 16:14:21 +01:00
Szymon Lesisz
5cf996f000 clear SignVerifyReducer on ACCOUNT.DISPOSE action 2018-11-22 15:35:25 +01:00
Szymon Lesisz
bbcf2cf70c remove console.log 2018-11-22 15:31:17 +01:00
Vladimir Volek
e9a60afa0f merge 2 2018-11-22 15:19:44 +01:00
Vladimir Volek
851c7f23cb merge 2018-11-22 15:15:29 +01:00
Vladimir Volek
35b97f9114
Merge pull request #252 from trezor/fix/validate-token-in-send-draft
token existence validation
2018-11-22 15:08:57 +01:00
Szymon Lesisz
d26d354fbd autoSelect props in Input component 2018-11-22 15:01:45 +01:00
Vladimir Volek
f5537ca513 fix flow 3 2018-11-22 14:41:11 +01:00
Vladimir Volek
22adf7fac1 fix flow 2 2018-11-22 14:34:11 +01:00
Vladimir Volek
68d3bbb738 Fix flow 2018-11-22 14:20:37 +01:00
Szymon Lesisz
556b2be84f cleaning up SelectedAccountActions + add default loading case 2018-11-22 14:19:48 +01:00
Vladimir Volek
04946b5f06 Do no render loader and notification together 2018-11-22 14:19:48 +01:00
Vladimir Volek
f53726c451 Added missing case 2018-11-22 14:19:48 +01:00
Vladimir Volek
827e5f14fa Separate notifications and loader 2018-11-22 14:19:48 +01:00
Vladimir Volek
c3bb0899c9 Fix flow 2018-11-22 14:19:48 +01:00
Vladimir Volek
5c93a899cb Fixed row 2018-11-22 14:19:48 +01:00
Vladimir Volek
c5a9c8fdb7 Added messages to loading, added more cases 2018-11-22 14:19:48 +01:00
Vladimir Volek
7b7eb5350d Added loader for all accounts views 2018-11-22 14:19:48 +01:00
Vladimir Volek
e28576e19e Added loading state for content 2018-11-22 14:19:48 +01:00
Vladimir Volek
43906f505c Add clear actions 2018-11-21 19:32:28 +01:00
Vladimir Volek
e41cc22e3b Move values to redux 2018-11-21 19:19:14 +01:00
Vladimir Volek
93000adf9e Added touched option for inputs 2018-11-21 16:36:53 +01:00
Szymon Lesisz
2a7d5394db token existence validation 2018-11-21 16:24:22 +01:00
Szymon Lesisz
9437cb25e8 eslint: remove unused var 2018-11-21 14:47:15 +01:00
Szymon Lesisz
09c02160ea fix flowtype warning (default export in actions) 2018-11-21 14:47:04 +01:00
Szymon Lesisz
4589bb9171 showDefaultGasLimitButton condition 2018-11-21 14:35:30 +01:00
Szymon Lesisz
a944b9287e SendFormActions: setDefaultGesLimit - token or coin value fix 2018-11-21 14:35:30 +01:00
Vladimir Volek
fc50202f6a Added action 2018-11-21 14:35:30 +01:00
Vladimir Volek
4b55bde476 Added button 2018-11-21 14:35:30 +01:00
Vladimir Volek
b151c9715b Fixed link dom props 2018-11-21 14:28:26 +01:00
Vladimir Volek
3b374e424e Unify labels in section 2018-11-18 18:28:53 +01:00
Vladimir Volek
8ed59317c7 Simplify actions with modals 2018-11-18 17:35:47 +01:00
Vladimir Volek
f738d0be9c Added loader to sign and verify 2018-11-15 17:48:55 +01:00
Vladimir Volek
d8762ec76f Merge branch 'feature/accounts-loader' into sign/verify 2018-11-15 17:44:44 +01:00
Vladimir Volek
6c2ae9c1be Fix flow 2018-11-15 17:44:21 +01:00
Vladimir Volek
0999c99432 Added icon 2018-11-15 17:04:17 +01:00
Vladimir Volek
6a9371fa2b Fix confirm on device 2018-11-15 16:34:28 +01:00
Vladimir Volek
f93eb3bebd Fix flow 2018-11-15 16:19:04 +01:00
Vladimir Volek
3d8991bac3 Removed link from landing footer 2018-11-12 20:33:07 +01:00
Vladimir Volek
682a1ff8cf Add link for coingecko api 2018-11-12 18:11:48 +01:00
Szymon Lesisz
80158d60c6 add readOnly property to Input component 2018-11-12 17:54:03 +01:00
Szymon Lesisz
b9b7d2d076 fixed link to "old wallet" and copy in FirmwareUpdate page 2018-11-12 17:30:47 +01:00
Szymon Lesisz
d3093313d6 fix fiat rate value in reducer 2018-11-12 12:39:24 +01:00
Vladimir Volek
8e13b49d2e Review implemented 2018-11-12 10:36:40 +01:00
Vladimir Volek
9844983e09 renamed service 2018-11-07 17:44:57 +01:00
Vladimir Volek
18f82f1453 Fix flow 2018-11-07 17:43:18 +01:00
Vladimir Volek
eaede07068 Propagate rate to ui 2018-11-07 17:14:06 +01:00
Vladimir Volek
9498a4effa Added coingecko api 2018-11-07 14:31:42 +01:00
Vladimir Volek
63a296808b Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-11-06 16:13:13 +01:00
Vladimir Volek
76b66c348c Fixed browser select crash 2018-11-06 16:13:07 +01:00
Vladimir Volek
615d8b2f58 Changed case image 2018-11-06 15:12:57 +01:00
Szymon Lesisz
bc6b47eb62 fix utils tests: notification.test 2018-11-06 14:23:37 +01:00
Vladimir Volek
f3024e1abb Added DigiByte link to menu 2018-11-06 14:13:03 +01:00
Vladimir Volek
72b5120bbc Added image preloader 2018-11-06 14:08:25 +01:00
Vladimir Volek
a114b47b77 Fix eslint 2018-11-05 18:07:04 +01:00
Vladimir Volek
c6a04f2648 Removed logs 2018-11-05 17:56:11 +01:00
Vladimir Volek
8c24bcf9f3 Fixed typo 2018-11-05 17:54:58 +01:00
Vladimir Volek
dd6117b008 Confirm moved to modals 2018-11-05 17:54:07 +01:00
Vladimir Volek
68a8307b49 Added progress action for verify 2018-11-05 17:10:09 +01:00
Vladimir Volek
bc0238403b Add trezor action to textarea 2018-11-05 16:45:45 +01:00
Vladimir Volek
12f094a595 Refactor trezor action 2018-11-05 15:13:22 +01:00
Vladimir Volek
53f7a8ecef merge 2018-11-05 14:57:23 +01:00
Vladimir Volek
f1484484df No newlines in menu link 2018-11-05 14:45:17 +01:00
Vladimir Volek
83e46bd012 Fixed row 2018-11-05 12:12:26 +01:00
Vladimir Volek
53ca124a55 Added messages to loading, added more cases 2018-11-05 12:07:32 +01:00
Vladimir Volek
31889270a0 Implemented review 2018-11-02 16:38:27 +01:00
Vladimir Volek
cc18d18e4c
Merge pull request #230 from trezor/fix/wallet-type-empty-passphrase
Fix/wallet type empty passphrase
2018-11-02 16:18:57 +01:00
Vladimir Volek
cd53be7d39
Merge pull request #228 from trezor/feature/seedless-device
Feature/seedless device
2018-11-02 13:22:57 +01:00
Szymon Lesisz
9215cb0fe8 eslint + flowtype fixes 2018-11-01 18:53:35 +01:00
Vladimir Volek
5fbd4a3291 Add loading state for notification button 2018-11-01 18:53:35 +01:00
Szymon Lesisz
474871d375 wallet type from passphrase modal
- added new action "CONNECT.UPDATE_WALLET_TYPE" to update DeviceReducer
- pass device straight from action getState() instead of param of this action
- replace switch with if
2018-11-01 18:47:44 +01:00
Szymon Lesisz
bdf1a1d409 add seedless view 2018-11-01 10:53:56 +01:00
Vladimir Volek
90c0dd1276 Added loader for all accounts views 2018-10-31 12:55:29 +01:00
Vladimir Volek
a1cf6cc296 Fixed passphrase checkbox 2018-10-31 12:52:33 +01:00
Szymon Lesisz
ade65a222b eslint + flowtype fixes 2018-10-31 12:51:35 +01:00
Vladimir Volek
8030aa71b1 Added loading state for content 2018-10-31 12:31:43 +01:00
Vladimir Volek
ea391a2a00 Fixed eslint 2018-10-31 11:35:37 +01:00
Vladimir Volek
347767de3d Fixed icon hover and tooltip 2018-10-31 11:35:37 +01:00
Vladimir Volek
b87386a6b1 Added trezor action for input 2018-10-31 11:35:37 +01:00
Vladimir Volek
d682833aa3 Make initial layout responsive 2018-10-31 11:35:37 +01:00
Vladimir Volek
5aaadade36 Refactored to input 2018-10-31 11:35:37 +01:00
Vladimir Volek
42fa20664a fix height and eslint 2018-10-31 11:18:36 +01:00
Vladimir Volek
7fca224159 better log format 2018-10-31 11:18:36 +01:00
Vladimir Volek
2b5c932d89 root -> trezor-wallet-root 2018-10-30 13:26:00 +01:00
Vladimir Volek
cc8a21947f Add loading state for notification button 2018-10-26 16:48:12 +02:00
Vladimir Volek
434c86dc8c merge 2018-10-25 17:32:39 +02:00
Szymon Lesisz
20c503c164 redirect to initial url after acquiring device
1. try to redirect after DEVICE.CONNECT event
2. clear initial url when redirection is done
2018-10-25 17:05:02 +02:00
Vladimir Volek
835906bf96 FIxed icon overflow 2018-10-25 11:58:32 +02:00
Szymon Lesisz
d91a043967 update old-wallet urls 2018-10-24 14:50:28 +02:00
Vladimir Volek
2ff10255bd fix eslint 2018-10-23 11:30:53 +02:00
Vladimir Volek
2aec5b65f6
Merge pull request #208 from trezor/fix/localstorage-prefix
Fix/localstorage prefix
2018-10-23 11:21:29 +02:00
Szymon Lesisz
95623474aa quickfix: deviceUtils test add missing "type" field + update ethUtils snapshot 2018-10-22 17:22:04 +02:00
Vladimir Volek
a40429f345
Merge pull request #207 from trezor/fix/discovery-status
discovery status css fix
2018-10-22 17:13:19 +02:00
Vladimir Volek
5792a1c03d
Merge pull request #209 from trezor/fix/topnavigation-indicator
fix for indicator first render
2018-10-22 15:24:07 +02:00
Szymon Lesisz
3347c54cff quickfix: deviceUtils test "transport.version" fix
"version" should a be a string not an array
2018-10-22 13:46:15 +02:00
Szymon Lesisz
b48b197003 quickfix: ethUtils test "sanitizeHex" fix
sanitizeHex expects only strings
2018-10-22 13:31:10 +02:00
Szymon Lesisz
16f830ff9d fix for indicator first render 2018-10-22 10:07:00 +02:00
Szymon Lesisz
0c61bcb08d local storage prefix
- common prefix for localstorage and sessionstorage
- code refactoring
2018-10-22 10:04:19 +02:00
Szymon Lesisz
a534830dff discovery status css fix
- DiscoveryStatusWrapper css fix (wodth 100%)
- rewriten first condition
2018-10-22 10:02:30 +02:00
Vladimir Volek
dca466ed8a Fixed underline 2018-10-22 10:00:33 +02:00
Vladimir Volek
bed5932498 Fixed eslint and flow 2018-10-21 16:07:07 +02:00
Vladimir Volek
235f5cbdc3 Fixed some eslint and flow 2018-10-20 12:12:29 +02:00
Vladimir Volek
35ce9b6a1d Refactor sign input 2018-10-20 02:11:24 +02:00
Vladimir Volek
6a40191e61 Added address validation 2018-10-20 02:01:57 +02:00
Vladimir Volek
739339b53e Textare max size 2018-10-20 01:19:59 +02:00
Vladimir Volek
7ecfdb7ec2 Pass passphrase to request 2018-10-20 01:12:17 +02:00
Vladimir Volek
07f9fc30f9 Added success case for verify 2018-10-20 01:05:19 +02:00
Vladimir Volek
9503d1e415 Added progres sign additional message 2018-10-20 00:57:16 +02:00
Vladimir Volek
d1ef608c0e Textarea added trezor action prop, use textarea higligh while confirm 2018-10-20 00:22:07 +02:00
Szymon Lesisz
cb30af097f changed bridge installation package domain 2018-10-19 16:03:58 +02:00
Szymon Lesisz
46acf38364 flowtype fix for Account/Summary 2018-10-19 13:37:15 +02:00
Szymon Lesisz
81aa4e108b change meta tags in index.html 2018-10-19 13:32:59 +02:00
Szymon Lesisz
2aed4ba4f7 Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-10-19 13:24:05 +02:00
Vladimir Volek
fa5fbf8903 Better account title 2018-10-19 13:23:21 +02:00
Szymon Lesisz
d2d184773d quickfix: remove unnecessary condition from ModalReducer
TrezorConnect will emit UI.CLOSE_UI_WINDOW which will close modal window
2018-10-19 13:21:55 +02:00
Vladimir Volek
a31301a9f5 merge 2018-10-19 12:04:13 +02:00
Vladimir Volek
954ad18f8e Clear for signature 2018-10-19 00:55:16 +02:00
Vladimir Volek
50176ebbdf Added clear option 2018-10-18 14:33:17 +02:00
Vladimir Volek
18a424c214 Simplify input values, added verify 2018-10-18 14:18:48 +02:00
Szymon Lesisz
22708cc088 changed old-wallet links to relative levelup 2018-10-18 14:18:39 +02:00
Szymon Lesisz
6ad65dd6f1 SendForm eslint fix 2018-10-18 14:18:10 +02:00
Szymon Lesisz
835d172483 quickfix: update token balance on token added 2018-10-18 14:17:52 +02:00
Szymon Lesisz
a9883727f3 quickfix: SendForm currency select value 2018-10-18 13:28:35 +02:00
Szymon Lesisz
9422afa673 Merge branch 'master' into fix/beta-disclaimer 2018-10-18 11:24:58 +02:00
Vladimir Volek
b89a825077 Added sign response, style 2018-10-17 17:57:21 +02:00
Vladimir Volek
4a809d92cf
Merge pull request #192 from trezor/fix/TopNavigationAccount-indicator
indicator fixes
2018-10-17 17:00:49 +02:00
Vladimir Volek
1ebb893487 Fix prop type for title 2018-10-17 16:59:12 +02:00
Vladimir Volek
78d2b411fb Pass path properly 2018-10-17 16:54:33 +02:00
Vladimir Volek
2fd2ef7735 Added test for notificstions 2018-10-17 12:12:09 +02:00
Szymon Lesisz
a8bae8bdb1 added beta-wallet disclaimer
- Added BetaDiscialmer component used in Landing/RootView
- refactoring LocalStorageActions (moved logic from LocalStorageService)
2018-10-17 12:09:25 +02:00
Vladimir Volek
b8b5142fc5 TREZOR -> Trezor 2018-10-17 09:58:51 +02:00
Vladimir Volek
ca460859ac Added sign action 2018-10-17 00:31:33 +02:00
Szymon Lesisz
5a686cf9df indicator fixes
- indicator animation ignored on 'resize' event
- fixed initial rendering
- working with element ref insead of document.querySelector
2018-10-16 16:15:06 +02:00
Vladimir Volek
0f544f8578 Fixed padding in account pages 2018-10-16 14:47:49 +02:00
Vladimir Volek
6461400853 Added common title components for wallet views 2018-10-16 12:58:11 +02:00
Vladimir Volek
778d08a898 Styled sign and verify section 2018-10-16 12:49:05 +02:00
Szymon Lesisz
d1eadc8033 Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-10-16 11:28:50 +02:00
Szymon Lesisz
80fa9b02d7 quickfix: Receive tab modal context condition 2018-10-16 11:28:46 +02:00
Vladimir Volek
4f49943c7a
Merge pull request #183 from trezor/fix/refactor-variables
refactor Coin > Network
2018-10-16 10:51:31 +02:00
Vladimir Volek
8753a043a7 Added urls for old wallet 2018-10-16 10:19:30 +02:00
Szymon Lesisz
3e657d6558 quickfix: StickyContainer maxScrollTop must be lower than 0 2018-10-15 17:34:56 +02:00
Szymon Lesisz
f4b51d606f quickfix: added maxScollTop to StickyContainer 2018-10-15 16:49:57 +02:00
Szymon Lesisz
ed7501c4fc refactor Coin > Network 2018-10-15 15:44:10 +02:00
Vladimir Volek
672429c62c Fixed props warning 2018-10-15 14:36:56 +02:00
Vladimir Volek
b2fec821ca Merge branch 'master' into fix/landing-refactoring 2018-10-15 13:17:46 +02:00
Vladimir Volek
77b1aa04c5 Merge branch 'master' into fix/landing-refactoring 2018-10-15 13:03:39 +02:00
Szymon Lesisz
793abf3f53 updat eLink component 2018-10-15 10:47:26 +02:00
Szymon Lesisz
5ea4ae5772 wallet settings page 2018-10-15 10:47:17 +02:00
Szymon Lesisz
651242ffcf renamed components 2018-10-15 10:46:58 +02:00
Szymon Lesisz
a36a5e9dbe added beta build 2018-10-11 18:04:25 +02:00
Vladimir Volek
8b332b4763
Merge pull request #174 from trezor/feature/modal-context
Feature/modal context
2018-10-11 15:57:05 +02:00
Szymon Lesisz
449b2923fd quickfix: Log component width 100%
100% width on LandingPage
2018-10-11 15:30:42 +02:00
Vladimir Volek
bc6ff28fe9 Added link for NEM coin 2018-10-11 15:18:30 +02:00
Szymon Lesisz
f5bf14b776 fix NotificationGroup.propTypes 2018-10-11 15:18:09 +02:00
Vladimir Volek
60b0e35b2c Reviex fix - reducer to string 2018-10-11 15:18:09 +02:00
Vladimir Volek
f2ac90c46e Review 2018-10-11 15:18:09 +02:00
Vladimir Volek
de34a8fe04 comment out test data 2018-10-11 15:18:09 +02:00
Vladimir Volek
077b6dc7fa Make notification responsive, flow fix 2018-10-11 15:18:09 +02:00
Vladimir Volek
817b333d3a notification message can be component, styles adjusted 2018-10-11 15:18:09 +02:00
Vladimir Volek
2ed673b05a Separate group notifications with border 2018-10-11 15:18:09 +02:00
Vladimir Volek
4072e9480d Fix group notification width 2018-10-11 15:18:09 +02:00
Vladimir Volek
0de30758a8 Removed unnecessary component 2018-10-11 15:05:14 +02:00
Vladimir Volek
0dab0d36b3 better icon position 2018-10-11 13:38:27 +02:00
Vladimir Volek
5ec50dd4c7 Fixed icon position 2018-10-11 13:38:27 +02:00
Szymon Lesisz
42841b0b84 add externalWallet to CoinMenu 2018-10-11 13:27:32 +02:00
Szymon Lesisz
a9246c0c06 NemWallet component 2018-10-11 13:27:15 +02:00
Szymon Lesisz
5eb5e3f774 close modal on DEVICE.CONNECT action 2018-10-11 13:07:58 +02:00
Szymon Lesisz
337eacd1d2 fixed deviceUtils.isSelectedDevice 2018-10-11 13:07:29 +02:00
Szymon Lesisz
eab3bde184 Link component: target parameter 2018-10-11 13:06:51 +02:00
Szymon Lesisz
e59c9ec714 refacotred modals components 2018-10-11 13:06:16 +02:00
Szymon Lesisz
49ca5992fd added NemWallet component 2018-10-10 21:50:20 +02:00
Szymon Lesisz
41b78390ed add MODAL_CONTEXT
- update MODAL action constants
- ModalReducer refactoring (field "opened" replaced by "context")
- implementing "context" in all components
2018-10-10 21:27:07 +02:00
Szymon Lesisz
1637181839 update and reorder coin menu
fix: #166
2018-10-10 16:03:09 +02:00
Szymon Lesisz
233fac84b6 quickfix: expose TrezorConnect to window for development builds 2018-10-10 15:46:42 +02:00
Szymon Lesisz
6a14601ddd quickfix: COMMITHASH and LOCAL are not window variables, use flowtype declaration 2018-10-10 15:45:21 +02:00
Szymon Lesisz
c51b12906f replace React.Component by React.PureComponent 2018-10-10 14:39:42 +02:00
Vladimir Volek
37ed349dff All links adjusted according to new component 2018-10-10 14:27:09 +02:00
Vladimir Volek
14904bff99 Fixed component 2018-10-10 14:27:09 +02:00
Vladimir Volek
453cda908f Added navlink to link component 2018-10-10 14:27:09 +02:00
Szymon Lesisz
8afc949923 Add data-lpignore to input
fix: https://github.com/trezor/trezor-wallet/issues/135
2018-10-10 14:09:42 +02:00
Szymon Lesisz
845c6d381f Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-10-10 14:01:43 +02:00
Szymon Lesisz
fabcd54145 quickfix: StickyContainer footerFixed condition 2018-10-10 14:01:40 +02:00
Szymon Lesisz
600d3565f7 fix redirection to /bridge from landingpage
- allows to redirect from / to /bridge route
- fix current bridge version if transport is webusb
- RouterActions optionally verifies if requested url has "landing" prefix in ./support/routes
2018-10-10 12:12:56 +02:00