1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-29 10:28:08 +00:00
Commit Graph

1123 Commits

Author SHA1 Message Date
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
Vasek Mlejnsky
7014331840 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 22:44:01 +02:00
Vasek Mlejnsky
78f6684fa7 Fix bug causing fiatRate be undefined 2018-08-30 22:42:51 +02:00
Vladimir Volek
b0b4f08aba Adjusted configs 2018-08-30 20:10:36 +02:00
Vladimir Volek
04ab2bce83 Added textarea component 2018-08-30 20:09:00 +02:00
Vladimir Volek
42b15e788e Image components moved to separated folder 2018-08-30 19:40:35 +02:00
Vladimir Volek
80ac6bcee5 Pin modal partly refactored 2018-08-30 18:01:17 +02:00
Vladimir Volek
221f988fef Fix modal functionality 2018-08-30 16:22:16 +02:00
Vladimir Volek
2ca9e09ed9 merge 2018-08-30 16:21:40 +02:00
Vladimir Volek
0b8af91fa9 Unverified address modal refacotred 2018-08-30 16:20:33 +02:00
Vladimir Volek
ac9725613b SignTx modal refactored 2018-08-30 16:04:15 +02:00
Vasek Mlejnsky
a8d3fccfa7 Add option to add an input label 2018-08-30 15:33:38 +02:00
Vasek Mlejnsky
797b66d9d5 Add error text under the input 2018-08-30 15:19:58 +02:00
Vladimir Volek
c758f13072 Device clone modal refactored 2018-08-30 15:18:08 +02:00
Vasek Mlejnsky
6d9cdfcabb Add success, warning & error icons 2018-08-30 15:10:02 +02:00
Vladimir Volek
ccd6e789bc Added placeholder for input 2018-08-30 14:52:04 +02:00
Vasek Mlejnsky
d58dadedc9 Fix input state colors 2018-08-30 14:43:06 +02:00
Vasek Mlejnsky
81ccc8e347 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 14:35:59 +02:00
Vasek Mlejnsky
7e6c8399ec Fix button 2018-08-30 14:35:35 +02:00
Vladimir Volek
b1025ffbf5 Make notification button prop same as Button 2018-08-30 14:33:21 +02:00
Vasek Mlejnsky
6ac2417534 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 14:32:16 +02:00
Vasek Mlejnsky
9f961b8865 Fix button imports 2018-08-30 14:31:48 +02:00
Vladimir Volek
36673e2889 Removed unused text prop from Button 2018-08-30 14:30:29 +02:00
Vladimir Volek
030cef3827 Renamed modal to modals 2018-08-30 14:29:18 +02:00
Vasek Mlejnsky
6d87b2d2b2 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 14:28:51 +02:00
Vasek Mlejnsky
6891bb65d4 Create input component 2018-08-30 14:28:21 +02:00
Vladimir Volek
5c89786452 Fix modals 2018-08-30 14:25:49 +02:00
Vladimir Volek
3fcb9dc25f Switched all other button to children not text 2018-08-30 14:20:42 +02:00
Vladimir Volek
64d5db3e6a Added children for button not text, refactored remember device 2018-08-30 14:16:43 +02:00
Vladimir Volek
847f981767 Bootloader refactored 2018-08-30 13:16:11 +02:00
Vladimir Volek
77135e8198 Forget device refactored 2018-08-30 13:07:34 +02:00
Vladimir Volek
d767ee0e05 Remember device refactored 2018-08-30 13:07:12 +02:00
Vasek Mlejnsky
0df6590e72 Refactor "AccountSummary"
- since "AddedToken" handles only a single token now (60947cb535) the logic of handling an array of tokens is now here
- rename inner function to "AccountSummary"
2018-08-30 12:18:55 +02:00
Vasek Mlejnsky
60947cb535 Refactor "Tokens" component
- rename it to "AddedToken"
- now handles only a single token not arrays of token
- convert it into a class
2018-08-30 12:17:38 +02:00
Vasek Mlejnsky
325b5bee63 Apply button's icon margin only when button contains text 2018-08-30 12:16:31 +02:00
Vladimir Volek
608b4e79cc Buttons merged into folder 2018-08-30 10:54:24 +02:00
Vasek Mlejnsky
c32c30fa8c Refactorize Detail component
- Rename it to "AccountBalance"
- Convert component to class
- CSS refactorization
- Handle hidden toggle inside component instead of using actions/reducers
2018-08-30 10:08:20 +02:00
Vasek Mlejnsky
0f89de426f Add "Arrow Up" icon 2018-08-30 07:46:09 +02:00
Vasek Mlejnsky
ef92428f62 Fix comma 2018-08-30 07:45:38 +02:00
Vasek Mlejnsky
4d480440dd Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-30 07:45:08 +02:00
Vladimir Volek
5a3bb77fb0 Finalized notifiction refactor 2018-08-29 15:48:05 +02:00
Vladimir Volek
a7726081f2 Separted button and notfication button 2018-08-29 13:54:41 +02:00
Vladimir Volek
e1d4faddfc Finalized notification icon styles 2018-08-29 13:07:37 +02:00
Vladimir Volek
8b519544d7 Styled notification content 2018-08-29 12:07:47 +02:00
Vasek Mlejnsky
07b6c9f486 Change shape of returned object & temporary fix for async react-select 2018-08-29 11:36:07 +02:00
Vasek Mlejnsky
8b31b63e1e Refactorize AccountSummary 2018-08-29 11:33:31 +02:00
Vladimir Volek
59ce098c92 Refactored notifications buttons 2018-08-29 11:33:17 +02:00
Vasek Mlejnsky
203a66a904 Add option to import AsyncSelect 2018-08-29 11:33:17 +02:00
Vasek Mlejnsky
ef4bb665db Fix typo 2018-08-29 11:32:30 +02:00
Vasek Mlejnsky
e1764a7a95 Add props to Icon component
- "className" so that Icon can be directly styled
- mouse*, focus & click events because "Tooltip" requests to implement those from children
2018-08-29 10:41:22 +02:00
Vasek Mlejnsky
8bf7eeb8fa Add "Help" icon 2018-08-29 10:39:12 +02:00
Vasek Mlejnsky
e44f33c2de Add borders to select menu not option 2018-08-29 10:11:59 +02:00
Vladimir Volek
a4720fc2e3 Refactored notification buttons 2018-08-28 16:27:59 +02:00
Vasek Mlejnsky
2d5965b4ab Refactorize "AccountMenu" (part 1) 2018-08-28 16:19:10 +02:00
Vasek Mlejnsky
597a771882 Style Select 2018-08-28 16:18:45 +02:00
Vasek Mlejnsky
34e859bd77 Add border to left navigation 2018-08-28 16:17:47 +02:00
Vladimir Volek
73f62d82f9 Notification wrapper added, indent 2018-08-28 14:33:42 +02:00
Vasek Mlejnsky
b2df1339b8 Add a prop to import async select from 'react-select' 2018-08-28 10:22:05 +02:00
Vasek Mlejnsky
b599c7cf5f Create "TooltipContent" component 2018-08-28 09:43:45 +02:00
Vasek Mlejnsky
b42e8adb03 Fix eslint/flow errors 2018-08-28 09:01:08 +02:00
Vasek Mlejnsky
f820637023 Use rc-tooltip & rcTooltip.less for now 2018-08-28 08:58:41 +02:00
Vasek Mlejnsky
b0aa37fdc9 Style sticky bottom in left navigation panel 2018-08-28 08:32:04 +02:00
Vasek Mlejnsky
f412738daf Style webusb button in left navigation panel 2018-08-28 08:31:52 +02:00
Vasek Mlejnsky
571522401e Fix imports & flow errors 2018-08-28 08:18:07 +02:00
Vladimir Volek
b029fab397 Removed unused aside styles 2018-08-27 18:19:45 +02:00
Vladimir Volek
c724b73d5a Device menu refactor finalized 2018-08-27 18:18:04 +02:00
Vladimir Volek
5e54c2b640 Moved tooltip conmponents after merge 2018-08-27 17:21:30 +02:00
Vladimir Volek
36212f2a1e Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-27 17:19:43 +02:00
Vladimir Volek
c31a822c9a Moved store to support 2018-08-27 17:19:34 +02:00
Vladimir Volek
424be08e7c Removed /js folder 2018-08-27 17:15:22 +02:00
Vasek Mlejnsky
37f8a24ee2 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-27 17:09:04 +02:00
Vasek Mlejnsky
6027f02162 Prepare tooltip component (WIP) 2018-08-27 17:08:44 +02:00
Vladimir Volek
84f61b20c0 Removed loader styles 2018-08-27 16:58:55 +02:00
Vladimir Volek
628da000e9 Apply more guidelines styles 2018-08-27 16:33:24 +02:00
Vladimir Volek
bcc0c609a1 Put back old menuItems for now 2018-08-27 16:09:10 +02:00
Vladimir Volek
9e86cfdc0c Styled MenuItems component 2018-08-27 15:28:23 +02:00
Vladimir Volek
ab4ecbebd7 Added MenuItems comnponent 2018-08-27 14:56:40 +02:00
Vladimir Volek
9bc266c4fb Removed logger, fixed deviceHeader props 2018-08-27 14:44:57 +02:00
Vasek Mlejnsky
ecae5d6752 Fix imports 2018-08-27 14:01:18 +02:00
Vladimir Volek
c0e81f8859 Fixed clicking on device menu 2018-08-27 13:47:26 +02:00
Vladimir Volek
4ad60a8c52 Removed console log 2018-08-27 13:26:41 +02:00
Vladimir Volek
ee14e6737f Device list refactored - fix prop 2018-08-27 13:25:05 +02:00
Vladimir Volek
42dd6a8455 Merge branch 'styled-components-refactor' of github.com:satoshilabs/trezor-wallet into styled-components-refactor 2018-08-27 13:06:59 +02:00
Vladimir Volek
2dcc08edac Device list refactored 2018-08-27 13:06:53 +02:00
Vasek Mlejnsky
b7c3a98176 Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-27 13:00:31 +02:00
Vasek Mlejnsky
0b1a6ce0e1 Use isWebUSB function in utils 2018-08-27 12:59:32 +02:00
Vasek Mlejnsky
a837db7a49 Fix imports 2018-08-27 12:45:39 +02:00
Vasek Mlejnsky
85df75c8c5 Make props not mandatory 2018-08-27 12:38:31 +02:00
Vasek Mlejnsky
47f96d7128 Add font size 2018-08-27 12:35:42 +02:00
Vasek Mlejnsky
8445ef8214 Rename "DeviceSettingsTabs" to "TopNavigationDeviceSettings" 2018-08-27 12:35:30 +02:00
Vasek Mlejnsky
ad26f2c30b Rename "Tabs" to "TopNavigationAccount" 2018-08-27 12:34:58 +02:00
Vasek Mlejnsky
c0af63cc5c Move wallet's "Account" component to wallet's view and name it "AccountSummary" 2018-08-27 12:34:01 +02:00
Vasek Mlejnsky
75c8f59ac9 Move wallet's "Sign" component to wallet's views and name it "AccountSignVerify" 2018-08-27 12:32:27 +02:00
Vasek Mlejnsky
b8c0a577cc Move wallet's "Send" component to wallet's views and name it "AccountSend" 2018-08-27 12:30:42 +02:00
Vasek Mlejnsky
b5cc5edc45 Move wallet's "Receive" component to wallet's views 2018-08-27 12:29:13 +02:00
Vladimir Volek
8331348ed6 Refactor device header 2018-08-27 12:17:27 +02:00
Vasek Mlejnsky
445a1a07bb Update "RowCoin" declaration to its actual props 2018-08-27 10:47:28 +02:00
Vasek Mlejnsky
f0bf6eb277 Use "CoinLogo" component instead of a locally styled "Logo" div 2018-08-27 10:46:41 +02:00
Vasek Mlejnsky
df9f7f51a1 Route to proper view 2018-08-27 10:45:47 +02:00
Vasek Mlejnsky
1143d78405 Cleamup 2018-08-27 10:45:33 +02:00
Vasek Mlejnsky
db80eed9ba Remove unused import and add default font size 2018-08-27 10:45:24 +02:00
Vasek Mlejnsky
69562c6d7a Create component for displaying a coin logo image 2018-08-27 10:43:34 +02:00
Vasek Mlejnsky
96b5b9058b Move "views/Wallet/components/Summary" into "view/Wallet/view/Account" 2018-08-27 10:43:18 +02:00
Vasek Mlejnsky
8fe70a19b3 Change icon size 2018-08-27 09:12:58 +02:00
Vasek Mlejnsky
f7b50bbb01 Fix background of "<aside/>" elemnt 2018-08-27 09:12:19 +02:00
Vasek Mlejnsky
4cd52f3ecf Style "Select" component 2018-08-27 08:32:06 +02:00
Vladimir Volek
0aa4bfd26a Separate more animations, removed unused less 2018-08-25 18:56:24 +02:00
Vladimir Volek
39de4ad932 Separate animations 2018-08-25 18:49:21 +02:00
Vladimir Volek
a2d7916d9f DeviceHeader customization with right icon 2018-08-25 15:48:55 +02:00
Vladimir Volek
ed6e0ee6da Moved ureadable device to styled-components 2018-08-25 15:06:09 +02:00
Vladimir Volek
30acfc3ca0 Moved wallet main views less to styled-components 2018-08-25 15:03:47 +02:00
Vladimir Volek
1d6c1b89f4 Removed P and move to paragraph 2018-08-25 14:34:04 +02:00
Vladimir Volek
6a29da8fd8 Added more unit tests 2018-08-25 13:49:58 +02:00
Vladimir Volek
630c55ad4c Added unit tests for device 2018-08-25 12:59:12 +02:00
Vasek Mlejnsky
4b2dabde38 Clean style 2018-08-24 14:17:07 +02:00
Vasek Mlejnsky
0ea14d1e18 Clean style 2018-08-24 14:15:49 +02:00
Vasek Mlejnsky
b4f267f05e Fix propType for an icon 2018-08-24 11:44:19 +02:00
Vasek Mlejnsky
db2008811d Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor 2018-08-24 11:41:20 +02:00
Vasek Mlejnsky
4e8959e48e Disable reactSelect.less
- no longer needed becuase react-select@2.0.0 imports syles itself
2018-08-24 11:12:39 +02:00
Vasek Mlejnsky
5aa7dc6646 Style react-select (WIP) 2018-08-24 11:07:30 +02:00
Vasek Mlejnsky
2ba9c61ff2 Refactorize "Loader" component
- Change folder name from "LoaderCircle" to "Loader"
2018-08-24 09:57:23 +02:00
Vasek Mlejnsky
6946500f0a Add trezor webusb button style 2018-08-24 09:10:13 +02:00
Vasek Mlejnsky
4644c6d1bc Remove "ConnectDevice" from global components 2018-08-24 09:01:26 +02:00
Vasek Mlejnsky
58666ceb45 Use Link instead of <a/> 2018-08-24 08:45:00 +02:00
Vasek Mlejnsky
aa6e37fc38 Fix transition constant 2018-08-24 08:42:59 +02:00
Vasek Mlejnsky
c0555bea0c Refactorize Landing view 2018-08-24 08:37:05 +02:00
Vasek Mlejnsky
2c6aabf7ff Create custom wrapper for react-select 2018-08-24 08:36:55 +02:00
Vasek Mlejnsky
6a8142c166 Refactorize "InstallBridge" 2018-08-24 08:33:56 +02:00
Vasek Mlejnsky
c2b863f8bc Add option for a button to have an icon 2018-08-24 08:33:11 +02:00
Vasek Mlejnsky
f70517457c Fix propTypes of children property
- child can be a single string object, array of arbitrary objects or a single object (e.g., single Button child)
2018-08-24 06:48:11 +02:00
Vasek Mlejnsky
9f5bb3c1a6 Link can now has children 2018-08-24 06:30:09 +02:00
Vasek Mlejnsky
86bf1b6446 Change propTypes so multiple elements can be children of paragraph 2018-08-24 06:20:33 +02:00
Vladimir Volek
8ad63117e1 Adjusted size of header to designs 2018-08-23 17:39:00 +02:00
Vladimir Volek
3df12d3e1e Adjusted colors 2018-08-23 17:26:29 +02:00
Vasek Mlejnsky
a5739c32e1 Refactorize "Landing" view 2018-08-23 16:01:34 +02:00
Vasek Mlejnsky
991aeb8831 Refactorize "BrowserNotSupported" 2018-08-23 16:01:22 +02:00
Vasek Mlejnsky
90fe036748 Move logic for (dis)connecting device to a single "ConnectDevice" component 2018-08-23 16:00:54 +02:00
Vasek Mlejnsky
6c772c6038 User hover css constant 2018-08-23 15:59:37 +02:00
Vasek Mlejnsky
ef72dbcc90 Remove unused import 2018-08-23 15:59:16 +02:00
Vasek Mlejnsky
6f657e7a64 Remove unused components 2018-08-23 15:58:55 +02:00
Vasek Mlejnsky
c67335170a Create "Paragraph" component for "</p>" element 2018-08-23 15:58:36 +02:00
Vasek Mlejnsky
b81cbe2cfc Create "Link" component for "<a/>" elements 2018-08-23 15:48:28 +02:00
Vasek Mlejnsky
ec1f47de71 Don't export TRANSITION_TIME 2018-08-23 15:47:46 +02:00
Vasek Mlejnsky
8fc6b040e9 Change copy sign to html encoded version 2018-08-23 15:38:45 +02:00
Vasek Mlejnsky
4e1facddee Change "icon" propType to array of strings
Becuase some icons have multiple paths
2018-08-23 15:38:18 +02:00
Vasek Mlejnsky
509888fc69 Fix macOS name 2018-08-23 15:35:11 +02:00
Vasek Mlejnsky
a9681916cc Add font-weight, transition animation and line-height to variables 2018-08-23 15:35:01 +02:00
Vladimir Volek
8b6cd23c26 Added button styles 2018-08-23 14:01:30 +02:00
Vladimir Volek
3fb4699172 Removed log styled - moved to styled components 2018-08-23 13:51:45 +02:00
Vladimir Volek
9ce0975507 Removed more styles 2018-08-23 12:22:00 +02:00
Vladimir Volek
8a0591bfd5 Added one more status for device 2018-08-23 11:52:55 +02:00
Vladimir Volek
2c5ec70a02 Put back background color 2018-08-22 17:54:09 +02:00
Vladimir Volek
51c2074ed6 Removed base import 2018-08-22 17:43:34 +02:00
Vladimir Volek
883b17ef1f base styles migrated 2018-08-22 17:32:42 +02:00
Vladimir Volek
7491289dcb Removed unused styles 2018-08-22 17:22:26 +02:00
Vladimir Volek
0a8f8f8872 Styled initil page 2018-08-22 16:35:19 +02:00
Vladimir Volek
bc094c42a1 Removed old selected device 2018-08-22 16:20:56 +02:00
Vladimir Volek
a4d88fb919 Fixed animation loading 2018-08-22 15:45:00 +02:00
Vladimir Volek
88a94ec06e Added redbox to see erorrs in UI 2018-08-22 14:31:16 +02:00
Vladimir Volek
9e9d1fc03a Removed dot from image 2018-08-22 12:59:22 +02:00
Vladimir Volek
d7e067616f Finalized status dot 2018-08-21 17:56:30 +02:00
Vladimir Volek
250aa217a2 Functions refactored, device list refactored 2 2018-08-21 17:17:13 +02:00
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
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