Skip to content

Commit

Permalink
Release 1.20.0 rc2 (#1143)
Browse files Browse the repository at this point in the history
* move to separate module (#871)

* move to separate module

* add enabling flag

* Update getters.ts

* remove route

* Update types.ts

* Update Dockerfile

* Update Dockerfile

* Add reserves subscription to addLiquidity (#870)

* add reserves subscription to addLiquidity

* check pool properties subscription

* refactoring liquidities vies

* fix imports

* fix addLiquidity confirm

* fix remove liquidity

* fix liquidity provider message

* fix slider input

* removeLiquidity totalSupply updates

* fix addLiquidity input field reset

* addLiquidity update subscriptions after disconnect

* refactoring token balance subscriptions

* remove unnecessary code from swap

* refactoring liquidity stores

* fix slider

* return env

* update demeter farming

* computed property for optimization

* update staking page

* update wallet to 1.11.5

* return env

* fix getLockedAmount getter

* update prod env.json (#878)

* Fix page document title for the first load (#880)

* Fix page title for the first load

* Refactor router logic

* update wallet

* update wallet & override tokens table css

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* Fix confirm buttons loading state (#881)

* fix confirm buttons loading state

* fix tabs

* Remove console logs

* Fix styles

* Fix styles

* Update subquery endpoint

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Update ReferralProgram.vue (#884)

* From master to develop (#885)

* fix calculator fields (#888)

* fix calculator fields

* remove rewards crowdloan hardfix

* fix token row css

* Fix bridge loader styles (#886)

* Reduce assets size (#887)

* Reduce png & svg size using minimizer

* Remove not used svg

* Replace svg with icon font for referrer error

* Reduce png size using minimizer

* Remove unused styles for About page

* Explore page (#857)

* add route for explore & tokens pages

* add routes for explore pages & tabs

* refactoring explore container, add search field

* change config to stage, use demeter mixin

* explore-table styles to mixin

* refactoring explore pages

* show user token balances

* table fixes

* add calculator

* add some columns to explore pools page

* refactoring tables

* update titles

* fix loader on demeter faming staking

* refactoring demeter page mixin

* fix ts issues

* update translations

* refactoring explore pages & fix issues

* revert pools & tokens subscriptions

* update default sort tokens page

* fix demeter explore

* add keys for rendering

* refactoring types

* change tabs order & fix en translations

* fixes after review

* Add desktop support (#891)

* Add desktop support

* Add delay to ConfirmInviteUser dialog

* Add desktop settings

* improve connection process (#892)

* Fix css for swap fiat values (#893)

* fix css on swap fiat value

* update wallet 1.12.6

* fix PW-811 node adress check

* pw-913 tokens page prices

* Refactoring pools rendering (#890)

* refactoring pool page

* refactoring mixins

* change v-if to v-show badges

* refactoring apr calc & assetsTable getter

* transfer some computed properties

* refactoring mixins

* prepare data in parent'

* fix staking page

* refactoring usages

* remove unused properties

* update demeter explore calculator

* return env.json

* remove unnecessary code

* chart refactoring & fix demeter farming page list

* fix multiple chart requests after switching tokens

* fix types

* Update for new subquery (#894)

* update charts & tokens

* refactoring normalize function

* update pool apy

* pool apy subscription

* update wallet

* dedup yarn.lock & fix env.json

* update yarn.lock

* fix getPoolApy arg types

* charts button on swap view (#895)

* Swap Chart: Invert tokens (#896)

* update switch token logic, optimize chart rendering

* fix chart algorithm

* improve types & fix chart data calc

* render filter count

* refactoring fetchData

* add chart reverse button & update technic

* update comments

* rename investment to balance (#899)

* use reactive  instead of router (#897)

* fix staking page title (#898)

* add restore history button (#900)

* Fix rewards screen flashing (#901)

* change default gradient & tokens on rewards screen

* refactoring rewards tabs

* update formattedAmount component & add prefix to explore balance (#902)

* Update referral system messages (#903)

* update messages for referral system locally

* update wallet

* Fix candlestick chart empty space (#907)

* fill empty space between last snapshot & current timestamp

* refactoring

* update wallet to 1.12.11

* revert env.json

* Fix referral system delay (#906)

Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* Fix custom token logic (#905)

Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* Add switch to explore (#908)

* add switch to explore

* sync switcher with storage

* Fix fee warning dialog behavior (#910)

* Fix fee warning dialog behavior

* Update deps

* Update yarn.lock

* Fix table overrides

* Fix Demeter explore active positions (#909)

* css fixes & demeter

* update wallet

* Update deps

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* fix address css (#911)

* Fix asset-asset search in pools on explore page (#913)

* Add tooltips to TVL & ROI (#912)

* add tooltips

* add translations

* up version to 1.13.0

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* XST tokenomics & remove market maker countdown (#917)

* update views

* update wallet & remove market maker countdown

* update wallet 1.13.1 (#918)

* deploy trigger removal

Signed-off-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>

* Liiquidity proxy 1.6 (#923)

* update wallet with liqudity proxy

* update swap view

* improve btn loading state (#924)

* up wallet version 1.13.4 (#925)

* up wallet version

* update wallet

* up wallet version to 1.13.5 (#926)

* up wallet version

* update wallet to 1.13.5

* fix ts issues

* Feature/x1-widget (#876)

* move to separate module

* add enabling flag

* Update getters.ts

* remove route

* Update types.ts

* x1 widget

* redesign

* refactor & add X1

* Update RoadMap.vue

* improvements in flow & KYC status

* remove logs

* fixes

* take into account different statuses matches

* settings & stub

* fixes & x1 enabling

* add prod settings

* wip

* organize credentials

* change css

* Update env.json

* css refactoring

* Update env.json

* fixes

* roll out prod widget X1

* remove console.log

* refactor & fixes

* handle no record response

* Update SoraCardIntroPage.vue

* Fix/chart precision (#928)

* fix precision while loop

* improve precision calc

* optional fee popup (#919)

* add checks

* up wallet

* use exact version

* Update wallet

* Update localise files

* Update translation files

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* [Remove Liquidity] Show ceres locked liquidity (#922)

* show ceres locked liquidity percent

* change translation of locked

* refactoring rendering

* Update translations

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Use settingsStorage from wallet (#929)

* Use settingsStorage from wallet

* Update wallet version

* Hide switch on Explore page for !isLoggedIn

* Update lokalise

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix search focus behavior (#932)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Add fearless (#934)

* Update package.json

* Update yarn.lock

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix fearless integration (#936)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix Fearless wallet (#937)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix Fearless link for Mozilla (#938)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* update wallet to TBCD (#940)

* Update wallet (#943)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Upgrade PW SDK  (#930)

* add phone input

* Update Phone.vue

* implement logic

* Update ConfirmationInfo.vue

* add disclaimer for X1

* Update ToSDialog.vue

* fixes

* update wallet 1.15.0 (#945)

* fixes (#946)

* fixes

* typo

* Fix styles issues related to card (#948)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* [Explore Page] Hide tokens & pools with zero tvl (#941)

* change tokens page data handling

* update explore pools

* remove console

* tokens min liquidity 1

---------

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* improve routing (#947)

* Add loading state for router

* Add setLoading mutation for router

* Add comment

* Modify goto logic of router

* Add links

* Add page loader

* Improve goTo with additional checks pages by default

* Update vue router

* Update generateLocaleJson.ts

* Fix page loading

* Use goTo for separate moonpay page

* Update comment

* Add Sonar

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* fix (#949)

* Fix lokalise and SORA Card issues (#950)

* Remove sora, evm, pageNotFound

* Add polkadot apps link to bridge txs

* Update lokalise keys

* Improve images

* Improve card routing

* Update ConfirmationInfo.vue

* Fix texts

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix phone and styles for card (#951)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix sora card phone and route (#952)

* Fix phone inputs (#953)

* Fix phone inputs

* Update Email.vue

* add const

* Update Phone.vue

* Update Phone.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: RustemYuzlibaev <rustem.yuzlibaev@yandex.ru>

* Fix email, first, last name length (#954)

* Fix email, first, last name length

* Add loader for euro calculations

* Update SoraCardIntroPage.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* git (#955)

* test push

* refactor

* tmp disable sonar

* fix cred name

* update wallet to 1.15.2 (#957)

* update wallet to 1.15.2

* fix issues after wallet update

* update wallet to 1.15.3

* change value

* fix json error (#958)

* fix path

* fix path

* switch to tachi

* test

* revert lib

* test values check

* fix lib

* DAST pipeline update

* Update Jenkinsfile-dast

* revert lib

* fix (#961)

* Fix connection disconnected event (#960)

* fix disconnected event

* update wallet to 1.15.4

* update translations

---------

Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Otp resend try fix (#964)

* add event

* fix OTP resend issue

* wipe email before start

* low limit

* SORA Card translation (#959)

* prework

* add lang keys

* update translations

* todo rejection translation

* update translations

* update translations

* Update Jenkinsfile-dast

* Free KYC attempts counter (#962)

* prework

* add lang keys

* prework

* update translations

* todo rejection translation

* add flow with new KYC attempt

* improve price request

* fix

* Revert "fix"

This reverts commit 18af1f3.

* show pending status when finished KYC

* remove price calculation stub

* update translations

* merge translation PR

* show reject reasons

* email fix resend (#967)

* Update Email.vue

* add missing words

* Hide LP fee (#968)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix liqudity proxy route and args (#969)

* update liquidity-proxy calls

* update wallet 1.15.7

* multiple otp send fix (#970)

* fix

* cancel changes

* fixes

* update wallet 1.15.9 (#973)

* update wallet to 1.15.10 (#974)

* Status bar & SORA Card fixes (#882)

* Draft

* Add subquery & node connection checks

* Add node location

* Fix imports for App component

* Add no internet dialog

* Fix location in node model

* Add footer popper

* Draft

* Fix margin

* Remove node selection from header

* Move all common logic to footer popper

* Add interaction with tab

* Fix outline

* Update SwapTransactionDetails.vue

* Use Notification mixin

* Fix colors

* Fix colors

* 2nd Draft

* Replace node selection dialog

* Remove unused deps

* Move SelectNodeDialog

* Fix styles for slippage tolerance

* Add new const

* Update SlippageTolerance.vue

* Refactor AppFooter & NoInternetDialog

* Update statistics dialog

* Finilize colors for Statistics statuses

* Update library

* Update yarn.lock

* Update StatisticsDialog.vue

* Add scss/css variables

* Update en.json

* Update translations

* Update en.json

* Update translations

* Fix displayRegions

* Fix styles in StatisticsDialog

* Keep selected node details up to date

* Add TODO

* Fix imports

* Fix SORA Card issues

* Translate blacklisted countries

* Fix SORA Card translations

* Handle case when `navigator.connection` isn't supported

* Update StatisticsDialog.vue

* Update App.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Update Jenkinsfile

* Reduce bundle size (#942)

* Reduce bundle size

* Update vue.config.js

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Feature/network stats (#931)

* refactoring styles

* refactoring letter-spacing

* network-stats-row

* improve network stats adaptive

* refactoring columns data

* change group data logic

* tvl chart wip

* add ChartSkeleton component

* handle chart error & update tooltip

* add volume chart example

* refactoring specs

* refactoring components folder structure

* wip refactoring folders structure

* refactoring components folders

* wip fees chart

* fix charts fetching

* data fetching for supply chart

* add token-dropdown to supply chart

* skeleton fixes

* fixes

* fix error

* refactoring

* fix imports

* update network stats components

* refactoring charts data fetching

* update translations

* test

* revert lib

* refactoring imports

* refactoring MarketAlgorithm paths

* fix weekly stats, legend, x axis overlap

* SimpleNotification from wallet

* update according qa

* update translations

* network stats chart fixes

* supply bar chart

* update supply color, explore method

---------

Co-authored-by: Stefan Popov <stefanpopov@list.ru>
Co-authored-by: Pavel Varfolomeev <wpi86@yandex.ru>

* Update Jenkinsfile-dast

* Move disclaimer to front page (#965)

* Update SoraCardIntroPage.vue

* add to front page & fix translations

* add flow with not found number

* add missing translations

* remove debug actions

* remove unused css

* Fix/bridge select asset (#976)

* fix bridge select asset

* fix bridge history request

* fix transaction-details arrow

* upfate wallet 1.15.11 (#977)

* move disclaimer (#914)

* Update AppHeaderMenu.vue

* add popover

* store value

* remove old disclaimer

* add translation keys

* fix type

* use css variables

* add defined box-shadow

* update translation

* force user to make decision

* Update storage.ts

* show disclaimer if no approve

* set disclaimer

* fix

* wait until loading

* add translations

* fix margins

* fix width

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* fix (#980)

* Fix max limit speed for internet connection (#975)

* Fix max limit speed for internet connection

* Fix issues

* Fix tab issues

* Fix issue with negative left values

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Add Token Velocity column to Tokens Page (#979)

* add velocity columns

* add en translation

* update translations

* fix css

* remove symbol column from tokens page

---------

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* remove keys (#981)

Co-authored-by: Stefan Popov <stefanpopov@list.ru>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* Demeter dialogs bottom padding adding (#982)

Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* update wallet 1.15.12 (#983)

* Add routing for pairs (#971)

* Add routing for pairs

* Fix

* Update index.ts

* Finilise routing flow

* Update SelectedTokensRouteMixin.ts

* Update SubscriptionsMixin.ts

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix release issues (#984)

* Fix action button styles in status bar

* Fix z-index

* Fix outline styles

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Move disclaimer to App Header (#986)

* Move disclaimer to App Header

* Update AppHeaderMenu.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Move disclaimer to App Header (#986)

* Move disclaimer to App Header

* Update AppHeaderMenu.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* fix swap container and chart align (#987)

* fix supply chart axis label (#989)

* Fix release issues (#990)

* Fix SWAP route issue

* Fix outline styles

* Add online/offline consts

* Remove translation keys for online/offline

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Update Jenkinsfile to use PR-generator SecretStore bot secret

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* Fix flag (#992)

* Fix flag

* Update AppFooter.vue

* Update countryFlagEmoji.ts

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix styles (#994)

* Update card.ts (#997)

* add formula to velocity tooltip (#996)

Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>

* apply suggestions

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* Reuse subscriptions in SubscriptionsMixin (#998)

* reuse subscriptions in SUbscriptionsMixin

* change variable name

* update router config (#999)

* Improve sora card styles (#1000)

* Improve sora card styles

* Remove logs

* Update Widget.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix seo logo (#1001)

* fix camera translation (#1002)

* fix (#1003)

* fix subscription hooks (#1004)

* add DialogTitle component (#1005)

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Add nodes location for prod (#1006)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* change text from accounts to new accounts (#1010)

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* update polkadot deps and fix account length (#1014)

* Update polkadot js deps

* Fix wallet

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Explore page improvements (#1012)

* change pagination of explore page

* simplify query & change velocity calc

* freeze components external data

* remove unused code

* refactoring demeter pages

* up version

* refactoring token approve (#1008)

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* update wallet to 1.16.2 (#1017)

* Refactoring getters (#1018)

* move some getters to components

* refactoring select-token component

* remove getter

* Update crowdloans (#1022)

* update crowdloan rewards

* update wallet

* css fixes

* change request

* update private modifiers

* use rw bot

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

---------

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: BAStos525 <jungle.vas@yandex.ru>

* up wallet (#1024)

* update wallet for crowdloans fixes (#1025)

* update crowdloans in actions

* ypdate yarn.lock

* fix type

* Update xst swaps (#1027)

* update swap view

* update wallet init

* update genesis hash check (#1028)

* Update env.json (#1029)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Update env.json (#1030)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Google wallet (#978)

* wip integration

* remove isDesktop flag

* add en translation keys

* update dialogs paddings

* update wallet 1.16.0-beta.2

* experiment with secretScannerExclusion

* secretScannerExclusion regex experiment

* add empty keys to prod env.json

* fix bridge tx signing

* update wallet 1.16.0-beta.4

* small css fixes

* update wallet to 1.16.0-beta.5

* update wallet

* update translations

* update wallet

* filter zero tvl snapshots (#1033)

* remove unused contracts (#1034)

* fix Jenkinsfile PR-generator part

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* add downstreamJob (#1042)

* Add fearless (#1038)

* Add fearless for SORA card

* Fix route params

* Update SoraCard.vue

* Add message

* Update KycView.vue
---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* price alerts (#1013)

* prework

* use wallet store

* add translations

* add translation & update wallet & fix

* Update en.json

* fix double dialog overlay

* add delta percent calculation

* adjust

* use rw bot for PR-generation

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* fix PR-generation var

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* add typings

* update PR-generation vars

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* write logic for display of low cost assets

* switch to false when not granted

* annotate params

* take into account abnormal setup

* up wallet

* add translations

* add translations from localise

* fix wiped translations

* fixes

* fixes

* format

---------

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: BAStos525 <jungle.vas@yandex.ru>

* Trustless EVM Bridge support (#792)

* refactoring utils bridge folder structure & exports

* update wallet integration

* import EthBridgeStates from wallet

* add eth hashi bridge translations

* transfer updateEthBridgeHistory function to settings

* wip web3 refactoring

* wip update registered assets

* change network in metamask

* wip network select & change

* select network dialog refactoring

* evmAddress evmNetwork in storage

* update bridge confirm dialog

* wip update bridge view

* prepare history item creation

* wip BridgeTransaction view

* wip Bridge class

* wip evm bridge transaction handler

* wip outgoing reducer

* subscribe on tx details

* update BridgeHistory view

* add evm hash container

* update TransferNotification

* update network selection

* update select network dialog for history usage

* add select network to bridge history

* show history from network

* update transfer flow

* update history sync logic

* refactoring sync

* wip bug fixes

* refactoring state

* improve removing local history

* update Moonpay integration

* mock incoming reducer

* change selected evm network on moonpay history

* fix async process

* refactoring BridgeContainer

* add some chains to list

* refactoring chain names

* fix hashi bridge history restoration

* update network changing for hashi bridge restoration

* resolve SelectToken conflicts

* remove merge conflicts

* fix merge conflicts

* add sepolia to config

* update with library imports

* remove merge conflicts

* fix messages file

* fix merge conflicts

* fix components names

* wip select network

* resolve ts issues

* return eth bridge settings

* update registered assets for network types

* update history params

* refactoring bridge classes

* refactoring bridge interfaces

* return eth bridge sign actions

* fix select asset mixin

* wip update bridge history

* update history actions

* start up bridge transaction

* update bridge getters

* fix network switch

* update history states

* refactoring bridge types

* refactoring eth reducers

* return approve from dev

* return blocks left message

* refactoring translations

* update external history

* update select network dialog & icons

* history refactoring

* networks disabled state

* improve bridge transaction view

* change eth bridge storage key

* update wallet, remove unused translations

* refactoring bridge types

* update translations from localise

* update translations

* remove some todo

* refactoring eth history class

* dont restore evm address

* reduce method complexity

* reduce complexity

* fetch balances right after account connec

* remove unnecessary code from bridge reducers

* fix bug when restored transaction overrides in process

* fix history restoration

* revert transactions fetching logic

* refactoring tx date

* update prod config

* refactoring getRegisteredAssets

* improve getRegisteredAssets update

* fix bug with lost balance

* remove console.log

* refactoring block production time usage

* update wallet

* refactoring network icon

* fixes after review

* remove unused method

* fix network change detection

* improve evm network switch

* refactoring smart contracts usage

* remove unused imports

* fix allowance check

* fix approve btn message

* refactoring getRegisteredAssets

* update external balances

* update translations (#1047)

* remove tilda sign  (#1045)

* Update AppDisclaimer.vue

* add translations

* add missing

* fix pw sdk & add countries (#1044)

* fix pw sdk & add countries

* extend interval

* remove camera access when applied

* add more countries

* add css var

* switch branche of jenkins library

* switch to master branch for jenkins library

* handle X1 unavailability

* Update X1Dialog.vue

* cancel remove camera access

* refactor

* remove unused package

---------

Co-authored-by: Aleksey Kazakov <kazakov@soramitsu.co.jp>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Create hideFromSearchEngine.sh (#1046)

* Create hideFromSearchEngine.sh

* Update hideFromSearchEngine.sh

* add noindex

* revert lib

* delete script

---------

Co-authored-by: Pavel Varfolomeev <wpi86@yandex.ru>

* Improve ext connection and linting (#1053)

* Improve extensions connection

* Improve linting

* Update deps

* Update yarn.lock

* Improve config

* Exec lint

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* fix trailing char (#1056)

* Fix synths (#1057)

* Substrate bridge outgoing (#1059)

* update imports

* add substrate networks to select

* fix available sub networks

* wip list assets

* update bridge view

* add sub reducer

* update bridge transaction view

* update external history

* fix history reset

* add bridge select account dialog

* refactoring bridge select account

* update SelectAccount ui

* wip select account directions

* update bridge change direction

* update env.json

* update sub reducer

* update sub history

* update translations & wallet

* use lint config from dev

* set outgoung direction for sub bridge

* Fix/disclaimer btn show (#1058)

* fix trailing char

* Update AppDisclaimer.vue

* Update AppDisclaimer.vue

* make button out of scroll area

* adjust timeouts

* add error case

* remove duplicates

* remove class

* Fix Sub bridge issues (#1060)

* reset form on network change

* fix network name in ui

* update KAR address

* update wallet

* add text for scroll (#1064)

* Fix bridge network update from metamask (#1065)

* fix bridge network change detection

* fix polkadot.js link

* Add fee multiplier support (#1066)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* change welcome text (#1069)

* Fix/substrate outgoing network select (#1076)

* reset form on network change

* fix network name in ui

* update KAR address

* wip rococo adapter

* fix yarn.lock

* update assets on network change

* update balance method for sub

* fix adapter connection wait

* refactoring action name

* refactoring block number usage

* update external balance for selected asset

* network update fixes

* native balance update

* Set up coverage

* separate prod and stage

* fix var

* add pre branch

* fix var

* revert lib

* Update actions.ts (#1078)

* Substrate bridge incoming transaction tracking (#1081)

* reset form on network change

* fix network name in ui

* update KAR address

* wip rococo adapter

* fix yarn.lock

* update assets on network change

* update balance method for sub

* fix adapter connection wait

* refactoring action name

* refactoring block number usage

* update external balance for selected asset

* network update fixes

* native balance update

* update external data after sora block update

* update selectedNetwork data

* show sender & recepient balance

* fix balance update

* update env.json

* update adapters endpoints

* add messageHash from collator as externalHash temporary

* wait for rococo message

* add external links

* fix adapter endpoint reset issue

* refactoring sonar related issues

* incoming transaction signing

* incoming transaction tracking demo

* remove unused update balances

* fix history remove

* fix BridgeTransaction asset balance & refactoring

* sub history update

* disconnect after bridge leave

* refactoring disconnect

* update wallet

* revert env.json

* remove console.log9

* fix (#1082)

* fix

* Update AlertList.vue

* fix ru

* Fix sub assets fetching & hashi bridge issues (#1083)

* fix hashi bridge

* fetch sub bridgeassets

* update wallet

* fix external account check

* remove unnecessary codeline

* remove console.log

* Change jenkins lib

* Update KycView.vue (#1084)

* Fix bridge account link (#1085)

* fix bridge account link

* wait for external balances fetching

* refactoring bridge fees & balances fetching

* fix sonar issues

* fix sub tx trancking

* fix transaction link style

* Fix xst & sorting on explore page (#1075)

* Update Wallet.vue

* Fix regexp

* Refactor tokens page

* Add default sorting for tokens page

* Update Tokens.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix issues 1.17 (#1086)

* Hide 'show only synths'

* Update CERES endpoint for status bar

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Check changes for errors

* Revert

* Fix notification links (#1092)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Add params

* Merge fixes from release 1.17.0 (#1097)

* Fix transaction view balance check (#1095)

* fix ui checks

* fix computed

* Fix bridge external decimals (#1096)

* fix ui checks

* fix computed

* fix check

* Fix evm expected fee (#1091)

* update evm gas price

* improve gas fee calculation

* remove mainnet from evm networks ids

* update gasLimits

* add external fee warning

* refactoring externalBalance

* update locales

* update translations from localisr

* fix merge conflict

* Save sub bridge transaction fees in runtime tx processing (#1088)

* fix hashi bridge

* fetch sub bridgeassets

* update wallet

* fix external account check

* remove unnecessary codeline

* remove console.log

* demo for fetching extrinsic fee

* fix merge conflict

* save tx fee & xcm fee

* remove duplicated code from bridge reducers

* improve network restoration

* refactoring external native token balance

* refactoring registered asset naming

* update evm gas price

* update evm gas price

* improve gas fee calculation

* remove mainnet from evm networks ids

* update gasLimits

* add external fee warning

* refactoring externalBalance

* update locales

* update translations from localisr

* impove outgoing tracking

* wip locked balance

* use locked balance in bridge calculations

* refactoring

* update BridgeTransaction asset locked balance check

* refactoring event search

* get bridge contract asset locked balance

* remove Karura from config

* refactoring before wallet update

* update wallet 1.18.1

* calc evm fee based on asset kind

* fix sonar issues

* fix naming

* Bridge balances refactoring (#1100)

* update store balances

* remove externalBalance from sort method

* refactoring balance update

* bridge route params

* Change jenkins lib

* spam reminder & bridge fee fix (#1103)

* address book (#1099)

* bump wallet

* add lang

* Update KycView.vue

* bump wallet

* update wallet 1.18.5 (#1106)

* [SORA Card]: change camera access request (#1107)

* add functionality

* add translations

* add css vars

* Update KycView.vue

* Update KycView.vue

* Update SECURITY.md (#1105)

* Update SECURITY.md

Quick grammar fixes to security policy

* Update SECURITY.md

* Update SECURITY.md

* Update SECURITY.md

---------

Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>

* [Swap] Show loss warning dialog (#1108)

* update value-status-wrapper

* add loss warning dialog

* update translations

* fix loss translation argument

* update wallet 1.18.8 (#1110)

* Fix sub bridge tracking issues (#1104)

* fix incoming tracking first steps

* improve rococo incomplete transaction tracking

* update retry button

* refactoring namings in sub reducer

* return env.json

* parachain data tracking

* add sora parachain hash to transaction ui

* improve incoming failed tx tracking

* refactor to pass sonar

* add block height & blocks left in ui

* update wallet 1.18.6

* refactoring adapter usage

* wip adapters usage

* try to refactor complexity

* replace adapters in reducer

* add beforeSign to bridge reducer

* move sora sign to reducers

* refactoring signExternal

* try to pass sonar

* refactoring complexity

* refactoring duplicated code

* fix incoming tracking & transfer notification modal

* [Bridge UI] Use xcm fee in amount calculations (#1112)

* fix incoming tracking first steps

* improve rococo incomplete transaction tracking

* update retry button

* refactoring namings in sub reducer

* return env.json

* parachain data tracking

* add sora parachain hash to transaction ui

* improve incoming failed tx tracking

* refactor to pass sonar

* add block height & blocks left in ui

* update wallet 1.18.6

* refactoring adapter usage

* wip adapters usage

* try to refactor complexity

* replace adapters in reducer

* add beforeSign to bridge reducer

* move sora sign to reducers

* refactoring signExternal

* try to pass sonar

* refactoring complexity

* refactoring duplicated code

* fix incoming tracking & transfer notification modal

* add externalTransferFee to store

* rename evm to external fee

* get transfer fee from const

* update bridge main form & logic

* fix bridge formatted fee

* native token decimals

* revert BridgeInitMixin changes

* Fix node name in status bar (#1113)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Add soramitsu node (#1114)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* update wallet 1.18.9 (#1115)

* Update nodes names (#1116)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* [Tech] Testing workflow (#1111)

* Update card.ts

* fix sr lang

* add Auth and KYC SDK creds

* fix typo

* use dev price oracle

* Update X1Dialog.vue

* Update X1Dialog.vue

* Update X1Dialog.vue

* Update X1Dialog.vue

* check url

* change images

* remove mentions

* Update sr.json

* Update X1Dialog.vue

* switch to prod endpoint

* Update KycView.vue

* Update X1Dialog.vue

* Update card.ts

* debug

* Update KycView.vue

* Update X1Dialog.vue

* Update X1Dialog.vue

* Fix todo-s comments

* make silent

* fix typo

* debug referenceNumber

* Fix soraNetwork issues

* Update KycView.vue

* Fix types issue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* remove sora parachain xcm fee, update rococo event (#1120)

* update wallet with google login (#1121)

* Get blacklisted countries from ipfs (#1122)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* update wallet with google seed fix (#1124)

* Sub history restoration update (#1127)

* remove sora parachain xcm fee, update rococo event

* wip history restoration

* add parachain data for history restoration

* show parachain block id instead of extrinsic hash

* wip outgoing tx restoration

* sub history incoming restoration

* unify bridge history actions

* refactoring sub history restoration

* update wallet 1.19

* update TransactionView external hash placeholder

* refactoring sub history

* fix decimals in locked balance check (#1128)

* Update KycView.vue (#1131)

* Fix release 1.19 (#1134)

* Update mainnet config

* Update zh_CN.json

* Improve translations

* Update wallet version

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* fix decimals usage (#1136)

* Use address book in sub bridge (#1133)

* use address book in sub bridge

* update wallet & fix BridgeTransaction vie

* Fix release 1.20 (#1141)

* Fix types & remove brackets for fiat difference

* Set 10% as the default error status for fiat difference/price impact

* Fix issues with Cyrillic character

* Add synths filter

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

---------

Signed-off-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>
Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>
Co-authored-by: German Vechtomov <89127595+ox7a59@users.noreply.github.com>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>
Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>
Co-authored-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>
Co-authored-by: Nikita Zaporozhets <95526886+f33r0@users.noreply.github.com>
Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: Pavel Varfolomeev <wpi86@yandex.ru>
Co-authored-by: wpi86 <86880521+wpi86@users.noreply.github.com>
Co-authored-by: frodan <daniil.fronc@mail.ru>
Co-authored-by: Daniil Fronts <Frodan@users.noreply.github.com>
Co-authored-by: Viacheslav <shlavik@gmail.com>
Co-authored-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: BAStos525 <66615487+BAStos525@users.noreply.github.com>
Co-authored-by: Aleksey Kazakov <kazakov@soramitsu.co.jp>
Co-authored-by: C4tWithShell <shelkovnikov@soramitsu.co.jp>
Co-authored-by: Dmitriy Creed <creed@soramitsu.co.jp>
Co-authored-by: Vladimir Shelkovnikov <99356504+C4tWithShell@users.noreply.github.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
  • Loading branch information
20 people authored Aug 21, 2023
1 parent 0c7a202 commit 3b93498
Show file tree
Hide file tree
Showing 32 changed files with 105 additions and 55 deletions.
2 changes: 1 addition & 1 deletion src/components/mixins/ExplorePageMixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class ExplorePageMixin extends Mixins(

@Ref('table') readonly tableComponent!: any;
@Prop({ default: '', type: String }) readonly exploreQuery!: string;
@Prop({ default: false, type: Boolean }) readonly isAccountItems!: boolean;
@Prop({ default: false, type: Boolean }) readonly isAccountItemsOnly!: boolean;
@Watch('exploreQuery')
private resetCurrentPage(): void {
this.currentPage = 1;
Expand Down
3 changes: 2 additions & 1 deletion src/components/shared/ExternalLink.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<a class="external-link p4" :href="href" target="_blank" rel="nofollow noopener">
<a class="external-link" :class="defaultClass" :href="href" target="_blank" rel="nofollow noopener">
<span>{{ title }}</span>
</a>
</template>
Expand All @@ -11,6 +11,7 @@ import { Vue, Component, Prop } from 'vue-property-decorator';
export default class ExternalLink extends Vue {
@Prop({ default: '', type: String }) title!: string;
@Prop({ default: '', type: String }) href!: string;
@Prop({ default: 'p4', type: String }) defaultClass!: string;
}
</script>

Expand Down
4 changes: 3 additions & 1 deletion src/lang/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Most {Hashi}",
"disclaimerTitle": "Disclaimer \/ Zřeknutí se odpovědnosti",
"explore": {
"showOnlyMyPositions": "Zobrazit pouze moje pozice"
"showOnly": "Zobrazit pouze {entities}",
"myPositions": "moje pozice",
"synthetics": "syntetické tokeny"
},
"tooltips": {
"roi": "{ROI} znamená návratnost investic. Vypočítá se vydělením zisku získaného z investice náklady na tuto investici v procentuálním ekvivalentu.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} Brücke",
"disclaimerTitle": "Haftungsausschluss",
"explore": {
"showOnlyMyPositions": "Nur meine Positionen anzeigen"
"showOnly": "Nur {entities} anzeigen",
"myPositions": "Meine Positionen",
"synthetics": "Synthetische Tokens"
},
"tooltips": {
"roi": "{ROI} steht für Return on Investment. Es wird berechnet, indem der mit einer Investition erzielte Gewinn durch die Kosten dieser Investition in einem prozentualen Äquivalent dividiert wird.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} bridge",
"disclaimerTitle": "Disclaimer",
"explore": {
"showOnlyMyPositions": "Show only my positions"
"showOnly": "Show only {entities}",
"myPositions": "my positions",
"synthetics": "synthetic tokens"
},
"tooltips": {
"roi": "{ROI} stands for Return on Investment. It is calculated by dividing the profit earned on an investment by the cost of that investment in a percentage equivalent.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Puente {Hashi}",
"disclaimerTitle": "Aviso legal",
"explore": {
"showOnlyMyPositions": "Mostrar solo mis posiciones"
"showOnly": "Mostrar solo {entities}",
"myPositions": "mis posiciones",
"synthetics": "tokens sintéticos"
},
"tooltips": {
"roi": "{ROI} significa Retorno de la Inversión. Se calcula dividiendo la ganancia obtenida en una inversión por el costo de esa inversión en un porcentaje equivalente.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Pont {Hashi}",
"disclaimerTitle": "Avertissement",
"explore": {
"showOnlyMyPositions": "Afficher uniquement mes positions"
"showOnly": "Afficher uniquement {entities}",
"myPositions": "mes postes",
"synthetics": "jetons synthétiques"
},
"tooltips": {
"roi": "{ROI} signifie retour sur investissement. Il est calculé en divisant le bénéfice réalisé sur un investissement par le coût de cet investissement en pourcentage équivalent.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} most",
"disclaimerTitle": "Disclaimer:",
"explore": {
"showOnlyMyPositions": "Pokaži samo moje pozicije"
"showOnly": "Pokaži samo {entities}",
"myPositions": "moje pozicije",
"synthetics": "sintetički tokeni"
},
"tooltips": {
"roi": "{ROI} je kratica za povrat ulaganja. Izračunava se dijeljenjem dobiti ostvarene ulaganjem troškom tog ulaganja u postotnom ekvivalentu.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} híd",
"disclaimerTitle": "Jogi nyilatkozat",
"explore": {
"showOnlyMyPositions": "Csak az én pozíciómat mutasd"
"showOnly": "Csak {entities} megjelenítése",
"myPositions": "saját pozícióim",
"synthetics": "szintetikus tokenek"
},
"tooltips": {
"roi": "A {ROI} a befektetés megtérülését jelenti. Kiszámítása úgy történik, hogy a befektetésen megszerzett nyereséget elosztjuk a befektetés százalékban kifejezett költségével.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/hy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} կամուրջ",
"disclaimerTitle": "Հրաժարում պատասխանատվությունից",
"explore": {
"showOnlyMyPositions": "Ցույց տալ միայն իմ դիրքերը"
"showOnly": "Ցուցադրել միայն {entities}",
"myPositions": "իմ դիրքերը",
"synthetics": "արհեստական թոքեններ"
},
"tooltips": {
"roi": "{ROI} նշանակում է ներդրումների վերադարձ: Այն հաշվարկվում է ներդրումներից ստացված շահույթը բաժանելով այդ ներդրման արժեքին` տոկոսային համարժեքով:",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Jembatan {Hashi}",
"disclaimerTitle": "Penafian",
"explore": {
"showOnlyMyPositions": "Hanya tampilkan posisi saya"
"showOnly": "Hanya tampilkan {entities}",
"myPositions": "posisi saya",
"synthetics": "token sintetis"
},
"tooltips": {
"roi": "{ROI} adalah singkatan dari Pengembalian Investasi. Ini dihitung dengan membagi laba yang diperoleh dari investasi dengan biaya investasi itu dalam persentase yang setara.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Ponte {Hashi}",
"disclaimerTitle": "Disclaimer",
"explore": {
"showOnlyMyPositions": "Mostra solo le mie posizioni"
"showOnly": "Mostra solo {entities}",
"myPositions": "le mie posizioni",
"synthetics": "token sintetici"
},
"tooltips": {
"roi": "{ROI} sta per ritorno sull'investimento. Viene calcolato dividendo il profitto ottenuto su un investimento per il costo di tale investimento in una percentuale equivalente.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} brug",
"disclaimerTitle": "Disclaimer",
"explore": {
"showOnlyMyPositions": "Toon alleen mijn posities"
"showOnly": "Toon alleen {entities}",
"myPositions": "mijn posities",
"synthetics": "synthetische tokens"
},
"tooltips": {
"roi": "{ROI} staat voor Return on Investment. Het wordt berekend door de winst op een investering te delen door de kosten van die investering in een procentueel equivalent.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} bro",
"disclaimerTitle": "Ansvarsfraskrivelse",
"explore": {
"showOnlyMyPositions": "Vis bare mine posisjoner"
"showOnly": "Vis bare {entities}",
"myPositions": "mine posisjoner",
"synthetics": "syntetiske tokens"
},
"tooltips": {
"roi": "{ROI} står for Return on Investment. Den beregnes ved å dele fortjenesten opptjent på en investering med kostnaden for den investeringen i en prosentekvivalent.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Most {Hashi}",
"disclaimerTitle": "Zastrzeżenie",
"explore": {
"showOnlyMyPositions": "Pokaż tylko moje pozycje"
"showOnly": "Pokaż tylko {entities}",
"myPositions": "moje pozycje",
"synthetics": "tokeny syntetyczne"
},
"tooltips": {
"roi": "{ROI} oznacza zwrot z inwestycji. Oblicza się go, dzieląc zysk uzyskany z inwestycji przez koszt tej inwestycji w ekwiwalencie procentowym.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Мост {Hashi}",
"disclaimerTitle": "Отказ от ответственности",
"explore": {
"showOnlyMyPositions": "Показать только мои позиции"
"showOnly": "Показать только {entities}",
"myPositions": "мои позиции",
"synthetics": "синтетические токены"
},
"tooltips": {
"roi": "{ROI} означает рентабельность инвестиций. Она рассчитывается путем деления прибыли, полученной от инвестиции, на стоимость этой инвестиции в процентном эквиваленте.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Most {Hashi}",
"disclaimerTitle": "Vylúčenie zodpovednosti",
"explore": {
"showOnlyMyPositions": "Zobraziť iba moje pozície"
"showOnly": "Zobraziť iba {entities}",
"myPositions": "moje pozície",
"synthetics": "syntetické žetóny"
},
"tooltips": {
"roi": "{ROI} znamená návratnosť investícií. Vypočítava sa vydelením zisku získaného z investície nákladmi na túto investíciu v percentuálnom ekvivalente.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/sr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} most",
"disclaimerTitle": "Одрицање одговорности",
"explore": {
"showOnlyMyPositions": "Prikaži samo moje pozicije"
"showOnly": "Prikaži samo {entities}",
"myPositions": "moje pozicije",
"synthetics": "sintetički tokeni"
},
"tooltips": {
"roi": "{ROI} označava povraćaj investicije. Obračunava se deljenjem dobiti ostvarene na investiciji po trošku te investicije u procentualno ekvivalentnom iznosu.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} bro",
"disclaimerTitle": "Ansvarsfriskrivning",
"explore": {
"showOnlyMyPositions": "Visa bara mina positioner"
"showOnly": "Visa endast {entities}",
"myPositions": "mina positioner",
"synthetics": "syntetiska tokens"
},
"tooltips": {
"roi": "{ROI} står för Return on Investment. Den beräknas genom att dividera den vinst som tjänats in på en investering med kostnaden för den investeringen i en motsvarande procentsats.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "Cầu {Hashi}",
"disclaimerTitle": "Disclaimer",
"explore": {
"showOnlyMyPositions": "Chỉ hiển thị vị trí của tôi"
"showOnly": "Chỉ hiển thị {entities}",
"myPositions": "vị trí của tôi",
"synthetics": "token tổng hợp"
},
"tooltips": {
"roi": "{ROI} là viết tắt của Lợi tức đầu tư. Nó được tính bằng cách chia lợi nhuận kiếm được từ một khoản đầu tư cho chi phí của khoản đầu tư đó theo tỷ lệ phần trăm tương đương.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/yo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi} Afara",
"disclaimerTitle": "Akiyesi",
"explore": {
"showOnlyMyPositions": "Ṣe afihan awọn ipo mi nikan"
"showOnly": "Ṣafihan {entities} nikan",
"myPositions": "awọn ipo mi",
"synthetics": "sintetiki àmi"
},
"tooltips": {
"roi": "{ROI} duro fun Pada lori Idoko-owo. O ṣe iṣiro nipasẹ pinpin èrè ti o jo'gun lori idoko-owo nipasẹ idiyele ti idoko-owo yẹn ni deede ogorun kan.",
Expand Down
4 changes: 3 additions & 1 deletion src/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,9 @@
"hashiBridgeText": "{Hashi}桥",
"disclaimerTitle": "免责声明:",
"explore": {
"showOnlyMyPositions": "只显示我的位置"
"showOnly": "仅显示 {entities}",
"myPositions": "我的立场",
"synthetics": "合成代币"
},
"tooltips": {
"roi": "{ROI}代表投资回报率。它的计算方法是将投资赚取的利润除以该投资的成本(以等值百分比表示)。",
Expand Down
2 changes: 1 addition & 1 deletion src/store/settings/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const getters = defineGetters<SettingsState>()({
},
chartsEnabled(...args): boolean {
const { state } = settingsGetterContext(args);
return !!state.featureFlags.charts && state.сhartsEnabled;
return !!state.featureFlags.charts && state.chartsEnabled;
},
soraCardEnabled(...args): Nullable<boolean> {
const { state } = settingsGetterContext(args);
Expand Down
4 changes: 2 additions & 2 deletions src/store/settings/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ const mutations = defineMutations<SettingsState>()({
storage.set('marketAlgorithm', value);
},
setChartsEnabled(state, value: boolean): void {
state.сhartsEnabled = value;
storage.set('сhartsEnabled', value);
state.chartsEnabled = value;
storage.set('сhartsEnabled', value); // TODO: replace Cyrillic character
},
setTransactionDeadline(state, value: number): void {
state.transactionDeadline = value;
Expand Down
4 changes: 2 additions & 2 deletions src/store/settings/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ function initialState(): SettingsState {
const node = settingsStorage.get('node');
const customNodes = settingsStorage.get('customNodes');
const disclaimerApprove = settingsStorage.get('disclaimerApprove');
const сhartsEnabled = storage.get('сhartsEnabled');
const chartsEnabled = storage.get('сhartsEnabled');
const isBrowserNotificationApiAvailable = 'Notification' in window;
return {
featureFlags: {},
slippageTolerance: storage.get('slippageTolerance') || DefaultSlippageTolerance,
marketAlgorithm: (storage.get('marketAlgorithm') || DefaultMarketAlgorithm) as MarketAlgorithms,
сhartsEnabled: сhartsEnabled ? Boolean(JSON.parse(сhartsEnabled)) : true,
chartsEnabled: chartsEnabled ? Boolean(JSON.parse(chartsEnabled)) : true,
userDisclaimerApprove: disclaimerApprove ? JSON.parse(disclaimerApprove) : false,
transactionDeadline: Number(storage.get('transactionDeadline')) || 20,
isBrowserNotificationApiAvailable,
Expand Down
2 changes: 1 addition & 1 deletion src/store/settings/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type SettingsState = {
featureFlags: FeatureFlags;
slippageTolerance: string;
marketAlgorithm: MarketAlgorithms;
сhartsEnabled: boolean;
chartsEnabled: boolean;
userDisclaimerApprove: boolean;
transactionDeadline: number;
node: Partial<Node>;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/swap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export enum DifferenceStatus {

export const getDifferenceStatus = (value: number): string => {
if (value > 0) return DifferenceStatus.Success;
if (value < -5) return DifferenceStatus.Error;
if (value < -10) return DifferenceStatus.Error;
if (value < -1) return DifferenceStatus.Warning;
return '';
};
8 changes: 4 additions & 4 deletions src/views/Explore/Container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@

<div v-if="switcherAvailable" class="switcher">
<s-switch v-model="isAccountItemsOnly" />
<span>{{ t('explore.showOnlyMyPositions') }}</span>
<span>{{ t('explore.showOnly', { entities: t('explore.myPositions') }) }}</span>
</div>

<router-view
v-bind="{
exploreQuery,
isAccountItems,
isAccountItemsOnly,
parentLoading,
...$attrs,
}"
Expand Down Expand Up @@ -57,14 +57,14 @@ export default class ExploreContainer extends Mixins(mixins.LoadingMixin, Transl
@getter.wallet.account.isLoggedIn private isLoggedIn!: boolean;
exploreQuery = '';
isAccountItems = storage.get(storageKey as any) ? JSON.parse(storage.get(storageKey as any)) : false;
private isAccountItems = storage.get(storageKey as any) ? JSON.parse(storage.get(storageKey as any)) : false;
get isAccountItemsOnly(): boolean {
return this.isAccountItems;
}
set isAccountItemsOnly(value: boolean) {
storage.set(storageKey as any, value);
storage.set(storageKey as any, value); // TODO: Update StorageKey
this.isAccountItems = value;
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Explore/Demeter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export default class ExploreDemeter extends Mixins(TranslationMixin, DemeterBase
}
get preparedItems(): TableItem[] {
if (!this.isAccountItems) return this.items;
if (!this.isAccountItemsOnly) return this.items;
return this.items.filter((item) => item.isAccountItem);
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Explore/Pools.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default class ExplorePools extends Mixins(ExplorePageMixin, TranslationMi
}
get preparedItems(): TableItem[] {
if (!this.isAccountItems) return this.items;
if (!this.isAccountItemsOnly) return this.items;
return this.items.filter((item) => item.isAccountItem);
}
Expand Down
Loading

0 comments on commit 3b93498

Please sign in to comment.