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

1550 Commits

Author SHA1 Message Date
slowbackspace
d876fe4ebd change icon for "change wallet type" btn 2019-01-16 14:33:44 +01:00
slowbackspace
c0f794aaad move wallet icons to icons file 2019-01-16 14:09:30 +01:00
slowbackspace
6db7aada27 remove dead code 2019-01-16 11:16:18 +01:00
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