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

1123 Commits

Author SHA1 Message Date
Szymon Lesisz
4da23c1db2 remove comment 2018-10-08 17:52:48 +02:00
Szymon Lesisz
5995568e19 allow "0x" prefix in transaction data
fix: #101
2018-10-08 17:51:25 +02:00
Szymon Lesisz
c1a1e89ff3 rename function 2018-10-08 17:17:05 +02:00
Szymon Lesisz
e4bb6d5d47 added texts for passphrase modals and wallet type icons 2018-10-08 17:12:23 +02:00
Szymon Lesisz
1a55f45d2d goto to dashboard page when switching wallet type 2018-10-08 15:52:24 +02:00
Szymon Lesisz
33ba41e865 added React.Fragment to Receive page 2018-10-08 13:55:59 +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
a357c7dc8c fixed flowtype in modals 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
291e771a6b new actions: request and receive wallet type 2018-10-08 13:34:03 +02:00
Szymon Lesisz
3183426137 TrezorConnect calls using new field "useEmptyPassphrase" 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
Vladimir Volek
f32c2d351d tooltip position fixed 2018-10-08 13:32:51 +02:00
Vladimir Volek
2d9f02a4e6 Tooltip refactored to sepearated component 2018-10-08 13:32:51 +02:00
Vladimir Volek
6b1aceff0e Fixed eye tooltip position 2018-10-08 13:32:51 +02:00
Vladimir Volek
9d00f423a5 Better styled tooltips in send 2018-10-08 13:32:51 +02:00
Vladimir Volek
c94ebf6a47 better style for account add tooltip 2018-10-08 13:32:51 +02:00
Vladimir Volek
54faf8c939 Add tooltips to body not content 2018-10-08 13:32:51 +02:00
Vladimir Volek
01f530f063 Split gobal styles 2018-10-08 13:32:51 +02:00
Szymon Lesisz
796db24890 added change log and pgp signature to InstallBridge 2018-10-05 09:46:11 +02:00
Szymon Lesisz
be34d85fdd removed comments 2018-10-05 09:26:49 +02:00
Szymon Lesisz
6addcb6cde added changelog to InstallBridge + render "cancel" conditionally 2018-10-05 09:24:36 +02:00
Szymon Lesisz
3512c271e2 FirmwareUpdate: notification button click + "cancel" action conditionally 2018-10-05 09:03:51 +02:00
Szymon Lesisz
0c36ad96bf enable App/UpdateFirmware notification 2018-10-04 23:06:40 +02:00
Szymon Lesisz
3ddce5b5d1 enable App/Offline notification 2018-10-04 23:06:40 +02:00
Szymon Lesisz
a4788d95fb refactor using device.mode and device.firmware 2018-10-04 23:06:40 +02:00
Szymon Lesisz
39e1714280 update main flowtype 2018-10-04 23:06:40 +02:00
Szymon Lesisz
0b4bcfdd45 update utils 2018-10-04 23:06:40 +02:00
Szymon Lesisz
33e326a8f2 gotoBridgeUpdate link 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
d5bf7e1ee9 added app notifications 2018-10-04 23:06:39 +02:00
Vladimir Volek
660f8ee69a Fixed fonts 2018-10-04 17:01:38 +02:00
Vladimir Volek
192b595a81
Merge pull request #118 from trezor/fix/discovery
Refactoring/discovery
2018-10-04 16:30:58 +02:00
Vladimir Volek
73c67d3d83 Fixed removed function in key 2018-10-04 15:54:56 +02:00
Vladimir Volek
8d9d459553 Put back urls 2018-10-04 15:54:56 +02:00
Vladimir Volek
fdfd368bac Changed folder structure in accounts 2018-10-04 13:44:09 +02:00
Szymon Lesisz
06f2a5b264
Merge pull request #85 from trezor/adjust-style
Adjust style according to guidelines first part
2018-10-04 13:02:55 +02:00
Szymon Lesisz
7ad2ca62a3 "addAccount" called from DiscoveryActions 2018-10-04 10:51:55 +02:00
Szymon Lesisz
d07d078d92 DiscoveryAction refactoring 2018-10-04 10:51:33 +02:00
Szymon Lesisz
b4f6771544 SelectedAccountActions fix
+ ignore ACCOUNT.DISPOSE action in "observe"
+ if discovery is interrupted display proper Account notification
2018-10-04 10:51:06 +02:00
Szymon Lesisz
4354e494c4 remove DiscoveryActions from TrezorConnectActions 2018-10-04 10:49:52 +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
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
49f0d089ac
Merge pull request #70 from trezor/fix-left-navigation-bootloader
fix: LeftNavigation+device in bootloader mode
2018-10-03 19:14:13 +02:00
Szymon Lesisz
12dab6e3bc add route to FirmwareUpdate page 2018-10-03 19:08:55 +02:00
Vladimir Volek
9d7161a294 Added firmware update page 2018-10-03 19:08:55 +02:00
Szymon Lesisz
15ed36f2b5 AccountSummary added React.Fragment 2018-10-03 18:47:43 +02:00
Szymon Lesisz
200c0ea4cf AccountSend remove unused Wrapper 2018-10-03 18:45:31 +02:00
Szymon Lesisz
08c879fedf AccountReceive remove unused Wrapper 2018-10-03 18:43:48 +02:00
Szymon Lesisz
2954300367 fix for AccountReceive component 2018-10-03 18:40:24 +02:00
Szymon Lesisz
1c14e1057f fixing SendForm 2018-10-03 17:59:08 +02:00
Szymon Lesisz
8229317ccf removed <SelectedAccount> from components 2018-10-03 17:39:23 +02:00
Vladimir Volek
b6843d0ad0 Put back folder structure 2018-10-03 17:30:33 +02:00
Vladimir Volek
ad553e436a merge 2018-10-03 15:53:23 +02:00
Vladimir Volek
e0f3bb4477 Fixed bootloader menu 2018-10-03 15:50:24 +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
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
Vasek Mlejnsky
0a5ce4351c Style fix 2018-09-24 14:11:11 +02:00
Vasek Mlejnsky
46421270bc Show current token balance 2018-09-24 14:06:14 +02:00
Vasek Mlejnsky
ba5996e3cf Fix icon margin in input 2018-09-24 11:43:34 +02:00
Vasek Mlejnsky
7d4ca8eeed Change textarea style based on its state prop 2018-09-24 11:37:51 +02:00
Vasek Mlejnsky
34a02ee537 Add text under "Gas limit" input showing that gas limit is being recalculated 2018-09-24 10:46:33 +02:00
Vasek Mlejnsky
e1c1c5c9fc Minor spacing change 2018-09-24 10:45:56 +02:00
Vasek Mlejnsky
162ddebd6c Fix AdvanceForm composition for a smaller screen width 2018-09-24 10:45:40 +02:00
Vasek Mlejnsky
86fbce53a5 Change style for disabled Textarea 2018-09-24 10:44:47 +02:00
Vasek Mlejnsky
84d71614f6 Fix import 2018-09-24 10:14:52 +02:00
Vaclav Mlejnsky
1f7a4eca5e
Merge pull request #77 from satoshilabs/fix/sendform
Fix/sendform
2018-09-24 10:13:44 +02:00
Vasek Mlejnsky
f8bcb0a357 Minor code cleanup changes 2018-09-24 10:07:44 +02:00
Szymon Lesisz
d718c0bf10 fixed incorrect css value 2018-09-23 12:59:06 +02:00
Szymon Lesisz
957e02f313 eslint 2018-09-23 09:13:32 +02:00
Szymon Lesisz
590e0ca642 eslint fixes 2018-09-23 09:13:32 +02:00
Szymon Lesisz
91f731c34e making sendform component a stateless + spliting advanced to a separate component 2018-09-23 09:13:32 +02:00
Szymon Lesisz
9f98e7dd7e observe from WalletService 2018-09-23 09:13:32 +02:00
Szymon Lesisz
6cf3cb4bdb refactoring SendFromActions 2018-09-23 09:13:32 +02:00
Szymon Lesisz
52cf4f1e8e clearing sendForm and sessionStorage references from SelectedAccountActions 2018-09-23 09:13:32 +02:00
Szymon Lesisz
1846d936e2 updated SessionStorage actions 2018-09-23 09:13:32 +02:00
Szymon Lesisz
88d2a65340 BlockchainAction "estimateGasLimit" with proxied responses 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
51253665be change blockchain/web3 "estimateGasLimit" to return string 2018-09-23 09:13:31 +02:00
Szymon Lesisz
b36b9667e4 eslint ./src/actions 2 2018-09-23 09:13:09 +02:00
Szymon Lesisz
ef235e6ab8 eslint ./src/actions 2018-09-23 08:49:43 +02:00
Szymon Lesisz
d684eec819 eslint ./src/reducers 2018-09-23 08:36:01 +02:00
Szymon Lesisz
de7e8914cb eslint ./src/services 2018-09-23 08:31:33 +02:00
Szymon Lesisz
1ea6d0be4c eslint ./src/utils 2018-09-23 08:28:12 +02:00
Vladimir Volek
65d28e2c4c Add error message for IE8 and lower 2018-09-21 16:54:02 +02:00
Vladimir Volek
976222476b
Merge branch 'master' into add-sentry-to-devel 2018-09-21 14:34:01 +02:00
Vladimir Volek
1c2a4fb3f0
Merge pull request #74 from satoshilabs/fix-multiple-same-tokens
fix: disallow adding multiple tokens of same type in AccountSummary
2018-09-21 14:12:41 +02:00
Vladimir Volek
a526232aaf
Merge pull request #73 from satoshilabs/fix-select-arrow-selection
fix: selected option wasn't visible in Select when using arrow keys
2018-09-21 14:07:28 +02:00
Vladimir Volek
ddc190d6dc
Merge pull request #69 from satoshilabs/fix/router
Fix/router
2018-09-21 14:05:19 +02:00
Szymon Lesisz
d9239495fa eslint fixes 2018-09-21 14:01:41 +02:00
Vasek Mlejnsky
896f7f8055 Fix jumping "Advanced settings" button position 2018-09-21 13:53:50 +02:00
Vaclav Mlejnsky
2f988beb05
Merge branch 'master' into fix-send-form-css 2018-09-21 13:32:37 +02:00
Szymon Lesisz
1e4a6c3c21 flowtype fix 2018-09-21 12:41:59 +02:00
Szymon Lesisz
61528af745 SelectedAccount: display notification if network is not set yet 2018-09-21 12:41:51 +02:00
Szymon Lesisz
012e222c25 share router patterns between ./src/view/index and RouteActions 2018-09-21 12:41:13 +02:00
Vladimir Volek
01952d7628
Merge branch 'master' into css-fix 2018-09-21 12:35:56 +02:00
Vladimir Volek
34e2915593
Merge pull request #62 from satoshilabs/fix/address-validation
fixed address validation
2018-09-21 12:24:14 +02:00
Vasek Mlejnsky
5e42466f99 Disallow adding tokens that are already added 2018-09-21 11:31:13 +02:00
Szymon Lesisz
3a783ce38b Merge branch 'master' into fix/router 2018-09-21 10:59:49 +02:00
Vasek Mlejnsky
a848e35b69 Fix issue when empty passphrase couldn't be submitted after checking & unchecking "Show passphrase" 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
bfe6dae0a1 Revert "Fix issue when "DeviceMenu" couldn't be closed when device was in a bootloader mode"
This reverts commit e2b6fae98e.

Accidentally pushed to the wrong branch.
2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
7a4a19e412 Fix issue when "DeviceMenu" couldn't be closed when device was in a bootloader mode 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
55c9eb3ab4 Remove console warns 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
2ff86bd6a7 Passphrase is set as password by default & add autofill feature 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
7fc4737846 Remove defualt hover color for 'Icon' 2018-09-21 10:55:30 +02:00
Vasek Mlejnsky
24737ddb22 Fix checkbox css when is checked 2018-09-21 10:55:30 +02:00
Szymon Lesisz
12755bace0 flowconfig fix for FlowWebpackPlugin 2018-09-21 10:46:50 +02:00
Vasek Mlejnsky
0d34cb2b82 Fix issue when a selected option wasn't properly indicated (CSS) when using arrow keys 2018-09-21 10:40:26 +02:00
Szymon Lesisz
ccddcc3ad3
Merge branch 'master' into add-git-revision 2018-09-21 09:24:08 +02:00
Vasek Mlejnsky
c2fc48252d Fix issue when "Advanced settings" caused the form to move down 2018-09-21 08:06:52 +02:00
Szymon Lesisz
9793d2d975 remove unnecessary type 2018-09-20 23:15:26 +02:00
Szymon Lesisz
9ecbdc5e38 refactoring RouterService 2018-09-20 23:05:48 +02:00
Szymon Lesisz
6405c13da8 move saving SessionStorage from component to SelectedAccountAction 2018-09-20 23:04:03 +02:00
Szymon Lesisz
13a9e47c73 fix for ACCOUNT.DISPOSE action called + few actions moved from RouterService 2018-09-20 20:26:58 +02:00
Szymon Lesisz
ae9b12f35d remove leftovers from RouterService 2018-09-20 20:25:34 +02:00
Szymon Lesisz
900c3961cd implement RouterActions in services and other actions 2018-09-20 18:26:45 +02:00
Szymon Lesisz
8009ec647f implement RouterActions in components 2018-09-20 18:24:51 +02:00
Szymon Lesisz
46a07b756c add RouterActions 2018-09-20 18:24:28 +02:00
Szymon Lesisz
c5b6a40eff add "unloading" flag to WalletReducer 2018-09-20 18:24:08 +02:00
Szymon Lesisz
d918f4b45a flowtype: allow middleware to use async/await + add new action type (PayloadAction) 2018-09-20 16:32:35 +02:00
Vladimir Volek
2678cf3a95 Fixed tooltip 2018-09-20 16:00:14 +02:00
Vladimir Volek
70d7c73a77
Merge branch 'master' into unit-tests 2018-09-20 14:39:37 +02:00
Vladimir Volek
c9ec9e4438 Added commit hash to footer 2018-09-20 13:56:24 +02:00
Vasek Mlejnsky
0acc7196b8 Fix inputs' state handling 2018-09-20 10:52:28 +02:00
Vasek Mlejnsky
e135e103c5 Better input bottomText handling 2018-09-20 10:44:28 +02:00
Vasek Mlejnsky
8208245e1b Fix prop validation error 2018-09-20 10:14:38 +02:00
Vasek Mlejnsky
fab3d601c6 Remove red background from tooltip 2018-09-20 09:54:04 +02:00
Vasek Mlejnsky
7f133e6bb2 Change line height in pending transaction icon 2018-09-20 09:53:29 +02:00
Vasek Mlejnsky
3202ba2f6d Fix pending transactions styling 2018-09-20 09:37:17 +02:00
Vasek Mlejnsky
5329460d89 Add default color values 2018-09-20 09:12:19 +02:00
Vasek Mlejnsky
d3da73ddc5 Add key prop 2018-09-20 09:12:05 +02:00
Szymon Lesisz
93b70c1f0a fixed address validation
added checksum validation if address contains any uppercase letter
2018-09-20 08:59:54 +02:00
Vasek Mlejnsky
6fabec6e5c Use default font family for the 'Input' component 2018-09-20 08:51:27 +02:00
Vasek Mlejnsky
11a0304481 Remove default hover color for 'Icon' 2018-09-20 08:51:10 +02:00
Vasek Mlejnsky
22e87b287b Use default font for 'Select' 2018-09-20 08:43:41 +02:00
Vasek Mlejnsky
5e85e1b0bc Fix send button overflow & "Advanced settings" button overflow 2018-09-20 08:42:04 +02:00
Vasek Mlejnsky
008708497e Fix currency selection overflow 2018-09-20 08:41:39 +02:00
Vasek Mlejnsky
8333ac94f4 Fix an input address icon overlaping text 2018-09-20 08:00:03 +02:00
Szymon Lesisz
c9b9359e70 fix for disappearing accounts balance after block is mined 2018-09-19 18:46:50 +02:00
Vladimir Volek
e12c44a34d Added local prod servers 2018-09-19 18:08:22 +02:00
Vladimir Volek
93d3ccbd3a Added separated dev build with sentry.io 2018-09-19 16:55:09 +02:00
Vladimir Volek
9bbed8d6f2 Added hover transition 2018-09-19 14:16:39 +02:00
Vladimir Volek
b851cc4770 Removed placeholder for first account 2018-09-19 13:54:29 +02:00
Vladimir Volek
b676646e3a Merge branch 'css-fix' of github.com:satoshilabs/trezor-wallet into css-fix 2018-09-19 13:16:15 +02:00
Vladimir Volek
02bae005f8 merge 2018-09-19 13:15:39 +02:00
Vladimir Volek
e9f938e522 Fixed modal overflow 2018-09-19 13:11:41 +02:00
Vladimir Volek
f3be7473a8
Merge branch 'master' into css-fix 2018-09-19 12:57:37 +02:00
Vladimir Volek
25b268e816 Fixed min width 2018-09-19 12:39:05 +02:00
Vladimir Volek
31774283c4 fix component in transition 2018-09-18 20:51:38 +02:00
Vladimir Volek
65c977aed7 Fixed slide animation 2018-09-18 18:03:00 +02:00
Szymon Lesisz
4ea7f68250 using connect test version from sisyfos.trezor.io 2018-09-18 16:43:00 +02:00
Vladimir Volek
507f80fde4
Merge pull request #25 from satoshilabs/feature/hybrid-backend
Feature/hybrid backend
2018-09-18 16:08:38 +02:00
Szymon Lesisz
0029a4c819 remove unused import 2018-09-18 15:58:15 +02:00
Szymon Lesisz
e512812eb4 unifying DiscoveryResult type with EthereumAccount from 'trezor-connect' 2018-09-18 11:27:41 +02:00
Szymon Lesisz
38669a5dfb remove ethereum-input-data-decoder package (not used for now) 2018-09-18 11:17:07 +02:00
Szymon Lesisz
d4bcf160d2 remove console.log 2018-09-18 11:12:00 +02:00
Szymon Lesisz
4c9f5468b3 cleaning up flowtype (DiscoveryResult + EthTxRequest) 2018-09-18 11:01:16 +02:00
Vladimir Volek
b3dac4b5ab Merge branch 'master' into css-fix 2018-09-17 17:13:38 +02:00
Vladimir Volek
41edcd6b7b Removed button for check device while unplugging 2018-09-17 16:50:59 +02:00
Vladimir Volek
73c94a374d Fixed checkbox hover style 2018-09-17 15:46:52 +02:00
Vladimir Volek
e867c521f7 Refactor animation handling, update react-transition 2018-09-17 14:23:57 +02:00
Vladimir Volek
ad31b445f0 Removed background from navigation body 2018-09-17 11:20:38 +02:00
Vladimir Volek
5ea44176bb Removed red background 2018-09-17 11:14:24 +02:00
Vladimir Volek
8a8d17e08e Fixed footer 2018-09-17 10:24:51 +02:00
Vladimir Volek
19e3e983de Fixed width in navigation body 2018-09-17 10:21:58 +02:00
Vladimir Volek
91f20e0dd2 Fixed dependency 2018-09-17 10:18:41 +02:00
Szymon Lesisz
892f4fe7c0 TrezorConnect BLOCKCHAIN events returns CoinInfo object 2018-09-14 16:46:17 +02:00
Szymon Lesisz
7790babb3a changed coin network field, removed "backend" field in config 2018-09-14 16:45:40 +02:00
Szymon Lesisz
ab2dddbf44 renamed blockchain constants 2018-09-14 16:44:24 +02:00
Szymon Lesisz
6740b7198d update account tokens on each block 2018-09-14 12:20:59 +02:00
Szymon Lesisz
815fba5e6b disable PromiseActions from logger 2018-09-14 12:20:39 +02:00
Szymon Lesisz
7f11e7207b remove comments 2018-09-13 19:31:32 +02:00
Szymon Lesisz
d4c9db093c updateGasPrice on block mined 2018-09-13 19:21:40 +02:00
Szymon Lesisz
8c579a1580 fix flow error 2018-09-13 19:20:44 +02:00
Vladimir Volek
4f593d9c5f Removed network utils from testing for now 2018-09-13 16:12:48 +02:00
Vladimir Volek
be90c9bef9 Fixed content-types in mock requests 2018-09-13 15:44:38 +02:00
Szymon Lesisz
f0d7de8aa1 ethereumGetAccountInfo only if there are some accounts 2018-09-13 14:51:45 +02:00
Szymon Lesisz
8884d65c8f removed unused action 2018-09-13 14:43:02 +02:00
Szymon Lesisz
67eadc332d added blockchain connect Notification 2018-09-13 14:41:06 +02:00
Szymon Lesisz
1379a2e745 update actions and reducers 2018-09-13 14:40:41 +02:00
Szymon Lesisz
e4552b0998 update web3 flowtype 2018-09-13 14:39:08 +02:00
Szymon Lesisz
9293a33b57 update constants 2018-09-13 14:38:52 +02:00
Vladimir Volek
fc9adc95a4 Added more tests 2018-09-13 13:34:31 +02:00
Vladimir Volek
2cfb955e62 Added tests for network utils 2018-09-13 13:08:25 +02:00
Szymon Lesisz
e2f397d241 local build TrezorConnect endpoint 2018-09-13 09:32:41 +02:00
Vladimir Volek
bd86bb22f9 Errors from stylelint as warnings, fixed jest mock 2018-09-12 17:12:52 +02:00
Szymon Lesisz
6354332e40 fixed conflicts after merge 2018-09-12 16:59:31 +02:00
Vladimir Volek
a8cf778e23 Fixed undefined in test suite 2018-09-12 16:43:08 +02:00
Vladimir Volek
56f5790cc0 Added webpack flwo plugin, fixed missing dep 2018-09-12 16:40:59 +02:00
Szymon Lesisz
a6ac8239f0 before merge 2018-09-12 16:37:57 +02:00
Szymon Lesisz
26978fe984 web3 actions splitted to blockchain actions 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
afc6135f09 fix: account summary default view 2018-09-12 16:31:59 +02:00
Szymon Lesisz
5babe75cda update flowtype 2018-09-12 16:31:59 +02:00