1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-02 12:20:53 +00:00
Commit Graph

1272 Commits

Author SHA1 Message Date
Vladimir Volek
2b5c932d89 root -> trezor-wallet-root 2018-10-30 13:26:00 +01:00
Vladimir Volek
cc8a21947f Add loading state for notification button 2018-10-26 16:48:12 +02:00
Vladimir Volek
434c86dc8c merge 2018-10-25 17:32:39 +02:00
Szymon Lesisz
20c503c164 redirect to initial url after acquiring device
1. try to redirect after DEVICE.CONNECT event
2. clear initial url when redirection is done
2018-10-25 17:05:02 +02:00
Vladimir Volek
835906bf96 FIxed icon overflow 2018-10-25 11:58:32 +02:00
Szymon Lesisz
d91a043967 update old-wallet urls 2018-10-24 14:50:28 +02:00
Vladimir Volek
2ff10255bd fix eslint 2018-10-23 11:30:53 +02:00
Vladimir Volek
2aec5b65f6
Merge pull request #208 from trezor/fix/localstorage-prefix
Fix/localstorage prefix
2018-10-23 11:21:29 +02:00
Szymon Lesisz
95623474aa quickfix: deviceUtils test add missing "type" field + update ethUtils snapshot 2018-10-22 17:22:04 +02:00
Vladimir Volek
a40429f345
Merge pull request #207 from trezor/fix/discovery-status
discovery status css fix
2018-10-22 17:13:19 +02:00
Vladimir Volek
5792a1c03d
Merge pull request #209 from trezor/fix/topnavigation-indicator
fix for indicator first render
2018-10-22 15:24:07 +02:00
Szymon Lesisz
3347c54cff quickfix: deviceUtils test "transport.version" fix
"version" should a be a string not an array
2018-10-22 13:46:15 +02:00
Szymon Lesisz
b48b197003 quickfix: ethUtils test "sanitizeHex" fix
sanitizeHex expects only strings
2018-10-22 13:31:10 +02:00
Szymon Lesisz
16f830ff9d fix for indicator first render 2018-10-22 10:07:00 +02:00
Szymon Lesisz
0c61bcb08d local storage prefix
- common prefix for localstorage and sessionstorage
- code refactoring
2018-10-22 10:04:19 +02:00
Szymon Lesisz
a534830dff discovery status css fix
- DiscoveryStatusWrapper css fix (wodth 100%)
- rewriten first condition
2018-10-22 10:02:30 +02:00
Vladimir Volek
dca466ed8a Fixed underline 2018-10-22 10:00:33 +02:00
Vladimir Volek
bed5932498 Fixed eslint and flow 2018-10-21 16:07:07 +02:00
Vladimir Volek
235f5cbdc3 Fixed some eslint and flow 2018-10-20 12:12:29 +02:00
Vladimir Volek
35ce9b6a1d Refactor sign input 2018-10-20 02:11:24 +02:00
Vladimir Volek
6a40191e61 Added address validation 2018-10-20 02:01:57 +02:00
Vladimir Volek
739339b53e Textare max size 2018-10-20 01:19:59 +02:00
Vladimir Volek
7ecfdb7ec2 Pass passphrase to request 2018-10-20 01:12:17 +02:00
Vladimir Volek
07f9fc30f9 Added success case for verify 2018-10-20 01:05:19 +02:00
Vladimir Volek
9503d1e415 Added progres sign additional message 2018-10-20 00:57:16 +02:00
Vladimir Volek
d1ef608c0e Textarea added trezor action prop, use textarea higligh while confirm 2018-10-20 00:22:07 +02:00
Szymon Lesisz
cb30af097f changed bridge installation package domain 2018-10-19 16:03:58 +02:00
Szymon Lesisz
46acf38364 flowtype fix for Account/Summary 2018-10-19 13:37:15 +02:00
Szymon Lesisz
81aa4e108b change meta tags in index.html 2018-10-19 13:32:59 +02:00
Szymon Lesisz
2aed4ba4f7 Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-10-19 13:24:05 +02:00
Vladimir Volek
fa5fbf8903 Better account title 2018-10-19 13:23:21 +02:00
Szymon Lesisz
d2d184773d quickfix: remove unnecessary condition from ModalReducer
TrezorConnect will emit UI.CLOSE_UI_WINDOW which will close modal window
2018-10-19 13:21:55 +02:00
Vladimir Volek
a31301a9f5 merge 2018-10-19 12:04:13 +02:00
Vladimir Volek
954ad18f8e Clear for signature 2018-10-19 00:55:16 +02:00
Vladimir Volek
50176ebbdf Added clear option 2018-10-18 14:33:17 +02:00
Vladimir Volek
18a424c214 Simplify input values, added verify 2018-10-18 14:18:48 +02:00
Szymon Lesisz
22708cc088 changed old-wallet links to relative levelup 2018-10-18 14:18:39 +02:00
Szymon Lesisz
6ad65dd6f1 SendForm eslint fix 2018-10-18 14:18:10 +02:00
Szymon Lesisz
835d172483 quickfix: update token balance on token added 2018-10-18 14:17:52 +02:00
Szymon Lesisz
a9883727f3 quickfix: SendForm currency select value 2018-10-18 13:28:35 +02:00
Szymon Lesisz
9422afa673 Merge branch 'master' into fix/beta-disclaimer 2018-10-18 11:24:58 +02:00
Vladimir Volek
b89a825077 Added sign response, style 2018-10-17 17:57:21 +02:00
Vladimir Volek
4a809d92cf
Merge pull request #192 from trezor/fix/TopNavigationAccount-indicator
indicator fixes
2018-10-17 17:00:49 +02:00
Vladimir Volek
1ebb893487 Fix prop type for title 2018-10-17 16:59:12 +02:00
Vladimir Volek
78d2b411fb Pass path properly 2018-10-17 16:54:33 +02:00
Vladimir Volek
2fd2ef7735 Added test for notificstions 2018-10-17 12:12:09 +02:00
Szymon Lesisz
a8bae8bdb1 added beta-wallet disclaimer
- Added BetaDiscialmer component used in Landing/RootView
- refactoring LocalStorageActions (moved logic from LocalStorageService)
2018-10-17 12:09:25 +02:00
Vladimir Volek
b8b5142fc5 TREZOR -> Trezor 2018-10-17 09:58:51 +02:00
Vladimir Volek
ca460859ac Added sign action 2018-10-17 00:31:33 +02:00
Szymon Lesisz
5a686cf9df indicator fixes
- indicator animation ignored on 'resize' event
- fixed initial rendering
- working with element ref insead of document.querySelector
2018-10-16 16:15:06 +02:00
Vladimir Volek
0f544f8578 Fixed padding in account pages 2018-10-16 14:47:49 +02:00
Vladimir Volek
6461400853 Added common title components for wallet views 2018-10-16 12:58:11 +02:00
Vladimir Volek
778d08a898 Styled sign and verify section 2018-10-16 12:49:05 +02:00
Szymon Lesisz
d1eadc8033 Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-10-16 11:28:50 +02:00
Szymon Lesisz
80fa9b02d7 quickfix: Receive tab modal context condition 2018-10-16 11:28:46 +02:00
Vladimir Volek
4f49943c7a
Merge pull request #183 from trezor/fix/refactor-variables
refactor Coin > Network
2018-10-16 10:51:31 +02:00
Vladimir Volek
8753a043a7 Added urls for old wallet 2018-10-16 10:19:30 +02:00
Szymon Lesisz
3e657d6558 quickfix: StickyContainer maxScrollTop must be lower than 0 2018-10-15 17:34:56 +02:00
Szymon Lesisz
f4b51d606f quickfix: added maxScollTop to StickyContainer 2018-10-15 16:49:57 +02:00
Szymon Lesisz
ed7501c4fc refactor Coin > Network 2018-10-15 15:44:10 +02:00
Vladimir Volek
672429c62c Fixed props warning 2018-10-15 14:36:56 +02:00
Vladimir Volek
b2fec821ca Merge branch 'master' into fix/landing-refactoring 2018-10-15 13:17:46 +02:00
Vladimir Volek
77b1aa04c5 Merge branch 'master' into fix/landing-refactoring 2018-10-15 13:03:39 +02:00
Szymon Lesisz
793abf3f53 updat eLink component 2018-10-15 10:47:26 +02:00
Szymon Lesisz
5ea4ae5772 wallet settings page 2018-10-15 10:47:17 +02:00
Szymon Lesisz
651242ffcf renamed components 2018-10-15 10:46:58 +02:00
Szymon Lesisz
a36a5e9dbe added beta build 2018-10-11 18:04:25 +02:00
Vladimir Volek
8b332b4763
Merge pull request #174 from trezor/feature/modal-context
Feature/modal context
2018-10-11 15:57:05 +02:00
Szymon Lesisz
449b2923fd quickfix: Log component width 100%
100% width on LandingPage
2018-10-11 15:30:42 +02:00
Vladimir Volek
bc6ff28fe9 Added link for NEM coin 2018-10-11 15:18:30 +02:00
Szymon Lesisz
f5bf14b776 fix NotificationGroup.propTypes 2018-10-11 15:18:09 +02:00
Vladimir Volek
60b0e35b2c Reviex fix - reducer to string 2018-10-11 15:18:09 +02:00
Vladimir Volek
f2ac90c46e Review 2018-10-11 15:18:09 +02:00
Vladimir Volek
de34a8fe04 comment out test data 2018-10-11 15:18:09 +02:00
Vladimir Volek
077b6dc7fa Make notification responsive, flow fix 2018-10-11 15:18:09 +02:00
Vladimir Volek
817b333d3a notification message can be component, styles adjusted 2018-10-11 15:18:09 +02:00
Vladimir Volek
2ed673b05a Separate group notifications with border 2018-10-11 15:18:09 +02:00
Vladimir Volek
4072e9480d Fix group notification width 2018-10-11 15:18:09 +02:00
Vladimir Volek
0de30758a8 Removed unnecessary component 2018-10-11 15:05:14 +02:00
Vladimir Volek
0dab0d36b3 better icon position 2018-10-11 13:38:27 +02:00
Vladimir Volek
5ec50dd4c7 Fixed icon position 2018-10-11 13:38:27 +02:00
Szymon Lesisz
42841b0b84 add externalWallet to CoinMenu 2018-10-11 13:27:32 +02:00
Szymon Lesisz
a9246c0c06 NemWallet component 2018-10-11 13:27:15 +02:00
Szymon Lesisz
5eb5e3f774 close modal on DEVICE.CONNECT action 2018-10-11 13:07:58 +02:00
Szymon Lesisz
337eacd1d2 fixed deviceUtils.isSelectedDevice 2018-10-11 13:07:29 +02:00
Szymon Lesisz
eab3bde184 Link component: target parameter 2018-10-11 13:06:51 +02:00
Szymon Lesisz
e59c9ec714 refacotred modals components 2018-10-11 13:06:16 +02:00
Szymon Lesisz
49ca5992fd added NemWallet component 2018-10-10 21:50:20 +02:00
Szymon Lesisz
41b78390ed add MODAL_CONTEXT
- update MODAL action constants
- ModalReducer refactoring (field "opened" replaced by "context")
- implementing "context" in all components
2018-10-10 21:27:07 +02:00
Szymon Lesisz
1637181839 update and reorder coin menu
fix: #166
2018-10-10 16:03:09 +02:00
Szymon Lesisz
233fac84b6 quickfix: expose TrezorConnect to window for development builds 2018-10-10 15:46:42 +02:00
Szymon Lesisz
6a14601ddd quickfix: COMMITHASH and LOCAL are not window variables, use flowtype declaration 2018-10-10 15:45:21 +02:00
Szymon Lesisz
c51b12906f replace React.Component by React.PureComponent 2018-10-10 14:39:42 +02:00
Vladimir Volek
37ed349dff All links adjusted according to new component 2018-10-10 14:27:09 +02:00
Vladimir Volek
14904bff99 Fixed component 2018-10-10 14:27:09 +02:00
Vladimir Volek
453cda908f Added navlink to link component 2018-10-10 14:27:09 +02:00
Szymon Lesisz
8afc949923 Add data-lpignore to input
fix: https://github.com/trezor/trezor-wallet/issues/135
2018-10-10 14:09:42 +02:00
Szymon Lesisz
845c6d381f Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-10-10 14:01:43 +02:00
Szymon Lesisz
fabcd54145 quickfix: StickyContainer footerFixed condition 2018-10-10 14:01:40 +02:00
Szymon Lesisz
600d3565f7 fix redirection to /bridge from landingpage
- allows to redirect from / to /bridge route
- fix current bridge version if transport is webusb
- RouterActions optionally verifies if requested url has "landing" prefix in ./support/routes
2018-10-10 12:12:56 +02:00
Szymon Lesisz
31fc23228a quickfix: replace Wiki link in Header
fix: #142
2018-10-10 11:39:03 +02:00
Szymon Lesisz
c6c3f54d9b quickfix: remove pathname from props in TopNavigationAccount component 2018-10-10 11:38:17 +02:00
Szymon Lesisz
4e91694a60 flowtype/react fix of Notification component 2018-10-10 10:55:53 +02:00
Szymon Lesisz
9671226036 eslint fixes 2018-10-10 10:39:59 +02:00
Szymon Lesisz
f257f98ab5 flowtype in store and Button 2018-10-10 10:20:31 +02:00
Szymon Lesisz
6d4f0a2943 flowtype components 2018-10-10 10:06:32 +02:00
Szymon Lesisz
a086c034f1 LandingPage flowtype 2018-10-10 09:55:03 +02:00
Szymon Lesisz
99da71c25d flowtype for Notification components 2018-10-10 09:31:26 +02:00
Vladimir Volek
60479a0a49 Fixed eslint warning 2018-10-09 17:41:18 +02:00
Vladimir Volek
a42428601d
Merge pull request #154 from trezor/flowtype/modals
flowtype fixes
2018-10-09 17:38:58 +02:00
Szymon Lesisz
0cb723b9db flowtype fixes
for all modals
2018-10-09 17:32:56 +02:00
Vladimir Volek
ad97a5cbbd
Merge pull request #150 from trezor/feature/filter-log
Filter log
2018-10-09 17:28:17 +02:00
Vladimir Volek
5e136a3015
Merge pull request #152 from trezor/fix/remove-selectedaccount-component
remove all references to SelectedAccount component
2018-10-09 17:17:35 +02:00
Szymon Lesisz
b1691797d3 update WalletType icons 2018-10-09 17:12:58 +02:00
Szymon Lesisz
7ff2e8642d
Merge pull request #149 from trezor/eslint-fix
Fix some eslint errors
2018-10-09 16:15:00 +02:00
Szymon Lesisz
1c0aa0adc8 remove all references to SelectedAccount component 2018-10-09 16:10:30 +02:00
Vladimir Volek
b13fb6e18a Fixed width of notification 2018-10-09 15:50:32 +02:00
Vladimir Volek
dee161924d Fixed padding in claim 2018-10-09 15:50:32 +02:00
Szymon Lesisz
d78381106e Filter log 2018-10-09 15:36:55 +02:00
Vladimir Volek
4903916e3d Revert "Fixed width of notification"
This reverts commit e4b6cc24dd.
2018-10-09 15:28:50 +02:00
Vladimir Volek
ae729dcc46 Fixed some eslint errors 2018-10-09 15:20:57 +02:00
Vladimir Volek
e4b6cc24dd Fixed width of notification 2018-10-09 15:02:08 +02:00
Pavol Rusnak
13ff97e4d3
src/views/Landing: fix typo 2018-10-09 14:41:35 +02:00
Szymon Lesisz
0f39182db7 quickfix: disable REQUEST_WALLET_TYPE action for device without passphrase_protection 2018-10-09 14:39:10 +02:00
Vladimir Volek
cafe1971a4 Fixed padding in claim 2018-10-09 14:39:07 +02:00
Szymon Lesisz
6a3e71f0a5 remove unused constant WALLET.ON_BEFORE_UNLOAD 2018-10-09 14:32:15 +02:00
Szymon Lesisz
c10b8baeba remove unused action WALLET.ON_BEFORE_UNLOAD 2018-10-09 14:31:10 +02:00
Szymon Lesisz
7ed5f11021 quickfix: "onWalletTypeRequest" second parameter 2018-10-09 14:16:20 +02:00
Vladimir Volek
13e94ed355 Fixed modal padings 2018-10-09 14:06:45 +02:00
Vladimir Volek
3de23f8757 Fix bug 2018-10-09 14:02:41 +02:00
Vladimir Volek
c00c943971 Adjust padding 2018-10-09 14:01:22 +02:00
Vladimir Volek
a0cfa4bf4a merge 2018-10-09 13:58:59 +02:00
Vladimir Volek
5524080c30 Merge branch 'master' into fix-wallet-modals 2018-10-09 13:57:06 +02:00
Vladimir Volek
8c0d889536 More css fixes 2018-10-09 13:55:17 +02:00
Vladimir Volek
3a01dc50f3 Fixed wallet type styles 2018-10-09 13:50:25 +02:00
Szymon Lesisz
379522a1a7 quickfix: Pin modal - flowtype fixes + update "Learn more" link 2018-10-09 13:42:36 +02:00
Szymon Lesisz
571462f08f quickfix: prevent redirecting to Dashboard for first time RECEIVE_WALLET_TYPE 2018-10-09 13:28:59 +02:00
Szymon Lesisz
cd183e6409 quickfix: reconnect to selected network 2018-10-09 13:10:26 +02:00
Vladimir Volek
f258f1b125
Merge pull request #134 from trezor/feature/change-passphrase
Feature/change passphrase
2018-10-09 12:58:37 +02:00
Vladimir Volek
113c39ec26 Fixed border 2018-10-09 12:39:30 +02:00
Vladimir Volek
d22a4789db Removed test border 2018-10-09 12:23:34 +02:00
Vladimir Volek
29e5dc2314 Styled bridge page better 2018-10-09 12:23:34 +02:00
Vladimir Volek
2831b7d254
Merge pull request #140 from trezor/fix/disable-react
Disable whole app on "window.onbeforeunload" event
2018-10-09 12:14:52 +02:00
Szymon Lesisz
4730e9afc6 import trezor image
TrezorImage is missing in build because it wasn't imported properly
2018-10-09 11:54:19 +02:00
Szymon Lesisz
bf7527bd09 Disable whole app on "window.onbeforeunload" event
Disable whole react app to prevent future action processing.
Fix: #116
2018-10-09 10:54:07 +02:00
Vladimir Volek
95c3c8dba7
Merge pull request #136 from trezor/fix/allow-data-prefix
allow "0x" prefix in transaction data
2018-10-09 10:45:35 +02:00
Szymon Lesisz
51ed553e9a move hex regexp to /utils/ethUtils 2018-10-09 10:42:36 +02:00
Szymon Lesisz
5291ce32b1 add tooltip and texts to wallettype modal 2018-10-09 10:12:10 +02:00
Szymon Lesisz
b9251f8db7 add and verify local storage version
fix: #131
2018-10-08 18:22:21 +02:00
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