1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-28 09:58:23 +00:00
Commit Graph

362 Commits

Author SHA1 Message Date
Szymon Lesisz
f0dc9d315d rename "clone device" to "create hidden wallet" 2018-08-16 19:19:33 +02:00
Vladimir Volek
d2f63becfa changed variable name 2018-08-16 18:43:29 +02:00
Vladimir Volek
d88f5b7b98 Rewrited navigation rendering 2018-08-16 18:38:57 +02:00
Vladimir Volek
503ba7eaab span to styled component 2018-08-16 17:08:38 +02:00
Vladimir Volek
bd54457fb6 Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-16 16:59:00 +02:00
Vladimir Volek
a9aab60dd6 comment views strucutre 2018-08-16 16:58:28 +02:00
Vasek Mlejnsky
f342915375 Fix import 2018-08-16 16:35:36 +02:00
Vasek Mlejnsky
38ae8e52f7 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-16 16:31:49 +02:00
Vasek Mlejnsky
ba0d8d4095 Cleanup & fix imports 2018-08-16 16:31:43 +02:00
Vladimir Volek
b165bdebb7 Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-16 16:29:26 +02:00
Vladimir Volek
5b773041ef common page refactored to new structure 2018-08-16 16:29:14 +02:00
Vasek Mlejnsky
113b2535e0 Rename 'Selection' components to 'Menu' in 'LeftNavigation' 2018-08-16 16:26:44 +02:00
Vasek Mlejnsky
a43112a6cf Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-16 16:15:20 +02:00
Vasek Mlejnsky
87d485cf82 Cleanup & eslint error fixes 2018-08-16 16:12:32 +02:00
Vladimir Volek
bf452ae054 Common components refactored 2018-08-16 16:09:56 +02:00
Vladimir Volek
f9a6bed330 device to wallet 2018-08-16 16:02:23 +02:00
Vladimir Volek
7864c5d7bf Refactored whole folder structure 2018-08-16 15:56:39 +02:00
Vasek Mlejnsky
c447cef7ee Cleanup + folder structure 2018-08-16 15:17:41 +02:00
Vasek Mlejnsky
c743d78bee Cleanup 2018-08-16 15:11:10 +02:00
Vasek Mlejnsky
65d76162cb Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-16 14:57:37 +02:00
Vasek Mlejnsky
a598a7744d Disable unused styles 2018-08-16 14:57:10 +02:00
Vasek Mlejnsky
71d8712575 Refactored /wallet/aside folder to new folder structure 2018-08-16 14:56:35 +02:00
Vladimir Volek
5dac7f043c put back button 2018-08-16 14:04:40 +02:00
Vladimir Volek
98bb95722b Added redirect icon 2018-08-16 14:04:17 +02:00
Vladimir Volek
f4117c1aef Refactored /account folder to new folder structure 2018-08-16 13:14:13 +02:00
Vasek Mlejnsky
0c58820999 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-16 12:31:56 +02:00
Vasek Mlejnsky
f8c11f918e Convert 'CoinSelection' to a class component 2018-08-16 12:26:40 +02:00
Vladimir Volek
fbbceedd48 Landing folder structure refactored 2018-08-16 12:19:13 +02:00
Vasek Mlejnsky
0410735c2a Delete 'AsideRowCoinExternal' and 'AsideRowCoinWallet' and move its logic into 'AsideRowCoin' 2018-08-16 11:29:14 +02:00
Vasek Mlejnsky
82c215dc81 Add folder structure 2018-08-16 11:27:30 +02:00
Vasek Mlejnsky
779bb84c01 Cleanup & fix path to config/constants 2018-08-16 09:01:35 +02:00
Vasek Mlejnsky
be49f6901e Set default prop values in function parameter 2018-08-16 09:00:52 +02:00
Vasek Mlejnsky
ed94a0dd30 Add external coin links into a separate file 2018-08-15 15:24:57 +02:00
Vasek Mlejnsky
dddc354aad Move 'icons.js' to 'config/' 2018-08-15 15:03:07 +02:00
Vasek Mlejnsky
f4651785d7 AsideRowAccount component WIP 2018-08-15 14:03:29 +02:00
Vasek Mlejnsky
d511a9d2f4 Separate row coin logic into a 'AsideRowCoin' component 2018-08-15 14:03:13 +02:00
Vasek Mlejnsky
d3c601c41f Cleanup 2018-08-15 09:56:36 +02:00
Vasek Mlejnsky
c81e74db71 Create a general 'AsideRow' component
- delete 'AsideRowCoin' and move logic up into 'AsideRowCoinExternal' and 'AsideRowCoinWallet'
2018-08-15 09:56:31 +02:00
Vasek Mlejnsky
af80ebb511 Cleanup 2018-08-15 09:14:08 +02:00
Vasek Mlejnsky
d6383a4540 Create 'AsideSection' component 2018-08-15 09:12:53 +02:00
Vasek Mlejnsky
bb94eb7ed0 Rename components & flatten folder structure
- 'CoinLogo' is now 'CoinName'
- 'CoinLink' is now 'AsideRowCoin'
- 'ExternalCoinLink' is now 'AsideRowCoinExternal'
- 'WalletCoinLink' is now 'AsideRowCoinWallet'
2018-08-15 08:41:54 +02:00
Vasek Mlejnsky
9d55216bf9 Disable css for new styled components 2018-08-14 21:59:46 +02:00
Vasek Mlejnsky
44ae2b82dd Create a styled component for divider in aside panel 2018-08-14 21:59:30 +02:00
Vasek Mlejnsky
57a9b3e114 Use 'CoinLink' components inside a 'CoinSelection' component 2018-08-14 21:59:06 +02:00
Vasek Mlejnsky
7497c78a39 Create coin link styled components for aside panel 2018-08-14 21:58:07 +02:00
Vasek Mlejnsky
82cbdcffdf Create file with global css variables 2018-08-14 21:56:37 +02:00
Vasek Mlejnsky
6b3e4c2e62 Prepare 'REDIRECT' icon svg 2018-08-14 21:38:28 +02:00
Vasek Mlejnsky
2737faf979 Resolve merge 2018-08-14 21:37:52 +02:00
Vladimir Volek
efe180d432 Fixed root path and some eslint 2018-08-14 16:06:34 +02:00
Vladimir Volek
82ef098c2a Fixed all stylelint errors 2018-08-14 15:25:18 +02:00
Vladimir Volek
9a735f7b96 Adjust more relative paths 2018-08-14 15:18:16 +02:00
Vladimir Volek
cb14cfdfe7 Removed relative paths 2018-08-14 15:11:52 +02:00
Vladimir Volek
52fcaa3d8c Make better imports 2018-08-14 14:56:47 +02:00
Vladimir Volek
eed40c53ab Added linter for styled-components 2018-08-14 13:43:45 +02:00
Vladimir Volek
e9581af8e8 Added button components 2018-08-13 17:19:04 +02:00
Vladimir Volek
49ad6726cb header less remove 2018-08-13 16:35:49 +02:00
Vladimir Volek
a314c2faed ErrorBoundary added 2018-08-13 14:52:43 +02:00
Vladimir Volek
ace0f37074 Merge content 2018-08-13 14:33:44 +02:00
Vladimir Volek
8375a4c48b Fixed paddings 2018-08-13 14:29:34 +02:00
Vladimir Volek
8cc345aa05 Revert "Refactored menu rendering"
This reverts commit 909c657454.
2018-08-13 14:22:34 +02:00
Vladimir Volek
7c1f928ac6 Revert "Refactored menu rendering - styled"
This reverts commit ce635fe979.
2018-08-13 14:22:22 +02:00
Vladimir Volek
ce635fe979 Refactored menu rendering - styled 2018-08-13 14:19:19 +02:00
Vladimir Volek
909c657454 Refactored menu rendering 2018-08-13 13:03:52 +02:00
Vladimir Volek
e226847ccc Added support for icons and styled components 2018-08-13 12:19:10 +02:00
Vladimir Volek
cd25b3f459 Revert "Removed header less"
This reverts commit fbb34a87b1.
2018-08-10 19:09:23 +02:00
Vladimir Volek
fbb34a87b1 Removed header less 2018-08-10 18:47:39 +02:00
Vladimir Volek
063f76b5b1 Base font for styled components 2018-08-10 18:42:58 +02:00
Vladimir Volek
c51612f13e More base styles merged into styled components 2018-08-10 18:29:58 +02:00
Vladimir Volek
db8c711ec4 Created base styles 2018-08-10 18:28:35 +02:00
Vladimir Volek
03af4fdfce Dashboard refactored 2018-08-10 17:51:53 +02:00
Vladimir Volek
eac49bd78d Fixed hot loader and year in footer 2018-08-10 17:18:22 +02:00
Vladimir Volek
1ab5e9c8ab Footer rewrited and used react prop types instead of flow 2018-08-10 16:44:36 +02:00
Vladimir Volek
d8995cbb49 Add missing import 2018-08-10 16:03:28 +02:00
Vladimir Volek
b7e5dba3d0 Sign and verify migrated to styled components 2018-08-10 16:01:12 +02:00
Vladimir Volek
a591c5ea8f colors unified 2018-08-10 15:36:44 +02:00
Vladimir Volek
32b428809c h2 refactored to component 2018-08-10 15:33:23 +02:00
Vladimir Volek
0802d7d654 Fixed loop redirect 2018-08-10 15:02:54 +02:00
Szymon Lesisz
613302fb23 removed TRANSPORT.UNREADABLE action (not used) 2018-08-08 15:35:49 +02:00
Szymon Lesisz
88208f3509 distinguish unreadable/unacquired device in dropdown menu 2018-08-08 15:29:33 +02:00
Szymon Lesisz
d9069b6824 enable device dropdown if webusb & unreadable/unacquired device 2018-08-08 15:23:39 +02:00
Szymon Lesisz
ae98492562 fix for endless "Loading accounts..." notification during discovery 2018-08-08 15:16:42 +02:00
Szymon Lesisz
880e11d6e9 unreadable device page (not finished) 2018-08-08 14:39:43 +02:00
Szymon Lesisz
d3608f7701 fixed webusb button 2018-08-08 13:21:28 +02:00
Szymon Lesisz
0c5635d356 Show loader after 'Acquire Device' button is clicked 2018-08-08 11:43:34 +02:00
Szymon Lesisz
c197f7f7b6 flowtype fixes corresponding changes in trezor-connect 2018-08-08 11:42:12 +02:00
Vladimír Volek
04dfa41949 POC of styled components - migrated header 2018-07-30 16:50:32 +02:00
Vladimír Volek
52239f77b7 POC of styled component 2018-07-30 16:30:25 +02:00
Vladimír Volek
3310a30a54 Fixed babel loader 2018-07-30 14:31:35 +02:00
Vladimír Volek
7beb6131b8 Added test snapshot and updated coverage 2018-07-30 14:17:49 +02:00
Vladimír Volek
c7d21e8435 Added first working test 2018-07-30 14:10:57 +02:00
Vladimír Volek
a99d638a58 Removed custom babel module 2018-07-30 13:52:06 +02:00
Vladimír Volek
c6292a1375 Added jest 2018-07-30 13:44:39 +02:00
Vladimír Volek
7627aade89 Fixed some eslint problems 2018-07-30 12:52:13 +02:00
Szymon Lesisz
c5bb32684d trezor-connect flow from node_modules 2018-06-13 19:33:24 +02:00
Szymon Lesisz
9b8b5f55a9 set default gasLimit if data.length < 1 (estimateGasPrice) 2018-05-30 16:23:21 +02:00
Szymon Lesisz
4f5134f32e fix: token balance - pending tx 2018-05-29 13:36:18 +02:00
Szymon Lesisz
af26e0f55c Send: Advanced form tooltips 2018-05-29 13:35:30 +02:00
Szymon Lesisz
f3ccc617f5 propagate UPDATE_SELECTED_ACCOUNT only if needed 2018-05-29 11:51:02 +02:00
Szymon Lesisz
726a41fb8c fix: nonce count when account.nonce == 0 && pending.length == 0 2018-05-29 11:50:31 +02:00
Szymon Lesisz
148a61645f pendingTx rejected state 2018-05-29 10:48:28 +02:00
Szymon Lesisz
b41e6bacc0 save and clear SessionStorage called from SendformActions 2018-05-29 10:47:48 +02:00
Szymon Lesisz
4d43a4acc4 fix: display very small numbers as .toString(10) 2018-05-28 20:06:01 +02:00
Szymon Lesisz
b67315e180 dispose and initialization selectedAccount view 2018-05-28 19:48:07 +02:00
Szymon Lesisz
47af92ae2c fix: calculate pending amount 2018-05-28 19:42:19 +02:00
Szymon Lesisz
46c1f8b2b7 remove device instances with different "passphrase_protection" settings
while DEVICE.CONNECT event
2018-05-28 19:42:03 +02:00
Szymon Lesisz
1e89993727 calculate nonce runtime (account.nonce + pending.nonce) 2018-05-28 16:58:32 +02:00
Szymon Lesisz
19321dffa9 init selected account in actions 2018-05-28 16:56:34 +02:00
Szymon Lesisz
a9ad70d155 aside bottom css 2018-05-28 11:21:58 +02:00
Szymon Lesisz
00ee6465c9 Account balance - pending txs 2018-05-28 11:21:47 +02:00
Szymon Lesisz
43ddffb6e9 implementation on selectedAccount.pending 2018-05-25 11:49:37 +02:00
Szymon Lesisz
7b639fb223 added pending to SelectedAccountReducer 2018-05-25 11:49:15 +02:00
Szymon Lesisz
c40432d2f2 export flow type PendingTx 2018-05-25 11:46:32 +02:00
Szymon Lesisz
042540ec95 removed SessionStorageService 2018-05-25 11:27:21 +02:00
Szymon Lesisz
09fe94c71d fix localStorage findPendings method 2018-05-25 11:27:06 +02:00
Szymon Lesisz
283af40356 Refactoring: SelectedAccountReducer synchronized with other reducers
thru WalletService + implementation new data model in components
2018-05-25 11:26:36 +02:00
Szymon Lesisz
d74c2ceaba + SessionStorageActions 2018-05-25 11:20:39 +02:00
Szymon Lesisz
2025198d85 sync discovery with LocalStorage 2018-05-25 11:20:12 +02:00
Szymon Lesisz
e1f2d07187 reducer/utils 2018-05-24 18:39:42 +02:00
Szymon Lesisz
5f4e43a860 location state params: param name is used if value is undefined 2018-05-24 18:39:27 +02:00
Szymon Lesisz
597007afbd Web3 ticker [disabled filter('latest') ] 2018-05-24 18:36:34 +02:00
Szymon Lesisz
8a0f945c97 added PENDING.TX_NOT_FOUND 2018-05-23 19:13:24 +02:00
Szymon Lesisz
c1bb93bf5c Receive tab: hide address if verification error 2018-05-23 16:25:57 +02:00
Szymon Lesisz
4dae5a247a update feeLevel onGasLimit change (while using estimateGasPrice - data
change)
2018-05-23 15:51:51 +02:00
Szymon Lesisz
3d44fb1e4f pendingTransportEvent implementation 2018-05-23 12:27:53 +02:00
Szymon Lesisz
fc9563a04e UI.IFRAME_HANDSHAKE implementation 2018-05-23 12:27:41 +02:00
Szymon Lesisz
2b4592343e START/STOP_ACQUIRING (Acquire page) 2018-05-23 11:46:57 +02:00
Szymon Lesisz
369ca892c0 removed .devices from TrezorConnectReducer 2018-05-23 11:19:35 +02:00
Szymon Lesisz
3b452661c6 getState().connect.devices replaced by getState().devices 2018-05-23 10:57:36 +02:00
Szymon Lesisz
977d9f3983 DevicesReducer substitute for TrezorConnectReducer.devices 2018-05-23 10:52:25 +02:00
Szymon Lesisz
6bc7a2a0f2 removed CONNECT.SELECT_DEVICE 2018-05-23 10:08:32 +02:00
Szymon Lesisz
6de33d5691 SET_SELECTED_DEVICE + UPDATE_SELECTED_DEVICE 2018-05-23 10:00:43 +02:00
Szymon Lesisz
60c4390925 findSelectedDevice > WalletReducer.selectedDevice 2018-05-22 22:07:25 +02:00
Szymon Lesisz
751a96ccc1 fixed getSelecedDevice in WalletService 2018-05-22 20:40:04 +02:00
Szymon Lesisz
053b12d3ff filter log 2018-05-22 20:06:05 +02:00
Szymon Lesisz
241fc5acdc fix Router service to allow LOCATION_CHANGE while popup is connected
but context device is disconnected
2018-05-22 20:05:58 +02:00
Szymon Lesisz
ad3237a49a removed console.log 2018-05-22 19:46:26 +02:00
Szymon Lesisz
663729ea62 Aside: implementation of wallet.selectedDevice 2018-05-22 19:43:26 +02:00
Szymon Lesisz
1e66618186 setDeviceState method properly propagate new state 2018-05-22 19:42:55 +02:00
Szymon Lesisz
e5bdadfcb2 added WalletService to middlewares 2018-05-22 19:42:03 +02:00
Szymon Lesisz
ed23b859a8 WalletReducer: SET_SELECTED_DEVICE action 2018-05-22 19:41:10 +02:00
Szymon Lesisz
c7d7fa32d1 reexport reducers flowtype 2018-05-22 19:39:54 +02:00
Szymon Lesisz
505a7e354d bootlader, not-initialized, dev-settings pages copy 2018-05-22 18:07:42 +02:00
Szymon Lesisz
5282c22bc0 address verification different UI 2018-05-22 16:33:25 +02:00
Szymon Lesisz
b5a78be39b token add form: input css fixed 2018-05-22 15:08:11 +02:00
Szymon Lesisz
0cfa1567cf not initialized device page 2018-05-22 14:16:18 +02:00
Szymon Lesisz
be05c097e9 useEmptyPassphrase for device without instance 2018-05-22 12:54:30 +02:00
Szymon Lesisz
416886bd95 forget countdown inside Forget button 2018-05-22 11:47:28 +02:00
Szymon Lesisz
393a0c4c56 ignore fresh account in discovery 2018-05-22 11:40:32 +02:00
Szymon Lesisz
69e2083615 web3 chainId from config 2018-05-22 10:26:34 +02:00
Szymon Lesisz
783b47b2db ETC backend path 2018-05-21 20:08:18 +02:00