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