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

860 Commits

Author SHA1 Message Date
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
72fce49516 Fixed eye icon 2018-10-03 13:04:18 +02:00
Vladimir Volek
151101a61c merge 2018-10-03 12:59:03 +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
Vasek Mlejnsky
9d9340732f Handle case when two devices are connected and one of them is used elsewhere 2018-09-27 15:59:55 +02:00
Vasek Mlejnsky
743ad2556d Add text signaling that device is in a bootloader mode 2018-09-27 15:51:33 +02:00
Vasek Mlejnsky
0b370de9a1 flow & eslint & don't show LeftNavigation accounts if device is in bootloader mode 2018-09-27 15:43:28 +02:00
Vasek Mlejnsky
d42c1df966 Forget correct device 2018-09-27 15:30:56 +02:00
Vasek Mlejnsky
1bc6fa9412 Fix broken eject icon & disable click on Header in LeftNavigation if device is in bootloader moder 2018-09-27 15:30:56 +02:00
Vasek Mlejnsky
cfda758ecb Device in bootloader mode is not selectable 2018-09-27 15:30:56 +02:00
Szymon Lesisz
cde9206f08 devicemeuni while one of devices is in bootloader/not-initialized mode 2018-09-27 15:30:56 +02:00
Vasek Mlejnsky
41ced76a48 Fix issue when "DeviceMenu" couldn't be closed when device was in a bootloader mode 2018-09-27 15:28:10 +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
Vladimir Volek
ea27662fc1 Added arrow icon 2018-09-26 23:36:43 +02:00
Vladimir Volek
ae1a40bf3e Refactored notification utils, added icon 2018-09-26 23:29:15 +02:00
Vladimir Volek
d199454485 Make header clickable 2018-09-26 23:07:47 +02:00
Vladimir Volek
8af4a487da Basic component rendering 2018-09-26 22:49:35 +02:00
Vladimir Volek
00d0fc1ccb Created basic components skeleton 2018-09-26 21:39:57 +02:00
Vladimir Volek
3ff8871629 Adjust other input heights and textarea 2018-09-26 16:59:50 +02:00
Vladimir Volek
65cb289ebf Adjust input color and height 2018-09-26 16:53:40 +02:00
Vladimir Volek
62a73b6404 Added transition for header menu 2018-09-26 16:45:23 +02:00
Vladimir Volek
7e752ace44 Added content for padding 2018-09-26 16:42:08 +02:00
Vladimir Volek
ff1cdc59e9 Added wallet container 2018-09-26 16:29:40 +02:00
Vladimir Volek
c4d851d882 removed unused images 2018-09-26 16:25:42 +02:00
Vladimir Volek
c7c346e6fc Rewrite coin logo component to use import 2018-09-26 16:22:30 +02:00
Vasek Mlejnsky
5bc9f4dbc3 Color changes 2018-09-26 15:27:57 +02:00
Vasek Mlejnsky
5a310f4e9b Change style 2018-09-26 15:22:41 +02:00
Vasek Mlejnsky
490d7375db Rewrite passphrase modal 2018-09-26 12:36:36 +02:00
Vladimir Volek
c3e984301e Fix condition 2018-09-26 12:17:54 +02:00
Vladimir Volek
8ac60bd125 Styled other wallet views 2018-09-26 12:17:19 +02:00
Vladimir Volek
c0eb30f83c Import images properly 2018-09-26 12:17:03 +02:00
Vladimir Volek
ac765c3966 Unified paddings in wallet views 2018-09-26 11:48:56 +02:00
Vladimir Volek
c4fb59af2a Pin input moved to modal 2018-09-26 10:57:30 +02:00
Vladimir Volek
573ebc1d82 Added border for footer 2018-09-26 10:52:32 +02:00
Szymon Lesisz
09b6299908 fix for calculating viewportHeight (whithout visible scrollbar height) 2018-09-25 18:08:37 +02:00
Szymon Lesisz
f3269b3eb1 Landing css: replace min-height: 100vh to 100% 2018-09-25 18:07:59 +02:00
Szymon Lesisz
f06e9b66e2 fixed css for AppWrapper 2018-09-25 16:56:30 +02:00
Vladimir Volek
16c52c05c4
Merge pull request #86 from satoshilabs/fix/LeftNavigation
fixed and refactored LeftNavigation
2018-09-25 16:41:47 +02:00
Szymon Lesisz
f9926a661c WalletService eslint (removed unused import) 2018-09-25 12:26:51 +02:00
Szymon Lesisz
68050fd580 Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-09-25 12:19:26 +02:00
Szymon Lesisz
51e65ef31f router fix
fixed #84
2018-09-25 12:19:09 +02:00
Szymon Lesisz
1d51afd0b4
Merge pull request #80 from satoshilabs/fix-missing-sendform-elements
fix: missing sendform elements
2018-09-25 12:01:17 +02:00
Szymon Lesisz
87224fa94f fixed and refacored LeftNavigation 2018-09-24 21:00:21 +02:00
Vladimir Volek
a54e3a3623 Fixed tooltip width 2018-09-24 17:15:36 +02:00
Vladimir Volek
6bd2cd6471 Fixed padding in tokens 2018-09-24 17:07:52 +02:00
Vladimir Volek
a02b9883da Style qr code, add label 2018-09-24 17:00:11 +02:00
Vladimir Volek
0ef3672a54 Added inputs and textarea in signandverify 2018-09-24 16:46:52 +02:00
Vladimir Volek
f8a947e187 Padding in accounts 2018-09-24 16:40:38 +02:00
Vladimir Volek
6199ac5ef3 Styled divider 2018-09-24 15:38:19 +02:00
Vasek Mlejnsky
1aed318741 eslint fixes 2018-09-24 15:27:18 +02:00
Vladimir Volek
1a1bfd465a Added default text color 2018-09-24 15:20:37 +02:00
Vaclav Mlejnsky
a15ae3b0ac
Merge branch 'master' into unupported-browsers 2018-09-24 15:04:23 +02:00
Vladimir Volek
0c773313e7
Merge pull request #82 from satoshilabs/feature-show-current-token-balance
feature: show current token balance
2018-09-24 14:49:48 +02:00
Vasek Mlejnsky
3cf3f9530e eslint fix 2018-09-24 14:46:13 +02:00
Vladimir Volek
055132ee54 Support error page only for IE8 and lower 2018-09-24 14:31:17 +02:00
Vladimir Volek
2a1ae00113 Style error page 2018-09-24 14:29:13 +02:00