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
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
Szymon Lesisz
cd48bd2cc0 blockchain actions and reducer 2018-09-12 16:31:23 +02:00
Szymon Lesisz
0b3d6ef312 removed Web3Service (unused) 2018-09-12 16:31:23 +02:00
Szymon Lesisz
408d85f19a logger is back 2018-09-12 16:31:23 +02:00
Szymon Lesisz
2280633b5d removed WEB3.READY 2018-09-12 16:31:23 +02:00
Szymon Lesisz
b5a885907b add Web3Service 2018-09-12 16:31:23 +02:00
Szymon Lesisz
414d0b0d01 removed web3 references 2018-09-12 16:31:23 +02:00
Szymon Lesisz
99da867617 fixed flow issues 2018-09-12 16:27:45 +02:00
Vladimir Volek
466a0da095 Added more tests - format utils 2018-09-12 16:01:48 +02:00
Vladimir Volek
7b22a965b6 100% coverage in eth utils 2018-09-12 14:55:12 +02:00
Vladimir Volek
1a6c90bec0 Added more unit tests - eth utils 2018-09-12 14:52:49 +02:00
Vladimir Volek
84b218ecaa Added missing device tests 2018-09-12 12:05:14 +02:00
Szymon Lesisz
397b757d1e
Merge branch 'master' into fix-menu-underline 2018-09-12 11:42:33 +02:00
Vladimir Volek
2e5d12428b Added format utils tests 2018-09-12 10:54:03 +02:00
Vladimir Volek
65192013cb cleanup 2018-09-10 18:37:34 +02:00
Vladimir Volek
c4b8adb682 Fixed sticky container - put back old classes 2018-09-10 18:35:52 +02:00
Vladimir Volek
5d29bf3b74 Added test file 2018-09-10 18:14:28 +02:00
Vladimir Volek
cd8e1a2214 Fixed header and footer using sticky 2 2018-09-10 16:38:00 +02:00
Vladimir Volek
2788355811 Fixed header and footer using sticky 2018-09-10 16:29:30 +02:00
Vladimir Volek
160210890f Better handling of menu rendering 2018-09-10 16:03:09 +02:00
Vladimir Volek
c23d91c7bf #14 Fixed menu hover effect 2018-09-10 13:07:51 +02:00
Vasek Mlejnsky
58823e3a81 Fix some eslint errors 2018-09-06 17:04:28 +02:00
Vladimir Volek
f5ddddc1fb Fixed bunch of eslitn errors 2 2018-09-05 16:52:29 +02:00
Vladimir Volek
288a81775d Fixed bunch of eslint errors 2018-09-05 16:41:03 +02:00
Vladimir Volek
6802ebdd1b Merge brancht push 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 16:36:51 +02:00
Vladimir Volek
d54a6ae658 Adjust notification styles 2018-09-05 16:36:48 +02:00
Vasek Mlejnsky
354a16f0c0 Fix some eslint errors 2018-09-05 16:17:50 +02:00
Vasek Mlejnsky
e6ba3fab92 Fix tooltip positioning & size 2018-09-05 15:26:14 +02:00
Vladimir Volek
344b783e22 t pushMerge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 14:54:28 +02:00
Vladimir Volek
b627523402 Added stylelint loader for webpack 2018-09-05 14:54:24 +02:00
Vasek Mlejnsky
09e87014f4 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 14:47:05 +02:00
Vasek Mlejnsky
a4ab2623ab Remove unused component 2018-09-05 14:46:31 +02:00
Vasek Mlejnsky
c98f95b3cd Refactorize PendingTransactions 2018-09-05 14:44:57 +02:00
Vladimir Volek
b0d56af9fd Added svg hover color, removed unused icomoon 2018-09-05 14:03:22 +02:00
Vladimir Volek
516e7f77dc Removed classNames 2018-09-05 13:36:19 +02:00
Vasek Mlejnsky
a29b13789d Fix tooltip in AccountSummary 2018-09-05 13:01:28 +02:00
Vasek Mlejnsky
8caf66e39d Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 12:52:06 +02:00
Vladimir Volek
cb0288a687 Fixed tooltip ref 2018-09-05 12:45:19 +02:00
Vasek Mlejnsky
5ec36cfd32 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 12:37:58 +02:00
Vasek Mlejnsky
6aff8ecc41 Use new Tooltip interface 2018-09-05 12:37:52 +02:00
Vladimir Volek
1ff9060ff0 Added custom container for tooltip 2018-09-05 12:20:07 +02:00
Vasek Mlejnsky
4ab8a80b41 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 11:56:55 +02:00
Vladimir Volek
8146a78f7d Added wrapper for tooltip 2018-09-05 11:56:45 +02:00
Vladimir Volek
2dcb2aea7a Fixed styleleint 2 2018-09-05 11:55:24 +02:00
Vasek Mlejnsky
08659f70f4 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 11:54:18 +02:00
Vasek Mlejnsky
f9c8324db4 Remove "<section/>" from SelectedAccount 2018-09-05 11:54:10 +02:00
Vladimir Volek
b95755601d Fixed styleleint 2018-09-05 11:54:05 +02:00
Vladimir Volek
5803c13c59 Removed less loaders 2018-09-05 11:52:38 +02:00
Vasek Mlejnsky
d28c49cb08 Use "type" instead of "className" in Notification component 2018-09-05 11:48:01 +02:00
Vladimir Volek
321b95c1ff Added tooltip component 2018-09-05 11:47:07 +02:00
Vasek Mlejnsky
cc19dfc4e0 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 11:44:07 +02:00
Vasek Mlejnsky
936daeed74 Remove unused imports & cleanup 2018-09-05 11:43:54 +02:00
Vladimir Volek
e93dc3f83d Removed most of the less, refactor 2018-09-05 11:36:50 +02:00
Vasek Mlejnsky
61b8a882f3 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-05 10:58:27 +02:00
Vasek Mlejnsky
39aff35810 Refactorize AccountSend 2018-09-05 10:57:39 +02:00
Vasek Mlejnsky
9ef8d8f618 Remove unused components 2018-09-05 10:57:24 +02:00
Vasek Mlejnsky
5984ad047f Add prop that can add elements on top of input/textarea 2018-09-05 10:57:14 +02:00
Vladimir Volek
ba1f4c523f Styled wallet view 2018-09-05 10:35:56 +02:00
Vasek Mlejnsky
bcb343deff Add Top icon 2018-09-05 10:18:01 +02:00
Vladimir Volek
003b758bfe Better favicon handling, html teamplate and package.json adjusted 2018-09-04 18:17:09 +02:00
Vladimir Volek
bc2d03a7ae Added public folder, adjust webpack to new configuration 2018-09-04 17:10:52 +02:00
Vasek Mlejnsky
3f7cf6ca27 Add styles to textarea 2018-09-04 15:54:29 +02:00
Vasek Mlejnsky
cf9cff3170 Remove icon prop from Button
- Now if you want to add icon to button you have to add it as button's child
2018-09-04 15:43:12 +02:00
Vasek Mlejnsky
01504cc2f9 Rename element 2018-09-04 14:52:02 +02:00
Vasek Mlejnsky
97eb972ca0 Make Button's children non required 2018-09-04 14:41:53 +02:00
Vasek Mlejnsky
a865abe319 Refactorize "AccountReceive" 2018-09-04 14:40:42 +02:00
Vasek Mlejnsky
c55a3e0d58 Add "EYE" and "EYE_CROSSED" icons 2018-09-04 14:18:05 +02:00
Vasek Mlejnsky
647ee89991 Add mouse+focus events to Button 2018-09-04 14:17:51 +02:00
Vasek Mlejnsky
287e7b2a1c Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-04 11:33:41 +02:00
Vasek Mlejnsky
04d49a5ca5 Delete "buttons" folder and move "Button" at the root of "components/" 2018-09-04 11:33:24 +02:00
Vasek Mlejnsky
70f4f3c6d5 Move "PinButton" into Pin's components folder 2018-09-04 11:31:15 +02:00
Vasek Mlejnsky
c8e5ba5dbd Move "NotificationButton" into Notification's components folder 2018-09-04 11:30:36 +02:00
Vasek Mlejnsky
8fc674f1b4 Add FONT_FAMILY to variables 2018-09-03 15:31:26 +02:00
Vasek Mlejnsky
89e3a987ae CSS font adjustments 2018-09-03 15:31:12 +02:00
Vasek Mlejnsky
c25c8d5bfd Change font for textarea 2018-09-03 15:30:24 +02:00
Vasek Mlejnsky
0bca353ed5 Fix prop type 2018-09-03 15:29:42 +02:00
Vasek Mlejnsky
b6195e98d8 Fix bug causing icon rotation on first visit 2018-09-03 15:29:34 +02:00
Vladimir Volek
badc700be8 Top navigation account refactored 2018-09-03 15:04:05 +02:00
Vasek Mlejnsky
34bf0ee17c Fix typo and unused prop 2018-09-03 12:46:04 +02:00
Vasek Mlejnsky
0a67ea3038 Add an option to position button's icon left or right 2018-09-03 10:50:23 +02:00
Vasek Mlejnsky
7dd16dc6ae Code cleanup 2018-09-03 10:50:03 +02:00
Vasek Mlejnsky
d3881620b8 Add disable state for Input 2018-09-03 10:49:38 +02:00
Vasek Mlejnsky
38d42cd1c5 Add disable state for Select 2018-09-03 10:49:07 +02:00
Vasek Mlejnsky
dfb4473bcc Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-09-03 08:58:26 +02:00
Vladimir Volek
c32fc2dc6a Removed unused classnames 2018-08-31 22:51:17 +02:00
Vladimir Volek
7430d61254 Finished modal refactor 2018-08-31 22:35:21 +02:00
Vladimir Volek
4ec97ad003 Fixed passphrase modal after delete of global styles 2018-08-31 22:26:28 +02:00
Vladimir Volek
72d45a0c86 Removed modal less, refactored 2018-08-31 22:17:33 +02:00
Vladimir Volek
fc659db337 Refactored send confirm dialog 2018-08-31 21:23:29 +02:00
Vladimir Volek
37d7f06aed Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-31 18:58:09 +02:00
Vladimir Volek
0c4ce2a850 Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-31 18:57:45 +02:00
Vladimir Volek
ef6eef9cfc Added checkbox component 2018-08-31 18:57:28 +02:00
Vladimir Volek
ec1b25d760 Pin modal refactored 2018-08-31 17:57:37 +02:00
Vladimir Volek
8f9a26caaa Fixed syntax error 2018-08-31 14:05:32 +02:00
Vladimir Volek
e1097b3fcc Adjust jsx templtes to new components 2018-08-31 13:58:19 +02:00
Vladimir Volek
ca02764f68 Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-31 13:50:55 +02:00
Vasek Mlejnsky
aa97f417e6 Change spacing for button's icon 2018-08-31 12:38:35 +02:00
Vasek Mlejnsky
28598f1f43 Remove button prop 2018-08-31 12:38:06 +02:00
Vasek Mlejnsky
3a6b99aef1 Rename import 2018-08-31 12:37:40 +02:00
Vasek Mlejnsky
763422de8a Add checked icon 2018-08-31 12:37:16 +02:00
Vasek Mlejnsky
3a74dfc927 Refactorize Input component 2018-08-31 12:37:07 +02:00