1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-29 02:18:06 +00:00
Commit Graph

685 Commits

Author SHA1 Message Date
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