1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-02 21:28:12 +00:00
Commit Graph

195 Commits

Author SHA1 Message Date
Szymon Lesisz
3774110a83 handle NOT_SUPPORTED methods in Discovery 2018-12-05 09:24:47 +01:00
Szymon Lesisz
c9eb911756 DiscoveryReducer: hdkey only in ehereum network type 2018-12-05 09:24:47 +01:00
Szymon Lesisz
0918403024 split discovery actions to coin specific files 2018-12-05 09:24:47 +01:00
Szymon Lesisz
5888dca31f flowtype: add type to Network declaration 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
a0ff803c1d nitpick: rename signVerifyReducer to signVerify 2018-12-04 17:48:05 +01:00
Vladimir Volek
bf3dd1cfde Fix validation on send 2018-11-27 17:11:46 +01:00
Szymon Lesisz
5cf996f000 clear SignVerifyReducer on ACCOUNT.DISPOSE action 2018-11-22 15:35:25 +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
68d3bbb738 Fix flow 2018-11-22 14:20:37 +01:00
Vladimir Volek
827e5f14fa Separate notifications and loader 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
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
8ed59317c7 Simplify actions with modals 2018-11-18 17:35:47 +01:00
Vladimir Volek
d8762ec76f Merge branch 'feature/accounts-loader' into sign/verify 2018-11-15 17:44:44 +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
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
c6a04f2648 Removed logs 2018-11-05 17:56:11 +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
53f7a8ecef merge 2018-11-05 14:57:23 +01:00
Vladimir Volek
53ca124a55 Added messages to loading, added more cases 2018-11-05 12:07:32 +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
Vladimir Volek
434c86dc8c merge 2018-10-25 17:32:39 +02:00
Vladimir Volek
235f5cbdc3 Fixed some eslint and flow 2018-10-20 12:12:29 +02:00
Vladimir Volek
07f9fc30f9 Added success case for verify 2018-10-20 01:05:19 +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
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
18a424c214 Simplify input values, added verify 2018-10-18 14:18:48 +02:00
Vladimir Volek
b89a825077 Added sign response, style 2018-10-17 17:57:21 +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
ca460859ac Added sign action 2018-10-17 00:31:33 +02:00
Szymon Lesisz
ed7501c4fc refactor Coin > Network 2018-10-15 15:44:10 +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
Vladimir Volek
60b0e35b2c Reviex fix - reducer to string 2018-10-11 15:18:09 +02:00
Szymon Lesisz
5eb5e3f774 close modal on DEVICE.CONNECT action 2018-10-11 13:07:58 +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
9671226036 eslint fixes 2018-10-10 10:39:59 +02:00
Szymon Lesisz
99da71c25d flowtype for Notification components 2018-10-10 09:31:26 +02:00
Vladimir Volek
ad97a5cbbd
Merge pull request #150 from trezor/feature/filter-log
Filter log
2018-10-09 17:28:17 +02:00
Szymon Lesisz
7ff2e8642d
Merge pull request #149 from trezor/eslint-fix
Fix some eslint errors
2018-10-09 16:15:00 +02:00
Szymon Lesisz
d78381106e Filter log 2018-10-09 15:36:55 +02:00
Vladimir Volek
ae729dcc46 Fixed some eslint errors 2018-10-09 15:20:57 +02:00
Szymon Lesisz
c10b8baeba remove unused action WALLET.ON_BEFORE_UNLOAD 2018-10-09 14:31:10 +02:00
Szymon Lesisz
d8331cece0 reset "remember" field while switching wallet type 2018-10-08 13:34:04 +02:00
Szymon Lesisz
d6af3d6dfa remove pendingTxs while switching between wallet types and forgeting device 2018-10-08 13:34:03 +02:00
Szymon Lesisz
0a77d0541e remove data while switchin between wallet types 2018-10-08 13:34:03 +02:00
Szymon Lesisz
14eac38246 FORGET_SILENT if disconnected device is not selected and modal is opened 2018-10-08 13:34:03 +02:00
Szymon Lesisz
cea3fe7e68 new modal "wallet type" 2018-10-08 13:34:03 +02:00
Szymon Lesisz
109c93aff8 added new field "useEmptyPassphrase" to TrezorDevice object 2018-10-08 13:34:03 +02:00
Szymon Lesisz
6addcb6cde added changelog to InstallBridge + render "cancel" conditionally 2018-10-05 09:24:36 +02:00
Szymon Lesisz
0b4bcfdd45 update utils 2018-10-04 23:06:40 +02:00
Szymon Lesisz
d8f133ad84 InstallBridge page with data from trezor-connect 2018-10-04 23:06:40 +02:00
Szymon Lesisz
130b852977 eslint fixes for DiscoveryReducer 2018-10-04 10:49:12 +02:00
Szymon Lesisz
bcb404e321 clear "selectedAccount" reducer on ACCOUNT.DISPOSE action 2018-10-04 10:48:50 +02:00
Szymon Lesisz
2cb9057d29 DeviceReducer: do not override "state" field, make new object instead 2018-10-03 19:54:22 +02:00
Vladimir Volek
8be738bf2e Removed unnecesary case, add more tests 2018-10-03 12:11:00 +02:00
Vladimir Volek
a03a8287e8 Add more test cases 2018-10-03 12:11:00 +02:00
Szymon Lesisz
29e0eb928a fix reducer utility 2018-10-03 12:11:00 +02:00
Vladimir Volek
583a0f2cf6 Make tests more readable 2018-10-03 12:11:00 +02:00
Vladimir Volek
802e8f8e32 Fixed bug in function, add more tests 2018-10-03 12:11:00 +02:00
Vladimir Volek
147cf400a4 Added basic tests 2018-10-03 12:11:00 +02:00
Szymon Lesisz
479486e4c9 eslint fixes 2018-10-02 10:57:17 +02:00
Szymon Lesisz
2e4acf3ee8 renamed "acquiring" to "acquiringDevice" in connect reducer 2018-10-02 10:05:51 +02:00
Szymon Lesisz
0fbbdf7b71 changed "observeChanges" utility method 2018-10-01 15:10:06 +02:00
Szymon Lesisz
e3816be8d2 fix for reducerUtils.observeChanges 2018-10-01 15:10:06 +02:00
Szymon Lesisz
f0e0b4fee2 rename selectedAccount.visible to shouldRender 2018-10-01 15:10:06 +02:00
Szymon Lesisz
b30c303d5a rename constant 2018-10-01 15:10:05 +02:00
Szymon Lesisz
0c0f9e7ac8 rewritten actions 2018-10-01 15:09:45 +02:00
Szymon Lesisz
6cf3cb4bdb refactoring SendFromActions 2018-09-23 09:13:32 +02:00
Szymon Lesisz
a9e811ab5b add utility to observe reducers fields change 2018-09-23 09:13:32 +02:00
Szymon Lesisz
d684eec819 eslint ./src/reducers 2018-09-23 08:36:01 +02:00
Szymon Lesisz
d9239495fa eslint fixes 2018-09-21 14:01:41 +02:00
Szymon Lesisz
1e4a6c3c21 flowtype fix 2018-09-21 12:41:59 +02:00
Szymon Lesisz
3a783ce38b Merge branch 'master' into fix/router 2018-09-21 10:59:49 +02:00
Szymon Lesisz
c5b6a40eff add "unloading" flag to WalletReducer 2018-09-20 18:24:08 +02:00
Vladimir Volek
70d7c73a77
Merge branch 'master' into unit-tests 2018-09-20 14:39:37 +02:00
Szymon Lesisz
892f4fe7c0 TrezorConnect BLOCKCHAIN events returns CoinInfo object 2018-09-14 16:46:17 +02:00
Szymon Lesisz
1379a2e745 update actions and reducers 2018-09-13 14:40:41 +02:00
Szymon Lesisz
a6ac8239f0 before merge 2018-09-12 16:37:57 +02:00
Szymon Lesisz
a913759ef4 web3 reducer (new types) 2018-09-12 16:32:28 +02:00
Szymon Lesisz
cd48bd2cc0 blockchain actions and reducer 2018-09-12 16:31:23 +02:00
Szymon Lesisz
2280633b5d removed WEB3.READY 2018-09-12 16:31:23 +02:00
Szymon Lesisz
414d0b0d01 removed web3 references 2018-09-12 16:31:23 +02:00
Vladimir Volek
1a6c90bec0 Added more unit tests - eth utils 2018-09-12 14:52:49 +02:00
Vasek Mlejnsky
58823e3a81 Fix some eslint errors 2018-09-06 17:04:28 +02:00
Vladimir Volek
288a81775d Fixed bunch of eslint errors 2018-09-05 16:41:03 +02:00
Vladimir Volek
424be08e7c Removed /js folder 2018-08-27 17:15:22 +02:00