1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00
Commit Graph

783 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Szymon Lesisz
740e7ef473 fixed conflicts in AccountReceive component 2018-10-01 15:44:05 +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
Szymon Lesisz
25083b5f19 new components 2018-10-01 15:09:45 +02:00
Szymon Lesisz
0c0f9e7ac8 rewritten actions 2018-10-01 15:09:45 +02:00
Szymon Lesisz
2d4f3e8232 fixed edgecase: handle disconnect device in BL/initialized mode OR without features 2018-10-01 13:21:58 +02:00
Vladimir Volek
badf140006
Merge pull request #92 from satoshilabs/receive-address-notification
enhancement: receive address notification
2018-09-27 14:59:51 +02:00
Vladimir Volek
2ff639fbdf
Merge pull request #88 from satoshilabs/cleanup-passphrase-code
enhancement: rewrite passphrase modal
2018-09-27 14:10:28 +02:00
Vasek Mlejnsky
65dbd943ec Tooltip border color 2018-09-27 13:31:18 +02:00
Vladimir Volek
6d9491094b Finished tooltips 2018-09-27 13:18:41 +02:00
Vladimir Volek
0130a84a2a Added read more support, gas price tooltip 2018-09-27 13:03:50 +02:00
Vladimir Volek
9e2b5ddb1e Fixed token tooltip 2018-09-27 12:37:08 +02:00
Vladimir Volek
8f819b0ce2 Style tootlips 2018-09-27 12:29:20 +02:00
Vasek Mlejnsky
fc6d7f5cc1 Add an up arrow to a notification 2018-09-27 10:52:15 +02:00
Vasek Mlejnsky
b0f1913a1d Add prop types & flow 2018-09-27 09:13:29 +02:00
Vladimir Volek
c07bcec68c Remove devel code 2018-09-26 23:43:27 +02:00