1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00
Commit Graph

873 Commits

Author SHA1 Message Date
Szymon Lesisz
469e9d6bf3 move all DiscoveryActions from TrezorConnectService to WalletService 2018-10-04 10:48:23 +02:00
Szymon Lesisz
c3c3c10350 fix selectFirstAvailableDevice
Redirect only if first available device is not currently selected
fix #117
2018-10-04 10:47:30 +02:00
Szymon Lesisz
9a8ac01dcd change selectedAccount notification title 2018-10-03 19:55:30 +02:00
Szymon Lesisz
aa96a15b16 WalletActions.observe should react to CONNECT.AUTH_DEVICE action 2018-10-03 19:54:57 +02:00
Szymon Lesisz
2cb9057d29 DeviceReducer: do not override "state" field, make new object instead 2018-10-03 19:54:22 +02:00
Szymon Lesisz
47328d3dcc Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-10-03 14:55:46 +02:00
Vladimir Volek
50c4eb3f80
Merge pull request #97 from trezor/gitlab-config
Added gitlab config
2018-10-03 14:52:08 +02:00
Szymon Lesisz
4d99577fa7 fix for "selectedAccount" observe action
added all BLOCKCHAIN events from 'trezor-connect' (example: disconnect)
and explicly SEND.TX_COMPLETE which create a pending transaction
2018-10-03 14:44:19 +02:00
Szymon Lesisz
647d196e1e fix for '0' gasPrice from web3
if i had some accounts already saved and initSendForm requested "gasPrice" from web3 which didn't exists in this moment yet, returned value was '0'.

This commit fixes that by returning defaultGasPrice instead of '0' and also initializes web3 during Backend.subscribe (before account is shown)
2018-10-03 14:42:52 +02:00
Szymon Lesisz
ac0b9508de fix for NotificationGroup missing key
real notifications (from reducer) doesn't have "key" field so it needs to be created dynamically
2018-10-03 14:39:23 +02:00
Vladimir Volek
da3e1aa878 Fixed proptypes 2018-10-03 12:22:25 +02:00
Vladimir Volek
3f5c5fdaee Switched behavior 2018-10-03 12:22:25 +02:00
Vladimir Volek
6c481e954d Fixed eslint warning 2018-10-03 12:22:25 +02:00
Vladimir Volek
2981c3bdd2 Connect actions notification with grouped notifications 2018-10-03 12:22:25 +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
9771b21093 Changed coverage report path 2018-10-03 12:11:00 +02:00
Vladimir Volek
147cf400a4 Added basic tests 2018-10-03 12:11:00 +02:00
Vladimir Volek
8e33c24875
Merge pull request #106 from trezor/fix/LeftNavigation-account-render
fix for LeftNavigation render
2018-10-02 17:46:35 +02:00
Vladimir Volek
57430c7d76
Merge pull request #111 from trezor/clickable-logo
Added clickable logo
2018-10-02 17:38:32 +02:00
Szymon Lesisz
25f41bd163 fix router actions 2018-10-02 17:33:49 +02:00
Vladimir Volek
5eca2bf4f1 Added clickable logo - redirects to / 2018-10-02 16:43:09 +02:00
Vladimir Volek
998882b50a
Update README.md 2018-10-02 16:32:46 +02:00
Vladimir Volek
e86bf6f81b
Update README.md 2018-10-02 16:30:11 +02:00
Vladimir Volek
e21cde4492
Update README.md 2018-10-02 16:29:47 +02:00
Szymon Lesisz
bfea1b225c fix for LeftNavigation render
- removed componentDidMount which resets state applied in contructor
- added animationType in constructor if location has network
2018-10-02 13:17:43 +02:00
Vladimir Volek
ca2842b6ae
Merge pull request #102 from trezor/fix/connect-initialization
Fix/connect initialization error
2018-10-02 12:18:13 +02:00
Szymon Lesisz
479486e4c9 eslint fixes 2018-10-02 10:57:17 +02:00
Szymon Lesisz
f59b9c31b1 trezor-connect iframe loading error 2018-10-02 10:21:22 +02:00
Szymon Lesisz
2e4acf3ee8 renamed "acquiring" to "acquiringDevice" in connect reducer 2018-10-02 10:05:51 +02:00
Vladimir Volek
49aa31774e
Merge pull request #89 from satoshilabs/feature/notifications
Feature/notifications
2018-10-01 16:07:30 +02:00
Vladimir Volek
4bf5f83d2a Revert "Added gitlab config"
This reverts commit 2073125805.
2018-10-01 16:07:15 +02:00
Vladimir Volek
2c2fdf4913 Better style for notifications 2018-10-01 16:07:15 +02:00
Vladimir Volek
6fbb76b165 Fixed notification style without button 2018-10-01 16:07:15 +02:00
Vladimir Volek
b7c1ef5962 Added gitlab config 2018-10-01 16:07:15 +02:00
Szymon Lesisz
740e7ef473 fixed conflicts in AccountReceive component 2018-10-01 15:44:05 +02:00
Vladimir Volek
2073125805 Added gitlab config 2018-10-01 15:12:54 +02:00
Szymon Lesisz
7083c6e0d1 add "reject" method to PendingTxActions (not implemented yet) 2018-10-01 15:10:06 +02:00
Szymon Lesisz
7375f70a18 added backend notification 2018-10-01 15:10:06 +02:00
Szymon Lesisz
9fcd81924e comment sticy notification example 2018-10-01 15:10:06 +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
61d9713b0b removed comment 2018-10-01 15:10:05 +02:00
Szymon Lesisz
b30c303d5a rename constant 2018-10-01 15:10:05 +02:00
Szymon Lesisz
5df872eec1 using React.Fragment 2018-10-01 15:10:05 +02:00
Szymon Lesisz
2804275ca9 update old components 2018-10-01 15:10:05 +02:00