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

1947 Commits

Author SHA1 Message Date
slowbackspace
0a0d1e7715 added tooltips to device header's icons, wallet btn now clickable 2019-01-16 10:51:50 +01:00
slowbackspace
740661b4c6 move forget device menu item to the bottom 2019-01-16 10:43:38 +01:00
slowbackspace
0efcc2c5be add prop delayed to Tooltip component 2019-01-16 10:40:56 +01:00
Vladimir Volek
cb7bc0fbad
Merge pull request #333 from trezor/fix/notifications-css-layout
Fix notification layout
2019-01-16 03:45:02 +01:00
slowbackspace
d07488146a fix device header padding 2019-01-16 00:41:42 +01:00
slowbackspace
479a379b8e hide wallet type icon (standard/hidden) when passphrase feature is disabled 2019-01-15 17:18:58 +01:00
slowbackspace
12d6113b9c fix paddings on small screens 2019-01-15 15:35:31 +01:00
slowbackspace
a8d39d95c2 separate clear from init function 2019-01-15 15:24:41 +01:00
slowbackspace
c77cd10f03 send form clear button for ripple and eth 2019-01-15 13:54:34 +01:00
Vladimir Volek
bb9d59bece
Merge pull request #328 from trezor/fix/ripple-amount-validation
Fix/ripple amount validation
2019-01-15 13:38:19 +01:00
slowbackspace
ea804969cd fix notification layout 2019-01-14 13:29:57 +01:00
slowbackspace
224337c497 disable add account button when device is not connected 2019-01-14 12:08:21 +01:00
slowbackspace
472d1cd453 add loading state to a connect button when connecting to backend 2019-01-14 02:48:06 +01:00
slowbackspace
1b1fbb45f5 add connecting flag to blockchain's state 2019-01-14 02:46:41 +01:00
Szymon Lesisz
7eb1527c39 display reserve in RippleSendForm 2019-01-12 19:41:52 +01:00
Szymon Lesisz
249e5f9876 recalculate reserve while "setMax" 2019-01-12 19:31:42 +01:00
Szymon Lesisz
11efd69a21 add reserve to Account Summary 2019-01-11 18:27:38 +01:00
Szymon Lesisz
9d325fb139 flowtype fix 2019-01-11 17:55:36 +01:00
Szymon Lesisz
155f794bcb remove comment 2019-01-11 17:48:44 +01:00
Szymon Lesisz
aa87fa3b9f validate address balance and set minAmount for ripple transaction 2019-01-11 17:48:32 +01:00
Szymon Lesisz
616949ba47 add minAmount to SendformRippleReducer 2019-01-11 17:47:36 +01:00
slowbackspace
fb0f0c0c69 cleanup 2019-01-10 18:43:29 +01:00
slowbackspace
2ca219414a break token balance to more lines instead of truncating 2019-01-10 18:39:28 +01:00
slowbackspace
21c67c060e follow design guidelines 2019-01-10 18:30:10 +01:00
slowbackspace
298bcdf546 generate lighter color for token icons 2019-01-10 17:28:39 +01:00
slowbackspace
73f8902da3 fix condition for applying bigger padding 2019-01-10 16:41:54 +01:00
Vladimir Volek
42764419b4
Merge pull request #324 from trezor/fix/animationcolor-proptype
fix proptypes for animationColor
2019-01-10 11:41:22 +01:00
slowbackspace
29e86c3b80 fix proptypes for animationColor 2019-01-10 11:32:40 +01:00
Vladimir Volek
d31095b1c2
Merge pull request #321 from trezor/fix/signtx-modal-design
Fix/signtx modal design
2019-01-09 18:40:14 +01:00
Vladimir Volek
ba68fffc20
Merge pull request #320 from trezor/fix/ripple-destination-tag
Fix/ripple destination tag
2019-01-09 18:30:20 +01:00
Vladimir Volek
21fcf6eb31 Adjust tooltips width 2019-01-09 18:28:41 +01:00
Szymon Lesisz
3ebce65093 rewrite static notification condition (xrp || txrp) 2019-01-09 18:10:49 +01:00
Vladimir Volek
2c24b75d47 Add zero zero balance case for notification 2019-01-09 18:10:49 +01:00
Vladimir Volek
0da4b0bdc9 Fixed variable 2019-01-09 18:10:49 +01:00
Vladimir Volek
de0b2afde1 review 2019-01-09 18:10:49 +01:00
Vladimir Volek
35892652a8 Remove notification if you have enough xrp 2019-01-09 18:10:49 +01:00
Vladimir Volek
ecde81ca86 Added static notification for xrp 2019-01-09 18:10:49 +01:00
slowbackspace
cb2dff467b cleanup 2019-01-09 18:04:24 +01:00
slowbackspace
2f3872345d show used fee level (low/normal/high...) 2019-01-09 18:00:18 +01:00
slowbackspace
bbd5420f15 slightly redesigned modal 2019-01-09 17:59:11 +01:00
Vladimir Volek
c371159e00
Merge pull request #307 from trezor/fix/notification-loading-button
Added loading state for acquire button
2019-01-09 16:10:35 +01:00
slowbackspace
0e5300eeee fix animation color 2019-01-09 15:57:59 +01:00
Vladimir Volek
ccdc1580e9 Pass loader color 2019-01-09 15:02:38 +01:00
Szymon Lesisz
b5701cd8ae Ripple destinationTag as optional param 2019-01-09 14:49:04 +01:00
Vladimir Volek
5d5347a4e6 Better button colors 2019-01-09 14:47:53 +01:00
Szymon Lesisz
75cfd44b3c getPendingAmount only for "send" transaction 2019-01-09 14:33:19 +01:00
Szymon Lesisz
b1c3396f61 set Ripple "reserve" in Discovery 2019-01-09 14:32:57 +01:00
Szymon Lesisz
0fe2ce7717 rename rippleGetAccountInfo param 2019-01-09 14:32:20 +01:00
Szymon Lesisz
33a9a28114 add destination tag to Ripple send form 2019-01-09 14:31:40 +01:00
slowbackspace
41633bb7b8 set min-weight to make options look aligned 2019-01-09 13:59:19 +01:00
slowbackspace
e59c3436bb fix fee label overflow 2019-01-09 13:26:42 +01:00
Vladimir Volek
8820aa68f7
Merge pull request #312 from trezor/fix/bignumber-amount-cpu
Faster BigNumber to string conversion
2019-01-08 16:50:08 +01:00
slowbackspace
1cfbae6415 fix device status overflow 2019-01-08 15:20:16 +01:00
slowbackspace
bbfd3cafce convert normal notation, converting exp notation will fail 2019-01-08 14:04:42 +01:00
slowbackspace
8970f90d45 use toFixed for fees on eth 2019-01-08 13:23:46 +01:00
slowbackspace
83abbd9ac3 faster conversion to string for ripple 2019-01-08 11:50:30 +01:00
slowbackspace
cc5d7a9b66 use faster toFixed() 2019-01-08 10:40:21 +01:00
Maroš
631d9a7d34
Merge pull request #305 from trezor/fix/dashboard-icons
Moved icons to shared folder, added correct icons to dashboard
2019-01-07 17:19:31 +01:00
Maroš
28367cf3ce
Merge pull request #306 from trezor/fix/external-click
Close popup after click on exernal link
2019-01-07 17:18:54 +01:00
slowbackspace
4852838703 more consistent design with the rest of the wallet 2019-01-07 16:00:41 +01:00
Vladimir Volek
e78e276d1e Better margin 2019-01-07 15:56:11 +01:00
Vladimir Volek
cbbcf1f4d1 Added loading state for acquire button 2019-01-07 15:36:47 +01:00
Vladimir Volek
76f4eff5f5 Close popup after click on exernal link 2019-01-07 15:22:04 +01:00
Vladimir Volek
0c441ff0d5 merge with master, removed icon 2019-01-07 14:50:07 +01:00
Vladimir Volek
e750fc2da6
Merge pull request #304 from trezor/fix/unify-paddings
Fix/unify wallet views paddings
2019-01-07 14:45:20 +01:00
Vladimir Volek
5da7f3fa1a Moved icons to shared folder, added correct icons to dashboard 2019-01-07 14:37:09 +01:00
slowbackspace
035a45df19 fix typo 2019-01-07 14:24:36 +01:00
slowbackspace
313b40c546 revert wrapping with Content component 2019-01-07 14:03:44 +01:00
slowbackspace
0be0c918de unify paddings in wallet views 2019-01-07 13:54:33 +01:00
Vladimir Volek
09495884a5
Merge pull request #302 from trezor/fix/notification-title-weight
Lighter font weight for notification's title
2019-01-07 11:56:29 +01:00
slowbackspace
9c400f0b6e unify paddings in wallet views 2019-01-07 10:52:26 +01:00
slowbackspace
33093e60a0 fix fee overflow 2019-01-06 21:22:08 +01:00
slowbackspace
c2f118abdb lighter font weight for notification's title 2019-01-05 20:50:25 +01:00
slowbackspace
a1e3dcf80b use padding instead of vertical centering in wallet views 2019-01-04 21:19:11 +01:00
Vladimir Volek
7c0e58cd04
Merge pull request #289 from trezor/fix/overflow
Fix overflow issues by making UI more responsive
2019-01-04 15:26:59 +01:00
Szymon Lesisz
4f1ba157e1 update "rippleGetAccountInfo" and "ethereumGetAccountInfo" params 2019-01-04 14:32:14 +01:00
Szymon Lesisz
0db7a8a8c4 add useful testing data 2019-01-04 13:58:50 +01:00
Szymon Lesisz
baec449936 fix PendingTransactions format 2019-01-04 13:58:34 +01:00
slowbackspace
656a36a77e same menu item padding for all screen sizes 2019-01-03 18:55:40 +01:00
slowbackspace
0bae87acda fix scrollbars 2019-01-03 18:26:37 +01:00
Szymon Lesisz
92c83f0877 Ripple summary: hide explorer link for empty accounts 2019-01-03 18:26:07 +01:00
Szymon Lesisz
e6a8229d0f temporary disable Ripple Summary/History (not ready yet) 2019-01-03 18:20:08 +01:00
Szymon Lesisz
2b8503fdb4 Ripple send form: advanced fee tooltip 2019-01-03 18:18:44 +01:00
Szymon Lesisz
b27e3af7f3 remove unnecessary switch from TopNavigationComponent 2019-01-03 18:18:13 +01:00
slowbackspace
77feccaab2 Merge branch 'master' into fix/overflow 2019-01-03 15:43:54 +01:00
Szymon Lesisz
7d9857845f fix unsupported firmware wiki url 2019-01-03 15:41:51 +01:00
Szymon Lesisz
96fd05676f validate ripple fee (min/max value) 2019-01-03 15:37:08 +01:00
Szymon Lesisz
7d9cbf7cbe update fee levels in reducer only if needed 2019-01-03 15:05:55 +01:00
Szymon Lesisz
e7c4329a0c TopNavigation to coin specific (removed sign&verify tab from Ripple account) 2019-01-03 15:05:55 +01:00
Szymon Lesisz
0ee1e3a5d9 remove unnecessary $FlowIssues 2019-01-03 15:05:55 +01:00
Szymon Lesisz
32ee758af2 get decimals from config (RippleBlockchainActions) 2019-01-03 15:05:55 +01:00
Szymon Lesisz
1392b4b5a7 fix for "setMax" in Ripple send form 2019-01-03 15:05:55 +01:00
Szymon Lesisz
2bf2e0539c update trezor-connect package 2019-01-03 15:05:55 +01:00
Szymon Lesisz
ea3f672995 add comment 2019-01-03 15:05:55 +01:00
Szymon Lesisz
a1447ab4f8 fix: formatUtil - calculating decimal amount returns '0' on exception 2019-01-03 15:05:55 +01:00
Szymon Lesisz
be9cd4fef0 add fees to Ripple 2019-01-03 15:05:55 +01:00
Szymon Lesisz
025e7856cd coin specific advanced form components 2019-01-03 15:05:55 +01:00
Szymon Lesisz
bb140b8bfe add BlockchainFeeLevel to BlockchainReducer 2019-01-03 15:05:55 +01:00
Szymon Lesisz
2639aab093 add fee levels to appConfig.json 2019-01-03 15:05:55 +01:00
Vladimir Volek
d83f3c1b28 Fixed flow 2019-01-03 15:01:08 +01:00
Vladimir Volek
e0501b1072 Fixed some flow 2019-01-03 15:01:08 +01:00
Szymon Lesisz
e7ae73c570 add WALLET.SET_FIRST_LOCATION_CHANGE action 2019-01-03 15:01:08 +01:00
Vladimir Volek
5a6ea6610e Fix state propagation 2019-01-03 15:01:08 +01:00
Vladimir Volek
786303400c Update fields according to new react-router 2019-01-03 15:01:08 +01:00
Vladimir Volek
0f9d864347 First init added to reducer 2019-01-03 15:01:08 +01:00
Vladimir Volek
cdd325c078 Removed react redux router and adjust store and base reducer 2019-01-03 15:01:08 +01:00
slowbackspace
e84e1867c7 calculate the Indicator position with scroll offset 2019-01-03 14:22:43 +01:00
slowbackspace
1e7f0d35be Merge branch 'master' into fix/overflow 2019-01-03 10:56:27 +01:00
slowbackspace
f44ac15c15 scrollable top navigation 2019-01-03 10:56:04 +01:00
Szymon Lesisz
d9e809e6aa move helper methods from TokensReducer to ./reducers/utils 2018-12-21 11:19:40 +01:00
Szymon Lesisz
31e3c7a9a2 refactoring Account object to coin specific 2018-12-21 10:58:53 +01:00
Szymon Lesisz
350d71521e validate via wallet-address-validator lib 2018-12-20 19:30:00 +01:00
slowbackspace
bc3898e4eb make overflow visible and scrollable 2018-12-20 19:18:29 +01:00
slowbackspace
6f287412b8 collapsible buttons in sign n verify tab 2018-12-20 19:01:14 +01:00
slowbackspace
289c7ddcb5 collapsible footer 2018-12-20 18:34:15 +01:00
Szymon Lesisz
179bcb386d force CI update 2018-12-20 17:43:21 +01:00
Szymon Lesisz
63f7b503b5 add missing "Amount" label in ripple send form 2018-12-20 16:51:22 +01:00
slowbackspace
c7cad093f1 fix token input overflow 2018-12-20 16:42:00 +01:00
slowbackspace
348033e38f fix send button overflow 2018-12-20 16:41:03 +01:00
Szymon Lesisz
b19c6e87e9 eslint fix 2018-12-20 14:36:37 +01:00
Szymon Lesisz
02040f2505 force CI build 2018-12-20 14:31:32 +01:00
Szymon Lesisz
c53dfcfaeb ripple/BlockbookAction temporary commented 2018-12-20 14:20:03 +01:00
Szymon Lesisz
6f334182aa handle blockchain_disconnect when wallet init in offline mode 2018-12-20 14:18:06 +01:00
Szymon Lesisz
ce5b13223c add decimals to appConfig.json 2018-12-20 14:18:06 +01:00
Szymon Lesisz
6c398ba506 remove test data from pending txs 2018-12-20 14:18:06 +01:00
Szymon Lesisz
19784b5100 enable RippleDiscovery process from storage 2018-12-20 14:18:06 +01:00
Szymon Lesisz
7f517041b1 refactored PendingTransactions 2018-12-20 14:18:06 +01:00
Szymon Lesisz
24524d7445 update BlockchainNotification event values to match BlockchainLinkTransaction 2018-12-20 14:18:06 +01:00
Szymon Lesisz
7ad19dd1c0 replace PendingTx flow declaration by BlockchainLinkTransation from 'trezor-connect' 2018-12-20 14:18:06 +01:00
Szymon Lesisz
39786377b6 remove link from Success notification in ripple SendForm 2018-12-20 14:18:06 +01:00
Szymon Lesisz
a8d623b6a7 emit BlockchainEvent from ethereum SendForm 2018-12-20 14:18:06 +01:00
Szymon Lesisz
63fb8109cb sen payload to EthereumBlockchainActions.onNotification from BlockchainActions 2018-12-20 14:18:06 +01:00
Szymon Lesisz
bab5007847 call PENDING.ADD from BlockbookActions 2018-12-20 14:18:06 +01:00
Szymon Lesisz
cbc0151a62 add inputs and outputs to PendingTxReducer 2018-12-20 14:18:06 +01:00
Szymon Lesisz
780e6e27ef add coin parameter to connect.rippleGetAccountInfo 2018-12-20 14:18:06 +01:00
Szymon Lesisz
dd81197990 break text inside send button 2018-12-20 14:18:05 +01:00
Szymon Lesisz
84b7e14bc5 add Ripple mainnet to config 2018-12-20 14:18:05 +01:00
Vladimir Volek
fe2814e99f
Merge pull request #277 from trezor/fonts-refactoring
Fonts refactoring 2
2018-12-20 13:37:33 +01:00
slowbackspace
65d4b362b1 fix link to tos file 2018-12-20 12:00:29 +01:00
slowbackspace
eb2eb2af64 link to fonts.css file from index.html 2018-12-20 12:00:09 +01:00
Vladimir Volek
29ae195f20 Change token message 2018-12-18 16:15:10 +01:00
slowbackspace
257738ac86 put back font family names 2018-12-18 15:01:21 +01:00
slowbackspace
859b1ca6db Merge branch 'master' into fonts-refactoring 2018-12-18 14:43:12 +01:00
slowbackspace
ad079c0426 load font-face rules from css file, moved fonts to public folder 2018-12-18 14:37:29 +01:00
Vladimir Volek
c2c79dcbfa
Merge pull request #278 from trezor/unsupported-page
Component for unsupported coins on T1 (xrp)
2018-12-18 13:23:54 +01:00
Vladimir Volek
76fb6a97fa Removed eslint disable and fix 2018-12-18 13:21:00 +01:00
slowbackspace
032c081447 pass className prop to DeviceHeader component 2018-12-18 12:16:06 +01:00
slowbackspace
3da10ecf5a fix warnings from react devtools ext 2018-12-18 12:16:06 +01:00
slowbackspace
a189218b9d switch to new attrs syntax 2018-12-18 12:16:06 +01:00
slowbackspace
1878c6beb4 padding around "select coin" message 2018-12-18 12:14:46 +01:00
slowbackspace
42d5b375c4 set font-display to swap 2018-12-18 12:08:58 +01:00
Szymon Lesisz
f9f1b6758e remove unused field from getAccountLoader 2018-12-17 19:19:32 +01:00
Szymon Lesisz
f24f0b33ea add explanation of 'not-used' strings 2018-12-17 19:07:11 +01:00
Szymon Lesisz
4c4b40c639 remove unused import 2018-12-17 19:00:44 +01:00
Szymon Lesisz
9d6bce9251 fix fwOutdated exceptionPage values 2018-12-17 18:48:30 +01:00
Szymon Lesisz
ddf00bc15c use existing component for selectedAccount outdated firmware exception 2018-12-17 18:45:47 +01:00
Szymon Lesisz
2aa6a82911 split loader, notification and exceptionPage to isolated variables
and pass them as they are to views/Wallet/components/Content
2018-12-17 18:33:55 +01:00
slowbackspace
f34992dd68 proper link and coin img size 2018-12-17 12:52:47 +01:00
slowbackspace
597f804a9d added prop to enable rendering Logo without wrapper 2018-12-17 12:52:19 +01:00
slowbackspace
800a5be990 pass network.shortcut to Content component 2018-12-16 23:52:02 +01:00
slowbackspace
512574ece2 custom loader type when coin is not supported by the firmware 2018-12-16 23:50:42 +01:00
slowbackspace
3566f1b3c5 renamed component 2018-12-16 23:46:32 +01:00
slowbackspace
b13da082e0 added view for unsupported coins 2018-12-15 18:31:28 +01:00
slowbackspace
57ad70cd60 pass className prop to enable component styling 2018-12-15 18:31:06 +01:00
Vladimir Volek
ddf85952fc Revert "test sticky build"
This reverts commit 2e5d029393.
2018-12-14 17:49:03 +01:00
Vladimir Volek
3a9a214bc2 test sticky build 2 2018-12-14 17:44:18 +01:00
Vladimir Volek
2e5d029393 test sticky build 2018-12-14 17:24:45 +01:00
slowbackspace
86ec78e719 fix account title font weight 2018-12-14 14:59:03 +01:00
slowbackspace
0b7a907013 make roboto mono default font for inputs 2018-12-14 14:47:14 +01:00
slowbackspace
e2d637c2b5 deleted unused RobotoZero 2018-12-14 14:46:26 +01:00
slowbackspace
16f731b025 fix adress input font size 2018-12-14 14:31:52 +01:00
slowbackspace
89722218cc sane fonts file names 2018-12-14 14:09:17 +01:00
slowbackspace
eed4f1bd61 prefer Roboto font instead of system fonts 2018-12-13 17:52:50 +01:00
slowbackspace
94fb04beb2 move font-face for roboto zero/mono to separate file 2018-12-13 17:50:20 +01:00
slowbackspace
75e3749d78 added missing Roboto font-family 2018-12-13 17:43:00 +01:00
slowbackspace
0623e1423e add missing TREZOR_ACTION const 2018-12-13 14:37:13 +01:00
slowbackspace
d5d59b32b8 line-height refactoring 2018-12-13 14:16:14 +01:00
slowbackspace
462205650d fix px font-size in modal pin button 2018-12-13 13:44:54 +01:00
slowbackspace
3c6df77b04 changed FONT_SIZE.BASE to 1rem 2018-12-13 13:42:52 +01:00
slowbackspace
e4d2a5ec72 Revert "changed FONT_SIZE.BASE to 1rem"
This reverts commit e4d2b8ec02.
2018-12-13 13:29:46 +01:00
slowbackspace
e4d2b8ec02 changed FONT_SIZE.BASE to 1rem 2018-12-13 13:27:55 +01:00
slowbackspace
ace7868037 use default tooltip font size 2018-12-13 13:09:43 +01:00
slowbackspace
42a38c5dc5 Merge branch 'master' into fonts-refactoring 2018-12-13 13:05:55 +01:00
Vladimir Volek
a6f798ee0a
Merge pull request #274 from trezor/fix-advanced-settings
Fix advanced settings toggler
2018-12-13 11:39:22 +01:00
slowbackspace
38810afc07 fix font weight 2018-12-12 17:38:17 +01:00
slowbackspace
2958a6133b added comment with the old px units for reference 2018-12-12 17:35:10 +01:00
slowbackspace
3e87ea9854 use standard button font size 2018-12-12 17:30:16 +01:00
slowbackspace
ba95de788f merge master 2018-12-12 17:25:26 +01:00
Maroš Špak
778fc5672b single quote 2018-12-12 15:17:27 +01:00
Maroš Špak
4273adda27 add missing networkType 2018-12-12 15:01:39 +01:00
Maroš Špak
191d611fde removed unused import 2018-12-12 10:57:23 +01:00
Maroš Špak
091e84ea8f removed not-working css transition 2018-12-12 10:53:15 +01:00
Maroš Špak
6f2f938c83 use css fadein anim on modal windows 2018-12-11 18:47:34 +01:00
Maroš Špak
873d6c47b7 added fadein animation 2018-12-11 18:46:58 +01:00
Maroš Špak
1ecce5487b use FONT_WEIGHT const istead of values 2018-12-11 16:44:32 +01:00
Maroš Špak
530027f38b fix incorrect h3 font size 2018-12-11 16:23:56 +01:00
Vladimir Volek
461865de1c Fixed name in component 2018-12-11 16:17:55 +01:00
Vladimir Volek
1bfe5887d0 Added modals for external wallets - ada, xlm 2018-12-11 16:17:55 +01:00
Maroš Špak
f73ed1fdcc renamed font weights 2018-12-11 16:17:09 +01:00
Maroš Špak
29e7b91310 convert px to rem units 2018-12-11 15:31:33 +01:00
Maroš Špak
b4e8bbd9f1 set base font size back to 14px 2018-12-11 15:29:25 +01:00
Szymon Lesisz
15ad3ceee7 css changes in views/Account components from master 2018-12-11 15:28:44 +01:00
Maroš Špak
42945c78c5 use const font sizes instead of values 2018-12-11 15:16:36 +01:00
Szymon Lesisz
b368447bcb
Merge branch 'master' into feature/ripple 2018-12-11 15:15:50 +01:00
Maroš Špak
3c6ee60e9c fix send button font-size 2018-12-11 15:12:58 +01:00
Szymon Lesisz
b7790c0351 remove comments 2018-12-11 15:08:26 +01:00
Szymon Lesisz
128d238037 change "if" to "switch" 2018-12-11 15:08:02 +01:00
Szymon Lesisz
fc4ff5d71c add "testnet" field to config, and filter those values for "dev build" only 2018-12-11 13:25:38 +01:00
slowbackspace
678ce48674 removed special styling for receive address 2018-12-10 16:57:10 +01:00
slowbackspace
a9d860f065 Merge branch 'master' into sign-and-verify-readonly 2018-12-10 16:26:31 +01:00
Vladimir Volek
59aa111870 put back styles 2018-12-10 15:21:12 +01:00
Vladimir Volek
da429c314f put back file 2018-12-10 15:15:29 +01:00
Vladimir Volek
5b60ba677f merge master 2018-12-10 15:14:41 +01:00
Vladimir Volek
ee28bede6d
Merge pull request #267 from trezor/upgrade-styled-components
Upgraded react, react-dom, styled components, removed styled-media-query
2018-12-10 14:53:01 +01:00
slowbackspace
fd17924f2a fix padding for gas inputs on smaller screens 2018-12-10 14:32:55 +01:00
slowbackspace
1fd2b8af52 fix button not expanding to full width on smaller screen size 2018-12-10 14:21:17 +01:00
slowbackspace
27a3254c04 follow design guidelines more closely 2018-12-10 14:15:26 +01:00
slowbackspace
d7d55beb62 removed deprecated object-form .attrs({}) 2018-12-10 13:22:22 +01:00
slowbackspace
2564bf9dfb update styled-normalize to 8.0.4 2018-12-10 12:13:49 +01:00
slowbackspace
8e14e04dc1 more consistent UI 2018-12-10 11:43:43 +01:00
slowbackspace
881447531e fix typo in welcome screen 2018-12-07 15:51:31 +01:00
slowbackspace
44b2000d1e upgraded react, react-dom, styled components, removed styled-media-query 2018-12-07 15:01:17 +01:00
slowbackspace
e0cb188603 pass number instead of string in maxLength 2018-12-07 14:39:15 +01:00
slowbackspace
375136a586 removed placeholder pseudoselector 2018-12-07 12:52:28 +01:00
slowbackspace
1b5c547b72 address and sig as readonly to enable text selection 2018-12-06 19:36:13 +01:00
slowbackspace
5605f96770 pass isReceiveAddress to Input component to ignore readOnly styles 2018-12-06 19:33:39 +01:00
slowbackspace
a94d949ad4 added readOnly property and styles to textarea component 2018-12-06 19:31:53 +01:00
slowbackspace
2eb6785b0d styles for readOnly input 2018-12-06 19:28:50 +01:00
Szymon Lesisz
f4985c0b7c modals container eslint fix 2018-12-05 15:10:38 +01:00
Szymon Lesisz
d7e0fb91cd add SignTx modal with SendFormRippleReducer 2018-12-05 14:40:28 +01:00
Szymon Lesisz
e130b1edc0 update recommended fee in blockchain reducer 2018-12-05 14:12:53 +01:00
Szymon Lesisz
4492dbae63 feeLevels in ripple 2018-12-05 14:12:23 +01:00
Szymon Lesisz
3ae45ddd7e update fee in reducer only if changed 2018-12-05 14:11:03 +01:00
Szymon Lesisz
38bc1c7c30 nitpick: ampersand 2018-12-05 10:59:12 +01:00
Szymon Lesisz
ebce4562df add Tittle to receive component 2018-12-05 10:58:54 +01:00
Szymon Lesisz
076bba4ba3 remove unused imports 2018-12-05 10:58:39 +01:00
Szymon Lesisz
473401ccf7 Sendform: fix after rebase 2018-12-05 09:44:00 +01:00
Szymon Lesisz
ea36e56ece eslint 2018-12-05 09:27:25 +01:00
Szymon Lesisz
695ae17176 remove unnecessary SEND.TX_COMPLETE action 2018-12-05 09:27:25 +01:00
Szymon Lesisz
215fab48eb split Receive component into coin specific 2018-12-05 09:27:25 +01:00
Szymon Lesisz
9b7987e951 add availableBalance to Account.update action 2018-12-05 09:26:31 +01:00
Szymon Lesisz
bfebef73c7 ripple/SendFormValidations 2018-12-05 09:26:31 +01:00
Szymon Lesisz
90cc406773 fix pending tx for ethereum networkType 2018-12-05 09:26:31 +01:00
Szymon Lesisz
2e89624b27 clearing ripple/SendForm componenent 2018-12-05 09:26:31 +01:00
Szymon Lesisz
2cc28c4bf6 load coin specific tx drafts 2018-12-05 09:26:31 +01:00
Szymon Lesisz
9cc11e11be split BlockchainActions into coin specific files 2018-12-05 09:26:31 +01:00
Szymon Lesisz
c43b9b138c removr advanced view from ripple/SendForm component 2018-12-05 09:26:31 +01:00
Szymon Lesisz
326967b551 clearing ripple/SendFormAction 2018-12-05 09:26:31 +01:00
Szymon Lesisz
cbded16091 add "sequence" and "availableBalance" to Account 2018-12-05 09:26:31 +01:00
Szymon Lesisz
8bc2ec4206 formatUtils: conversion from/to decimal amount 2018-12-05 09:26:31 +01:00
Szymon Lesisz
a94095d527 remove unnecessary params 2018-12-05 09:26:30 +01:00
Szymon Lesisz
ab4ab8b5a4 handle pending tx from blockchain notification 2018-12-05 09:26:30 +01:00
Szymon Lesisz
a32f0faf38 enable BlockchainActions.notification 2018-12-05 09:26:30 +01:00
Szymon Lesisz
f28aa760fd BlockchainReducer: add fee and block fields 2018-12-05 09:26:30 +01:00
Szymon Lesisz
95d1bdbd9e handle trezor-connect blockchain events 2018-12-05 09:26:30 +01:00
Szymon Lesisz
e64b44d632 change imports 2018-12-05 09:26:30 +01:00
Szymon Lesisz
eafd541477 change prefix of coin specific reducers 2018-12-05 09:26:30 +01:00
Szymon Lesisz
e34b9141d8 change prefix of coin specific actions 2018-12-05 09:26:30 +01:00
Szymon Lesisz
0128a16602 rename coin specific components 2018-12-05 09:26:30 +01:00
Szymon Lesisz
6449749492 change SendForm route container 2018-12-05 09:26:30 +01:00
Szymon Lesisz
9f6e9e37a6 split sendForm actions 2018-12-05 09:26:30 +01:00
Szymon Lesisz
c9d30da6b2 split SendForm into networks 2018-12-05 09:26:30 +01:00
Szymon Lesisz
4acb597401 split Summary view into networks 2018-12-05 09:25:54 +01:00
Szymon Lesisz
7f56cdbcde handle unsupported and/or outdated firmware in discovery process 2018-12-05 09:25:54 +01:00
Szymon Lesisz
9d344920df EthereumAccountSummary: restore after rebase 2018-12-05 09:25:54 +01:00
Szymon Lesisz
45583ac477 send account to blockchain subscribe method 2018-12-05 09:25:54 +01:00
Szymon Lesisz
1750bb41dc split Summary components to coin specific files 2018-12-05 09:25:54 +01:00
Szymon Lesisz
3774110a83 handle NOT_SUPPORTED methods in Discovery 2018-12-05 09:24:47 +01:00
Szymon Lesisz
120c227753 RecevieActions: with ripple call 2018-12-05 09:24:47 +01:00
Szymon Lesisz
c9eb911756 DiscoveryReducer: hdkey only in ehereum network type 2018-12-05 09:24:47 +01:00
Szymon Lesisz
7956b4a5fb subscribe to blockchain after discovery 2018-12-05 09:24:47 +01:00
Szymon Lesisz
c66383ddba disable BlockchainActions for non-ethereum networks 2018-12-05 09:24:47 +01:00
Szymon Lesisz
0918403024 split discovery actions to coin specific files 2018-12-05 09:24:47 +01:00
Szymon Lesisz
198dd4e9c7 add RippleDiscoveryActions 2018-12-05 09:24:47 +01:00
Szymon Lesisz
5888dca31f flowtype: add type to Network declaration 2018-12-05 09:24:47 +01:00
Szymon Lesisz
a58644f8ec Load tokens only is exists in config 2018-12-05 09:24:47 +01:00
Szymon Lesisz
c6ce9a94d7 DiscoveryReducer: HDKey only for ethereum 2018-12-05 09:24:47 +01:00
Szymon Lesisz
25130ce282 add xrp to config 2018-12-05 09:24:47 +01:00
Szymon Lesisz
d20ebdb71d Merge branch 'master' into sign/verify 2018-12-04 18:52:53 +01:00
Szymon Lesisz
187e462ba9 nitpick: change ampersand 2018-12-04 17:53:19 +01:00
Szymon Lesisz
bdc8eb070e nitpick: remove unnecessary flowtype 2018-12-04 17:48:38 +01:00
Szymon Lesisz
a0ff803c1d nitpick: rename signVerifyReducer to signVerify 2018-12-04 17:48:05 +01:00
Vladimir Volek
654fb9603b Merge branch 'sign/verify' of github.com:satoshilabs/trezor-wallet into sign/verify 2018-11-27 17:12:37 +01:00
Vladimir Volek
bf3dd1cfde Fix validation on send 2018-11-27 17:11:46 +01:00
Szymon Lesisz
6be0ae37ea passphrase modal fix 2018-11-23 17:36:06 +01:00
Vladimir Volek
0194184d5d
Merge branch 'master' into sign/verify 2018-11-22 17:26:46 +01:00
Vladimir Volek
ea3ad58d48 Fixed props in input and textarea 2018-11-22 17:15:07 +01:00
Vladimir Volek
d62a914824 Turn off autocomplete - fix 2018-11-22 16:33:32 +01:00
Vladimir Volek
041c3ac422 Revert "Turn off autocomplete"
This reverts commit 8127a1a105.
2018-11-22 16:25:03 +01:00
Vladimir Volek
9e5a1706a9 Merge branch 'sign/verify' of github.com:satoshilabs/trezor-wallet into sign/verify 2018-11-22 16:19:33 +01:00
Vladimir Volek
0652f5a4b3 merge 2018-11-22 16:19:18 +01:00
Vladimir Volek
8127a1a105 Turn off autocomplete 2018-11-22 16:16:05 +01:00
Szymon Lesisz
a2e3d4eb1f add token message 2018-11-22 16:14:21 +01:00
Szymon Lesisz
5cf996f000 clear SignVerifyReducer on ACCOUNT.DISPOSE action 2018-11-22 15:35:25 +01:00
Szymon Lesisz
bbcf2cf70c remove console.log 2018-11-22 15:31:17 +01:00
Vladimir Volek
e9a60afa0f merge 2 2018-11-22 15:19:44 +01:00
Vladimir Volek
851c7f23cb merge 2018-11-22 15:15:29 +01:00
Vladimir Volek
35b97f9114
Merge pull request #252 from trezor/fix/validate-token-in-send-draft
token existence validation
2018-11-22 15:08:57 +01:00
Szymon Lesisz
d26d354fbd autoSelect props in Input component 2018-11-22 15:01:45 +01:00
Vladimir Volek
f5537ca513 fix flow 3 2018-11-22 14:41:11 +01:00
Vladimir Volek
22adf7fac1 fix flow 2 2018-11-22 14:34:11 +01:00
Vladimir Volek
68d3bbb738 Fix flow 2018-11-22 14:20:37 +01:00
Szymon Lesisz
556b2be84f cleaning up SelectedAccountActions + add default loading case 2018-11-22 14:19:48 +01:00
Vladimir Volek
04946b5f06 Do no render loader and notification together 2018-11-22 14:19:48 +01:00
Vladimir Volek
f53726c451 Added missing case 2018-11-22 14:19:48 +01:00
Vladimir Volek
827e5f14fa Separate notifications and loader 2018-11-22 14:19:48 +01:00
Vladimir Volek
c3bb0899c9 Fix flow 2018-11-22 14:19:48 +01:00
Vladimir Volek
5c93a899cb Fixed row 2018-11-22 14:19:48 +01:00
Vladimir Volek
c5a9c8fdb7 Added messages to loading, added more cases 2018-11-22 14:19:48 +01:00
Vladimir Volek
7b7eb5350d Added loader for all accounts views 2018-11-22 14:19:48 +01:00
Vladimir Volek
e28576e19e Added loading state for content 2018-11-22 14:19:48 +01:00
Vladimir Volek
43906f505c Add clear actions 2018-11-21 19:32:28 +01:00
Vladimir Volek
e41cc22e3b Move values to redux 2018-11-21 19:19:14 +01:00
Vladimir Volek
93000adf9e Added touched option for inputs 2018-11-21 16:36:53 +01:00
Szymon Lesisz
2a7d5394db token existence validation 2018-11-21 16:24:22 +01:00
Szymon Lesisz
9437cb25e8 eslint: remove unused var 2018-11-21 14:47:15 +01:00
Szymon Lesisz
09c02160ea fix flowtype warning (default export in actions) 2018-11-21 14:47:04 +01:00
Szymon Lesisz
4589bb9171 showDefaultGasLimitButton condition 2018-11-21 14:35:30 +01:00
Szymon Lesisz
a944b9287e SendFormActions: setDefaultGesLimit - token or coin value fix 2018-11-21 14:35:30 +01:00
Vladimir Volek
fc50202f6a Added action 2018-11-21 14:35:30 +01:00
Vladimir Volek
4b55bde476 Added button 2018-11-21 14:35:30 +01:00
Vladimir Volek
b151c9715b Fixed link dom props 2018-11-21 14:28:26 +01:00
Vladimir Volek
3b374e424e Unify labels in section 2018-11-18 18:28:53 +01:00
Vladimir Volek
8ed59317c7 Simplify actions with modals 2018-11-18 17:35:47 +01:00
Vladimir Volek
f738d0be9c Added loader to sign and verify 2018-11-15 17:48:55 +01:00
Vladimir Volek
d8762ec76f Merge branch 'feature/accounts-loader' into sign/verify 2018-11-15 17:44:44 +01:00
Vladimir Volek
6c2ae9c1be Fix flow 2018-11-15 17:44:21 +01:00
Vladimir Volek
0999c99432 Added icon 2018-11-15 17:04:17 +01:00
Vladimir Volek
6a9371fa2b Fix confirm on device 2018-11-15 16:34:28 +01:00
Vladimir Volek
f93eb3bebd Fix flow 2018-11-15 16:19:04 +01:00
Vladimir Volek
3d8991bac3 Removed link from landing footer 2018-11-12 20:33:07 +01:00
Vladimir Volek
682a1ff8cf Add link for coingecko api 2018-11-12 18:11:48 +01:00
Szymon Lesisz
80158d60c6 add readOnly property to Input component 2018-11-12 17:54:03 +01:00
Szymon Lesisz
b9b7d2d076 fixed link to "old wallet" and copy in FirmwareUpdate page 2018-11-12 17:30:47 +01:00
Szymon Lesisz
d3093313d6 fix fiat rate value in reducer 2018-11-12 12:39:24 +01:00
Vladimir Volek
8e13b49d2e Review implemented 2018-11-12 10:36:40 +01:00
Vladimir Volek
9844983e09 renamed service 2018-11-07 17:44:57 +01:00
Vladimir Volek
18f82f1453 Fix flow 2018-11-07 17:43:18 +01:00
Vladimir Volek
eaede07068 Propagate rate to ui 2018-11-07 17:14:06 +01:00
Vladimir Volek
9498a4effa Added coingecko api 2018-11-07 14:31:42 +01:00
Vladimir Volek
63a296808b Merge branch 'master' of github.com:satoshilabs/trezor-wallet 2018-11-06 16:13:13 +01:00
Vladimir Volek
76b66c348c Fixed browser select crash 2018-11-06 16:13:07 +01:00
Vladimir Volek
615d8b2f58 Changed case image 2018-11-06 15:12:57 +01:00
Szymon Lesisz
bc6b47eb62 fix utils tests: notification.test 2018-11-06 14:23:37 +01:00
Vladimir Volek
f3024e1abb Added DigiByte link to menu 2018-11-06 14:13:03 +01:00
Vladimir Volek
72b5120bbc Added image preloader 2018-11-06 14:08:25 +01:00
Vladimir Volek
a114b47b77 Fix eslint 2018-11-05 18:07:04 +01:00
Vladimir Volek
c6a04f2648 Removed logs 2018-11-05 17:56:11 +01:00
Vladimir Volek
8c24bcf9f3 Fixed typo 2018-11-05 17:54:58 +01:00
Vladimir Volek
dd6117b008 Confirm moved to modals 2018-11-05 17:54:07 +01:00
Vladimir Volek
68a8307b49 Added progress action for verify 2018-11-05 17:10:09 +01:00
Vladimir Volek
bc0238403b Add trezor action to textarea 2018-11-05 16:45:45 +01:00
Vladimir Volek
12f094a595 Refactor trezor action 2018-11-05 15:13:22 +01:00
Vladimir Volek
53f7a8ecef merge 2018-11-05 14:57:23 +01:00
Vladimir Volek
f1484484df No newlines in menu link 2018-11-05 14:45:17 +01:00
Vladimir Volek
83e46bd012 Fixed row 2018-11-05 12:12:26 +01:00
Vladimir Volek
53ca124a55 Added messages to loading, added more cases 2018-11-05 12:07:32 +01:00
Vladimir Volek
31889270a0 Implemented review 2018-11-02 16:38:27 +01:00
Vladimir Volek
cc18d18e4c
Merge pull request #230 from trezor/fix/wallet-type-empty-passphrase
Fix/wallet type empty passphrase
2018-11-02 16:18:57 +01:00
Vladimir Volek
cd53be7d39
Merge pull request #228 from trezor/feature/seedless-device
Feature/seedless device
2018-11-02 13:22:57 +01:00
Szymon Lesisz
9215cb0fe8 eslint + flowtype fixes 2018-11-01 18:53:35 +01:00
Vladimir Volek
5fbd4a3291 Add loading state for notification button 2018-11-01 18:53:35 +01:00
Szymon Lesisz
474871d375 wallet type from passphrase modal
- added new action "CONNECT.UPDATE_WALLET_TYPE" to update DeviceReducer
- pass device straight from action getState() instead of param of this action
- replace switch with if
2018-11-01 18:47:44 +01:00
Szymon Lesisz
bdf1a1d409 add seedless view 2018-11-01 10:53:56 +01:00
Vladimir Volek
90c0dd1276 Added loader for all accounts views 2018-10-31 12:55:29 +01:00
Vladimir Volek
a1cf6cc296 Fixed passphrase checkbox 2018-10-31 12:52:33 +01:00
Szymon Lesisz
ade65a222b eslint + flowtype fixes 2018-10-31 12:51:35 +01:00
Vladimir Volek
8030aa71b1 Added loading state for content 2018-10-31 12:31:43 +01:00
Vladimir Volek
ea391a2a00 Fixed eslint 2018-10-31 11:35:37 +01:00
Vladimir Volek
347767de3d Fixed icon hover and tooltip 2018-10-31 11:35:37 +01:00
Vladimir Volek
b87386a6b1 Added trezor action for input 2018-10-31 11:35:37 +01:00
Vladimir Volek
d682833aa3 Make initial layout responsive 2018-10-31 11:35:37 +01:00
Vladimir Volek
5aaadade36 Refactored to input 2018-10-31 11:35:37 +01:00
Vladimir Volek
42fa20664a fix height and eslint 2018-10-31 11:18:36 +01:00
Vladimir Volek
7fca224159 better log format 2018-10-31 11:18:36 +01:00
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