diff --git a/data-service/classes/DataManager.ts b/data-service/classes/DataManager.ts index bf8812f471..8d477875a2 100644 --- a/data-service/classes/DataManager.ts +++ b/data-service/classes/DataManager.ts @@ -96,10 +96,27 @@ export class DataManager { description: descriptionHash[id] }; + // TODO: delete when gateway will be ready + const gatewaySoonAsset = { + status: 4, + version: DATA_PROVIDER_VERSIONS.BETA, + id, + provider: 'WavesPlatform', + ticker: null, + link: null, + email: null, + logo: null, + description: descriptionHash[id] + }; + if (id === 'WAVES') { return { status: STATUS_LIST.VERIFIED, description: descriptionHash.WAVES } as any; } + if (id === WavesApp.defaultAssets.VST) { + return gatewaySoonAsset; + } + if (gateways[id]) { return gatewayAsset; } diff --git a/package.json b/package.json index da1ede15b3..09e88fbf40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "waves-client", - "version": "1.2.8", + "version": "1.2.9", "description": "The official client application for the Waves platform", "private": true, "repository": { diff --git a/src/img/assets/vostok.svg b/src/img/assets/vostok.svg new file mode 100644 index 0000000000..65e17d3e56 --- /dev/null +++ b/src/img/assets/vostok.svg @@ -0,0 +1,10 @@ + + diff --git a/src/index.hbs b/src/index.hbs index 8e1dce9707..6195c49171 100644 --- a/src/index.hbs +++ b/src/index.hbs @@ -348,7 +348,8 @@ BSV: config.network.assets.BSV, DASH: config.network.assets.DASH, TRY: config.network.assets.TRY, - XMR: config.network.assets.XMR + XMR: config.network.assets.XMR, + VST: config.network.assets.VST }, ALWAYS_PINNED_ASSETS: ['WAVES'], diff --git a/src/modules/app/services/DefaultSettings.js b/src/modules/app/services/DefaultSettings.js index 1d0c05a437..f5f7a18fca 100644 --- a/src/modules/app/services/DefaultSettings.js +++ b/src/modules/app/services/DefaultSettings.js @@ -62,7 +62,8 @@ WavesApp.defaultAssets.BSV, WavesApp.defaultAssets.TRY, WavesApp.defaultAssets.DASH, - WavesApp.defaultAssets.XMR + WavesApp.defaultAssets.XMR, + WavesApp.defaultAssets.VST ], wallet: { activeState: 'assets', diff --git a/src/modules/ui/directives/assetLogo/AssetLogo.js b/src/modules/ui/directives/assetLogo/AssetLogo.js index 7c3468f2cb..0944fe35b1 100644 --- a/src/modules/ui/directives/assetLogo/AssetLogo.js +++ b/src/modules/ui/directives/assetLogo/AssetLogo.js @@ -15,6 +15,7 @@ [WavesApp.defaultAssets.BSV]: '/img/assets/bitcoin-cash-sv.svg', [WavesApp.defaultAssets.TRY]: '/img/assets/try.svg', [WavesApp.defaultAssets.XMR]: '/img/assets/xmr.svg', + [WavesApp.defaultAssets.VST]: '/img/assets/vostok.svg', [WavesApp.otherAssetsWithIcons.EFYT]: '/img/assets/efyt.svg', [WavesApp.otherAssetsWithIcons.WNET]: '/img/assets/wnet.svg' }; diff --git a/src/modules/ui/directives/assetStatus/AssetStatus.js b/src/modules/ui/directives/assetStatus/AssetStatus.js index 55591b77cf..fd7c5cd19e 100644 --- a/src/modules/ui/directives/assetStatus/AssetStatus.js +++ b/src/modules/ui/directives/assetStatus/AssetStatus.js @@ -27,9 +27,12 @@ isGateway, isTokenomica, isSuspicious, + isGatewaySoon, hasLabel } = utils.getDataFromOracles(this.assetId); this.isGateway = isGateway; + // TODO: delete when gateway will be ready + this.isGatewaySoon = isGatewaySoon; this.isTokenomica = isGateway ? false : isTokenomica; this.isVerified = isTokenomica ? false : isVerified; this.isSuspicious = isVerified ? false : isSuspicious; diff --git a/src/modules/ui/directives/assetStatus/asset-status.html b/src/modules/ui/directives/assetStatus/asset-status.html index 9e0943a362..adad3cd1c2 100644 --- a/src/modules/ui/directives/assetStatus/asset-status.html +++ b/src/modules/ui/directives/assetStatus/asset-status.html @@ -14,3 +14,6 @@ class="status-label-min inactive" w-i18n-ns="app.utils" w-i18n="modal.assetInfo.suspicious"> + +GATEWAY SOON diff --git a/src/modules/ui/directives/transaction/transactions.less b/src/modules/ui/directives/transaction/transactions.less index f20caf9d2b..b675673974 100644 --- a/src/modules/ui/directives/transaction/transactions.less +++ b/src/modules/ui/directives/transaction/transactions.less @@ -71,6 +71,11 @@ w-transaction .transaction { } } + .exchange-type { + white-space: nowrap; + margin-right: 5px; + } + .icon { position: relative; width: 48px; diff --git a/src/modules/ui/directives/transaction/types/exchange/exchange.html b/src/modules/ui/directives/transaction/types/exchange/exchange.html index 8371fe36a8..3ae952ed8b 100644 --- a/src/modules/ui/directives/transaction/types/exchange/exchange.html +++ b/src/modules/ui/directives/transaction/types/exchange/exchange.html @@ -2,7 +2,7 @@