Vladimir Volek
80fcd15558
Functions refactored, device list refactored
2018-08-21 17:02:06 +02:00
Vasek Mlejnsky
ef266a471d
Fix querySelector error caused by accessing ref on a syled component
2018-08-21 08:14:16 +02:00
Vasek Mlejnsky
1fc12ca5f3
Cleanup & eslint fixes
2018-08-21 08:09:51 +02:00
Vasek Mlejnsky
d69c26961b
Fix "AccountRow" border offsetting its content
2018-08-21 08:09:37 +02:00
Vasek Mlejnsky
55fc01454d
Refactorize "AccountMenu" component
2018-08-21 07:59:10 +02:00
Vasek Mlejnsky
25ee6a9b0a
Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor
2018-08-21 07:45:40 +02:00
Vasek Mlejnsky
9ba8cfaab8
Add disabled option "Add account" button
2018-08-20 13:31:59 +02:00
Vladimir Volek
50a877eac2
Added margin for logos
2018-08-20 13:31:22 +02:00
Vladimir Volek
c3c617955c
Merge master
2018-08-20 13:01:43 +02:00
Vasek Mlejnsky
5701555117
Refactor components/styles
2018-08-20 12:44:18 +02:00
Szymon Lesisz
e7c76ab953
disable "popup: true" in connect settings
2018-08-20 10:00:08 +02:00
Szymon Lesisz
83523cf677
import Device type from 'flowtype' module
2018-08-17 15:24:47 +02:00
Szymon Lesisz
4093240af0
rename "getNewInstance" util to "getDuplicateInstanceNumber" and move it to ./utils dir
2018-08-17 15:20:42 +02:00
Szymon Lesisz
e8109350bb
reexport type from 'trezor-connect' to 'flowtype' module
2018-08-17 15:19:50 +02:00
Vladimir Volek
2d9bad285b
Device list first part refactoring
2018-08-17 15:08:38 +02:00
Szymon Lesisz
86f1981179
Disconnect device screen: use device.label instead of instanceLabel
2018-08-17 14:03:01 +02:00
Vladimir Volek
42a06eb816
Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor
2018-08-17 13:11:07 +02:00
Vladimir Volek
4fb214b588
Connect device split
2018-08-17 13:10:55 +02:00
Vasek Mlejnsky
95fb87d17f
Move 'CoinName' component inside 'RowCoin'
2018-08-17 13:08:42 +02:00
Vasek Mlejnsky
5eebb76e27
Add wrappers
2018-08-17 13:02:13 +02:00
Vasek Mlejnsky
a2c0c92446
Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor
2018-08-17 12:56:48 +02:00
Vasek Mlejnsky
fd1bdb2f85
Disable CSS styles
2018-08-17 12:56:37 +02:00
Vasek Mlejnsky
18425310de
Style RowAccount & add selection
2018-08-17 12:53:49 +02:00
Vladimir Volek
8c4d68f49c
Indent small enhancements
2018-08-17 12:39:15 +02:00
Vladimir Volek
9cff1868d2
Added wrapper
2018-08-17 12:35:12 +02:00
Vladimir Volek
23db6d1737
Separate function
2018-08-17 12:32:57 +02:00
Vasek Mlejnsky
f534e76f64
Add default props values to divider
2018-08-17 12:12:55 +02:00
Vasek Mlejnsky
fed2c3031a
FIx double divider border in 'DeviceMenu'
2018-08-17 12:07:15 +02:00
Vasek Mlejnsky
27e3385b7d
Move 'RowCoin' to its own component
...
- 'RowCoin' is used in both 'AccountMenu' and 'CoinMenu'
2018-08-17 11:49:04 +02:00
Vasek Mlejnsky
8b511e7f0b
Add a left arrow icon
2018-08-17 11:27:53 +02:00
Szymon Lesisz
37b83bda14
better contrast in token icons color
2018-08-17 11:23:43 +02:00
Szymon Lesisz
5987c0dbcd
Passphrase modal: show only 1 input if device is remembered OR was already authenticated
2018-08-17 11:23:08 +02:00
Szymon Lesisz
e50a948713
adding token: set default value to '0x' and load all results at focus
2018-08-17 09:24:26 +02:00
Vasek Mlejnsky
b8b0eff161
Fix bug when LeftNavigation menu wasn't properly rendering menus based on props
2018-08-17 08:05:20 +02:00
Vasek Mlejnsky
7d28c6294f
Fix imports
2018-08-17 07:16:23 +02:00
Vasek Mlejnsky
ecda8645a5
Add key prop to an iterable component
2018-08-17 07:04:35 +02:00
Vasek Mlejnsky
4b9ebce7d0
Fix eslint errors
2018-08-17 06:48:12 +02:00
Vasek Mlejnsky
fa52ec41ca
Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor
2018-08-17 06:12:35 +02:00
Szymon Lesisz
69a9f12ddf
device menu sorted by instance #2
2018-08-16 23:03:06 +02:00
Szymon Lesisz
d8b492e7b6
device menu sorted by instance
2018-08-16 23:00:06 +02:00
Szymon Lesisz
ebbba8139a
duplicate device without modal with default instance name
2018-08-16 22:59:41 +02:00
Vladimir Volek
d6b2cdb877
Fixed missing style
2018-08-16 22:57:48 +02:00
Vladimir Volek
3fb9c65be8
Styled help
2018-08-16 22:55:42 +02:00
Vladimir Volek
934b1cbe0a
Reset state on mount
2018-08-16 21:49:39 +02:00
Vladimir Volek
cf79638cad
Fixed menu state
2018-08-16 21:47:01 +02:00
Vladimir Volek
fc13b0d602
Better support for icons
2018-08-16 21:25:57 +02:00
Vladimir Volek
50f8a182e6
Fixed rendering function
2018-08-16 21:11:05 +02:00
Vladimir Volek
dcbdf2bfa1
better parameter handling
2018-08-16 20:52:05 +02:00
Vasek Mlejnsky
8252d0908b
Change folder structure of 'LeftNavigation'
2018-08-16 19:38:30 +02:00
Szymon Lesisz
dbbe7725fd
fix for broken send form (never initialized)
2018-08-16 19:19:54 +02:00
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