Skip to content

Commit

Permalink
Release 1.39.0 (sora-xor#1487) (sora-xor#1489)
Browse files Browse the repository at this point in the history
* Update ValidatorsDialog.vue

* Fix

* Xor  commission fix

* Add vote on survey and new banner (#1251)

* Add new banner

* Add vote on survey & move SORA mobile link

* Add survey image

---------



* Fixes

* Fixes

* Fixes

* Translation fix

* Editable fiat amount in input (#1250)

* use token-input in bridge, remove outdates styles

* add fiat input

* improve fiat value calculations

* fiat input fixes

* Fix colors

* Fix

* Fixes

* Fixes

* Fix

* Remove imports

* fix chart current price (#1256)

* refactoring

* remove lib from resolutions

* fix retry button visibility (#1254)

* fix retry button visibility

* Update package.json

* return 1.27.0 version

---------



* Sidebar hide button (#1249)

* add collapse button to sidebar

* add tooltip to icon

* sidebar hover effect

* update translations

* update menu css

* update wallet

* Improve Eth bridge fees calculation (#1257)

* fix retry button visibility

* refactoring sign methods

* calc incoming fee

* transfer method to eth bridge utils

* update BridgeInitMixin

* add fallback calculation

* update amount to calculate fee

* fix sonar issues

* Fix rewards destination

* Fixes

* Fixes

* Revert env.json

* Fixes

* Remove tooltip

* Translation fix

* Remove utils

* Rename function

* Fix translation file

* Remove all rewards info

* Fix styles

* Staking badge click (#1258)

* Validators search input fix (#1262)

* Staking badge click

* Validators search input fix

* Fix release issues 1.27 (#1261)

* Make mx button hidden when hide balances is enabled

* Fix issues

---------



* Refactor staking (#1263)

* Refactor

* Fix validators list style

* Fix commission format

* Fix change validators disable

* Fix styles

* Fixes

* Use stakingStakers

* Fix staking lang keys

* Update json files

* Update messages.ts

* Add comments

* Update zh_CN.json

* Update env.json

---------




* Add staking routing in menu (#1265)



* Correct staking balance formatting (#1267)

* Correct staking balance formatting

* Remove unused import

* Add 6M filter for stats page (#1270)



* Add sora card maintenance page (#1269) (#1271)

* Add maintenance page for SORA Card

* Hide crowdloan ad

---------



* Improve zh_CN keys (#1272)

* Fix zh_CN keys

* Update package.json

---------



* Update dojoProductType

* [Bridge] Add Polkadot bridge support (#1277)

* add polkadot consts usage

* update config & icon

* set network fee 0.02 DOT

* subquery endpoint as in master

* fix ui issue with sora hash for incomng tx

* add polkadot xcm fee

* update polkadot network fee

* soraCard:false

* Subsquid prod endpoint

* [BRIDGE] check for asset valid address on bridge contract (#1283)

* check for asset valid address on bridge contract

* remove console.log

* Update wallet

* Use 1000 page size for subsquid

* Prepare prod config (#1285)



* Fix import

* fix ss58 check (#1289)

* set kusama incoming xcm fee 0.01KSM (#1290)

* set kusama incoming xcm fee 0.01KSM

* Update package.json

---------



* order book (#1089)

* prework

* prework

* book list

* prework for table popover

* establish vuex store

* write basic logic

* create order history widget

* add tables

* start book widget

* Update BookWidget.vue

* make market widget

* resolve conflicts

* Update OrderBook.vue

* embed charts

* make api working

* style table

* filter books

* make filters to amount and price

* remove debug info

* Update BuySell.vue

* fix price constraints

* Update Jenkinsfile

* make aggregation

* Update Jenkinsfile

* add checks

* make update

* update

* make sell market order

* Update OpenOrders.vue

* add change

* fix

* add market order, spread checks, confirm dialog

* add confirm cancel dialog

* fix dark mode

* improve dark mode

* hide native scrolls

* add tooltips & improve UX

* improve responsive

* improve ux

* fixes

* improve mobile, tablet, desktop responsibility

* fix market order

* fix input/output

* fix

* fix errors

* make huge screen usable

* add missing data

* Update OpenOrders.vue

* add translations

* upgrade lib & add translations

* forbid cancelling when book is stopped

* dynamic fee

* enable market trades widget

* hide market trades

* fixes

* allow whole row click

* add pagination

* Order book indexer requests (#1223)

* wip queries

* account orders request

* add order book subscription

* refactoring deals

* update types & subscription

* add orders table data & subscription to order book updates

* fix order query

* fix all orders table

* add order books stats to popover

* update stats on popover opening

* add deals to market trades

* fix deals

* refactoring subscriptions & data architecture

* add userLimitOrders type

* update wallet

* add last deal price

* format buySell price

* update table amount

* order table component

* fix filled

* refactoring order table & mixins

* add scaler

* allow whitelist only

* update orders request

* fix cancel

* fix ui issues

* fix wallet version 1.26.2

* fix orders sort

* fix column

* improve adaptive ui

* implement steps

* Update OrderTable.vue

* fix wiping out

* fix

* add checks

* hide debug info

* hide native scrollbar

* improve adaptive design

* up version

* remove mixin

* fix

* Update index.ts

* Update BookWidget.vue

* fix not updating book issue

* make small adjustments

* align values

* align book values

* fixes

* Update BookWidget.vue

* fix input wiping out

* round up styles

* fixes

* fixes

* add margins

* Update OrderBook.vue

* Update package.json

* fix assetsDataTable

* fix scrollbar in orders table

* Order book price chart (#1237)

* transfer asset price query from wallet

* add order book data to chart

* prepare subscription

* set chart subscription

* fix sorting bug

* fix max button fills wrong value

* Update BuySell.vue

* fix precision

* Update BuySell.vue

* warn user when error in input & aggregation logic

* fill price when click on book

* Update BuySell.vue

* fixes

* add feature flag & refactoring

* hide expiry date for market

* refactor

* fix

* [OrderBook] add volume chart (#1248)

* add volume to dataset

* add volume example

* add color to bars

* improve tooltip & labels localization

* build spec depends on volume support

* use filters from line chart

* remove commented code

* add typings

* fix typings

* Update orderBook.ts

* add slider for amount

* remove corridor checks

* Update env.json

* fix on slider

* Update BuySell.vue

* Update TokenInput.vue

* resolve conflicts

* Update _mixins.scss

* inject slider

* Update HistoryOrderWidget.vue

* Revert "Merge branch 'develop' into feature/order-book"

This reverts commit d02e1a65e7d2db20b07cd8055b2e171a61bee639, reversing
changes made to 1f58ed6efe9c8d8d1cd54765382be1e5e26fc766.

* fix chart

* fix fee on place order

* fix disappearance

* Update BookWidget.vue

* fix sonar issues

* fix sonar

* fix

* fixes

* fix issues

* add slider focus

* fix css values

* move collapse logic to store

* enable aggregation

* trim when fiat is input

* resolve conflicts

* Spot limitations (#1255)

* add consts

* Update BuySell.vue

* Update package.json

* fix

* add locked to transaction details

* Update TransactionDetails.vue

* customise prework

* resolve typings

* add limit for single price

* Update package.json

* bump

---------



* Order book refactoring (#1281)

* refactoring BookWidget

* book widget methods refactoring

* BuySell refactoring

* HistoryOrderWidget refactoring

---------



* fix

* recalculate orders & remove possible overlap

* Update BuySell.vue

* Update BookWidget.vue

* fix with precision

* fix tab freeze when switching

* fix

* Update BookWidget.vue

* fix langs switch

* fix for input with different locales

* turn card off

* Update deps

* Update yarn.lock

* Bump version

* Fix lint warnings

* Blur fiat el during slider usage for TokenInput

* Update AppMenu.vue

* Fix icons

* Update index.ts

* Fix shadow

* Remove unused styles

* Fix lint issues

* Update BookWidget.vue

* Update BuySell.vue

* Update CustomisePage.vue

* Resolve linter issues

* Add duration in days for ordertable

* Improve tables

* Fix styles

* Remove empty DatePicker

* Update HistoryOrderWidget.vue

* Restrict autofill from orderbook for mkt

* Update index.ts

* Fix font

* Remove duplicated methods from util

---------






* Fix 1.29 release (#1292)

* Update dot, ksm nodes

* Improve SORA Card maintenance styles

---------



* Update BuySell.vue (#1295)

* Single chart filter (#1293)

* prework

* prework

* book list

* prework for table popover

* establish vuex store

* write basic logic

* create order history widget

* add tables

* start book widget

* Update BookWidget.vue

* make market widget

* resolve conflicts

* Update OrderBook.vue

* embed charts

* make api working

* style table

* filter books

* make filters to amount and price

* remove debug info

* Update BuySell.vue

* fix price constraints

* Update Jenkinsfile

* make aggregation

* Update Jenkinsfile

* add checks

* make update

* update

* make sell market order

* Update OpenOrders.vue

* add change

* fix

* add market order, spread checks, confirm dialog

* add confirm cancel dialog

* fix dark mode

* improve dark mode

* hide native scrolls

* add tooltips & improve UX

* improve responsive

* improve ux

* fixes

* improve mobile, tablet, desktop responsibility

* fix market order

* fix input/output

* fix

* fix errors

* make huge screen usable

* add missing data

* Update OpenOrders.vue

* add translations

* upgrade lib & add translations

* forbid cancelling when book is stopped

* dynamic fee

* enable market trades widget

* hide market trades

* fixes

* allow whole row click

* add pagination

* Order book indexer requests (#1223)

* wip queries

* account orders request

* add order book subscription

* refactoring deals

* update types & subscription

* add orders table data & subscription to order book updates

* fix order query

* fix all orders table

* add order books stats to popover

* update stats on popover opening

* add deals to market trades

* fix deals

* refactoring subscriptions & data architecture

* add userLimitOrders type

* update wallet

* add last deal price

* format buySell price

* update table amount

* order table component

* fix filled

* refactoring order table & mixins

* add scaler

* allow whitelist only

* update orders request

* fix cancel

* fix ui issues

* fix wallet version 1.26.2

* fix orders sort

* fix column

* improve adaptive ui

* implement steps

* Update OrderTable.vue

* fix wiping out

* fix

* add checks

* hide debug info

* hide native scrollbar

* improve adaptive design

* up version

* remove mixin

* fix

* Update index.ts

* Update BookWidget.vue

* fix not updating book issue

* make small adjustments

* align values

* align book values

* fixes

* Update BookWidget.vue

* fix input wiping out

* round up styles

* fixes

* fixes

* add margins

* Update OrderBook.vue

* Update package.json

* fix assetsDataTable

* fix scrollbar in orders table

* Order book price chart (#1237)

* transfer asset price query from wallet

* add order book data to chart

* prepare subscription

* set chart subscription

* fix sorting bug

* fix max button fills wrong value

* Update BuySell.vue

* fix precision

* Update BuySell.vue

* warn user when error in input & aggregation logic

* fill price when click on book

* Update BuySell.vue

* fixes

* add feature flag & refactoring

* hide expiry date for market

* refactor

* fix

* [OrderBook] add volume chart (#1248)

* add volume to dataset

* add volume example

* add color to bars

* improve tooltip & labels localization

* build spec depends on volume support

* use filters from line chart

* remove commented code

* add typings

* fix typings

* Update orderBook.ts

* add slider for amount

* remove corridor checks

* Update env.json

* fix on slider

* Update BuySell.vue

* Update TokenInput.vue

* resolve conflicts

* Update _mixins.scss

* inject slider

* Update HistoryOrderWidget.vue

* Revert "Merge branch 'develop' into feature/order-book"

This reverts commit d02e1a65e7d2db20b07cd8055b2e171a61bee639, reversing
changes made to 1f58ed6efe9c8d8d1cd54765382be1e5e26fc766.

* fix chart

* fix fee on place order

* fix disappearance

* Update BookWidget.vue

* fix sonar issues

* fix sonar

* fix

* fixes

* fix issues

* add slider focus

* fix css values

* move collapse logic to store

* enable aggregation

* trim when fiat is input

* resolve conflicts

* Spot limitations (#1255)

* add consts

* Update BuySell.vue

* Update package.json

* fix

* add locked to transaction details

* Update TransactionDetails.vue

* customise prework

* resolve typings

* add limit for single price

* Update package.json

* bump

---------



* Order book refactoring (#1281)

* refactoring BookWidget

* book widget methods refactoring

* BuySell refactoring

* HistoryOrderWidget refactoring

---------



* fix

* recalculate orders & remove possible overlap

* Update BuySell.vue

* Update BookWidget.vue

* fix with precision

* fix tab freeze when switching

* fix

* Update BookWidget.vue

* fix langs switch

* fix for input with different locales

* turn card off

* set filters like in candle

* set chart animation to false

* remove merge conflicts

* return default chart type

* add order book queries for subsquid

* change zoom after filter siwtch

* reset zoom on filter tab

* refactoring

* update types & subsquid requests

* update wallet to 1.29.1

---------






* fix (#1296)

* Feature/order book translations (#1284)

* prework

* prework

* book list

* prework for table popover

* establish vuex store

* write basic logic

* create order history widget

* add tables

* start book widget

* Update BookWidget.vue

* make market widget

* resolve conflicts

* Update OrderBook.vue

* embed charts

* make api working

* style table

* filter books

* make filters to amount and price

* remove debug info

* Update BuySell.vue

* fix price constraints

* Update Jenkinsfile

* make aggregation

* Update Jenkinsfile

* add checks

* make update

* update

* make sell market order

* Update OpenOrders.vue

* add change

* fix

* add market order, spread checks, confirm dialog

* add confirm cancel dialog

* fix dark mode

* improve dark mode

* hide native scrolls

* add tooltips & improve UX

* improve responsive

* improve ux

* fixes

* improve mobile, tablet, desktop responsibility

* fix market order

* fix input/output

* fix

* fix errors

* make huge screen usable

* add missing data

* Update OpenOrders.vue

* add translations

* upgrade lib & add translations

* forbid cancelling when book is stopped

* dynamic fee

* enable market trades widget

* hide market trades

* fixes

* allow whole row click

* add pagination

* Order book indexer requests (#1223)

* wip queries

* account orders request

* add order book subscription

* refactoring deals

* update types & subscription

* add orders table data & subscription to order book updates

* fix order query

* fix all orders table

* add order books stats to popover

* update stats on popover opening

* add deals to market trades

* fix deals

* refactoring subscriptions & data architecture

* add userLimitOrders type

* update wallet

* add last deal price

* format buySell price

* update table amount

* order table component

* fix filled

* refactoring order table & mixins

* add scaler

* allow whitelist only

* update orders request

* fix cancel

* fix ui issues

* fix wallet version 1.26.2

* fix orders sort

* fix column

* improve adaptive ui

* implement steps

* Update OrderTable.vue

* fix wiping out

* fix

* add checks

* hide debug info

* hide native scrollbar

* improve adaptive design

* up version

* remove mixin

* fix

* Update index.ts

* Update BookWidget.vue

* fix not updating book issue

* make small adjustments

* align values

* align book values

* fixes

* Update BookWidget.vue

* fix input wiping out

* round up styles

* fixes

* fixes

* add margins

* Update OrderBook.vue

* Update package.json

* fix assetsDataTable

* fix scrollbar in orders table

* Order book price chart (#1237)

* transfer asset price query from wallet

* add order book data to chart

* prepare subscription

* set chart subscription

* fix sorting bug

* fix max button fills wrong value

* Update BuySell.vue

* fix precision

* Update BuySell.vue

* warn user when error in input & aggregation logic

* fill price when click on book

* Update BuySell.vue

* fixes

* add feature flag & refactoring

* hide expiry date for market

* refactor

* fix

* [OrderBook] add volume chart (#1248)

* add volume to dataset

* add volume example

* add color to bars

* improve tooltip & labels localization

* build spec depends on volume support

* use filters from line chart

* remove commented code

* add typings

* fix typings

* Update orderBook.ts

* add slider for amount

* remove corridor checks

* Update env.json

* fix on slider

* Update BuySell.vue

* Update TokenInput.vue

* resolve conflicts

* Update _mixins.scss

* inject slider

* Update HistoryOrderWidget.vue

* Revert "Merge branch 'develop' into feature/order-book"

This reverts commit d02e1a65e7d2db20b07cd8055b2e171a61bee639, reversing
changes made to 1f58ed6efe9c8d8d1cd54765382be1e5e26fc766.

* fix chart

* fix fee on place order

* fix disappearance

* Update BookWidget.vue

* fix sonar issues

* fix sonar

* fix

* fixes

* fix issues

* add slider focus

* fix css values

* move collapse logic to store

* enable aggregation

* trim when fiat is input

* make translation prework

* resolve conflicts

* create translations

* translations

* fix merge issues

* embed missing translations

* add missing translations

* fix

* fix ru lang

* add order status translations

* make room for additional space

* Update BuySell.vue

* add descriptive message

* add descriptive message for all langs

* reset

* cancel reset when market order

---------





* Explore order books (#1276)

* prepare explore books data

* fix issues

* update price column

* refactoring explore page mixin

* add filter to order books query

* update wallet 1.28.0

* fix price formatting

* pools from indexer

* remove unused method

* add pool tokens column

* rename quoteAsset to targetAsset for search

* refactoring queries

* refactoring

* update translation key & fix tokens page search

* Fix explore books sorting (#1299)

* fix computed property for table

* refactoring

* fix changeSort type

* Fix release 1.29 (#1294)

* Remove unused import

* Add notification and loading for stake dialog during TX sign

* Fix staking extrinsics notifications and loading states

* Fix redeemable VAL -> XOR

* Update package.json

* Make orderbook open orders reactive & fix cancel orders selection algo

* Remove unused staking methods

* Fix issue with horizontal & vertical scroll

* Update StakingMixin.ts

* Update actions.ts

* Update OpenOrders.vue

* Update OrderTable.vue

* Improve styles

* Fix sync issues

* Fix empty page issues

* Fix styles

* Add Intl percent formatter

* Improve global html styles

* Fix scrollbar

* Refactor source code for PlaceOrder component

* Refactor place order logic

* Fix cancel orders logic and styles

* Update HistoryOrderWidget.vue

* Fix translations for MarketTradesWidget

* Fix connect account styles

* Fix styles

* Remove unused prop

* Move user orders subscription to history widget

* Update PlaceOrder.vue

* Fix issues

* Update SelectedTokensRouteMixin.ts

* Add dynamic routing for orderbook

* Refactor types

* Update OrderBook.vue

* Improve routes (common states for Swap and Orderbook)

* fix translations

* fix mismatch on cancel

* Update deps

---------




* Fix orderbook notifications and orders history (#1300)



* Fix 1.29 issues (#1303)

* Remove marketing research & add transition

* Update wallet

* Fix the flickering collapsed menu when hovering on expand button over the status bar

---------




* Update AppMenu.vue (#1304)



* Fix 1.29.0 issues (#1306)

* Fix menu styles

* Update AppMenu.vue

* Fix click on tooltip for mobile devices

* Update PairListPopover.vue

* Revert "Update AppMenu.vue"

This reverts commit 5147d349b2f15829cd54fd133ab6263d7aa011e3.

* Update wallet

* Fix styles

---------



* Update subquery endpoint (#1308)



* update wallet 1.29.8 (#1309)

* Fix explore menu navigation (#1310)

* Fix explore menu navigation

* update wallet 1.29.9

---------




* Fix cancel all orders (#1313)



* Replace explore tabs with dropdown

* Update soramitsuUI.ts

* Update Container.vue

* Fix selected colors

* Update BuySell.vue (#1301)

* Update BuySell.vue

* handle different side change

* reduce watchers

---------




* add missing balance to token (#1315)

* Fix bridge tx sign with google & mint\burn translations (#1323)

* add beforeSign call

* update wallet & translations from localise

* fix ts issues

* add mint & burn translations

* Add KEN distribution page (#1320)

* validation refactoring (#1319)

* validation refactoring

* add generic component

* log in

* refactor

* Update BookWidget.vue

* hide scaler

* fix zero appearance

* remove commented code

* improve validation

* improve check for unique prices

* add multiply translation

* replace translation

* aggregate conditions

* Update en.json (#1327)

* Fix ken title (#1330)

* Fix KEN title

* Enable orderbook on mainnet

* Bump version

---------



* fix (#1331)

* fix

* add error handling for small balances

* move to dev

* Staking fixes (#1268)

* Staking fixes

* Fix

* Fixes

* Fix

* Redeem dialogs

* Fixes

* Fix subscribeOnCurrentEraTotalStake

* Withdraw

* Fixes

* Some fixes

* Countdown

* Fix countdown position

* Fix countdown calc

* Validators list

* Sorting

* Validator name

* Revert env

* Change default validators sort

* Fixes

* Max

* focus

* Countdown translation

* unbondPeriodFormatted fix

* Remove comments

* Fix colors

* Template fixes

* Update translations

* Fix blackout

* Fix input styles

* Update EraCountdown.vue

* Fix Sonar issues

* Fix notification for withdraw operation

* Max validators

* Validators list style fixes

* Remove new stake network fee

* Fix styles

* Max fix

* Update translations

* Remove empty translations

---------





* expand total text (#1333)

* [Bridge] fix insufficient balance check (#1329)

* fix insufficient balance check

* remove kusama hardcoded xcm

* update Kusama fee to 0.002 KSM

* update polkadot treasury fee

* Fix orderbook styles

* Fix lang

---------





* update order book quote subscription (#1335)

* [Tech] queries from wallet (#1336)

* transfer pools queries

* update referrals

* update wallet & refactoring

* Сhart volume update (#1332)

* refactoring fetchData

* update chart subscription to fetch last snapshot

* update chart tooltip

* update chart styles

* save zoom level after chart type switch

* sonar fixes

* Remove unnecessary imports

* Fix type

* [Tech] update packages (#1337)

* update types

* update charts libs

* update jwt-decode

* update sass & package.json node version

* update typescript

* Max count

* Fix SubsquidOrderBooksQuery

* Fix chart volume update for XOR (#1348)

* fix xor volume update

* set interval polling for chart assets updates

* fixes after review

* update wallet 1.32.3

* deduplicate yarn.lock

* Fix Eth bridge tx replacement (#1350)

* refactoring eth utils methods

* fix replaceable tx tracking

* refactoring

* Update package.json (#1353)

* Update package.json

* Update yarn.lock

---------



* Demeter fixes (#1355)

* fix selectedPool getter

* translations from localise

* add calculating text

* Fix quote rpc (#1356)



* Remove new stake page (#1343)



* Add swap last transactions widget (#1342)

* add BaseWidget component

* replace StatsCard for BaseWidget

* create SwapFormWidget

* refactoring base widget

* wip transactions table

* table demo data

* update transactions widget data

* add links dropdown, improve paddings

* update table styles

* add fromTimestamp to limit query results

* add withParentLoading to ScrollableTable

* swap page custom layout

* add distribution as widget, style fixes

* swap layout fixes

* change swap widgets folder structure

* fix sonar issues

* fix icon hover & dropdown focus

* remove fixed table

* set dropdown foruc rounded

* update table head titles

* mixin  fix

* fix transactions loading

* update table column order

---------



* Fix issues after PRs merge (#1360)

* Fix

* Remove not used styles

---------



* [Sub Bridge] add ability to select substrate node (#1346)

* transfer to liberland

* transfer from liberland

* fix history fetch

* refactoring adapters

* update history restoration

* change autoselectSubAddress

* add asset outgoing minimum amount

* update visible min limit

* update config to sub network endpoint

* multiple endpoints in adapter

* update sup network apps & incoming transfer tracking

* add props to SelectNodeDialog

* simplify NodeErrorMixin

* create connection class file

* simplify trusted node check

* remove nodeConnectionAllowance

* remove some nodes getters

* move action to class

* refactoring connectToNode

* transfer wallet init to App.vue

* use appConnection for sora nodes

* fix node info loading state

* use NodesConnection in SubAdapter

* sub node dialog demo

* update node dialog texts

* update network name in select node dialog

* refactoring NodesConnection reactivity

* simplify adapter

* add BridgeNodeIcon

* ui node name fixes

* ts fixes

* remove todo comments

* fix failed sub tx status in history

* add externalNativeMinBalance

* improve connection wait logic

* refactoring min deposit usage, add translation keys

* check min balance in transferable amount

* update bridge apps after reconnect

* fix select-network disabled css

* update external min balance fetch

* hardcode liberland network fee

* set dns regexp with exact start

* add reload button to node list

* refactoring after review

* update translations

---------




* Add skeleton to swap distribution widget (#1361)

* add distribution skeleton, set tx table columns width

* fix distribution sources css

* fix flex-cell

* return sidebar collapsed css

* Update substrate lib

---------



* Fix 1.32 issues (#1363)

* Add links to bridge transfer modal (#1362)

* add links to modal, update BridgeTransactionMixin

* fix sub tx recipientAmount in reducer

* account links in BridgeTransactionView

* refactoring transaction view links

* add node connection allowance timeout

* return app align center

* remove rococo block explorer url

* fix ts issue

* refactoring sonar issues

* remove isOutgoingType from mixin

* remove unused code

* Improve bridge icons (#1364)

* Add orderbook research link (#1366)



* improve external links (#1367)

* Improve bridge sora links (#1370)

* improve external links

* add tokens.Deposited handler

* fix sub blocks left & account formatting

* improve sora links

* improve sora links & refactoring (#1371)

* update network & xcm fees (#1373)

* Add ability to hide swap widgets (#1374)

* add ability to hide swap widgets

* add WidgetsVisibilityModel

* Collapsed menu background overlaps neighbor fix

* align chart header with swap widget

* update customise widget

* update translations

* style fixes

---------



* update wallet 1.32.7 (#1376)

* Fix liberland adapter balance for custom tokens (#1378)

* Fix liberland adapter balance for custom tokens

* liberland fixes

* update min balance amount & update config

---------




* Reduce network icons svg size (#1380)

* Improve bridge locked amount check (#1381)

* check bridge locked amount usinf asset kind

* return bridge history search field

* fix first connection logic

* improve bridge history search

* Set Tokens as default tab for Explore page (#1383)

* Use PSWAP token instead of file-file-text-24 (#1384)

* Use PSWAP token instead of file-file-text-24

* Update wallet lib

---------



* Fix default explore page (#1386)



* bump wallet (#1389)

* Fix SubsquidPoolsQuery

* Fix chart volume update for XOR (#1348)

* fix xor volume update

* set interval polling for chart assets updates

* fixes after review

* update wallet 1.32.3

* deduplicate yarn.lock

* Fix Eth bridge tx replacement (#1350)

* refactoring eth utils methods

* fix replaceable tx tracking

* refactoring

* Update package.json (#1353)

* Update package.json

* Update yarn.lock

---------



* Demeter fixes (#1355)

* fix selectedPool getter

* translations from localise

* add calculating text

* Fix quote rpc (#1356)



* Remove new stake page (#1343)



* Add swap last transactions widget (#1342)

* add BaseWidget component

* replace StatsCard for BaseWidget

* create SwapFormWidget

* refactoring base widget

* wip transactions table

* table demo data

* update transactions widget data

* add links dropdown, improve paddings

* update table styles

* add fromTimestamp to limit query results

* add withParentLoading to ScrollableTable

* swap page custom layout

* add distribution as widget, style fixes

* swap layout fixes

* change swap widgets folder structure

* fix sonar issues

* fix icon hover & dropdown focus

* remove fixed table

* set dropdown foruc rounded

* update table head titles

* mixin  fix

* fix transactions loading

* update table column order

---------



* Fix issues after PRs merge (#1360)

* Fix

* Remove not used styles

---------



* [Sub Bridge] add ability to select substrate node (#1346)

* transfer to liberland

* transfer from liberland

* fix history fetch

* refactoring adapters

* update history restoration

* change autoselectSubAddress

* add asset outgoing minimum amount

* update visible min limit

* update config to sub network endpoint

* multiple endpoints in adapter

* update sup network apps & incoming transfer tracking

* add props to SelectNodeDialog

* simplify NodeErrorMixin

* create connection class file

* simplify trusted node check

* remove nodeConnectionAllowance

* remove some nodes getters

* move action to class

* refactoring connectToNode

* transfer wallet init to App.vue

* use appConnection for sora nodes

* fix node info loading state

* use NodesConnection in SubAdapter

* sub node dialog demo

* update node dialog texts

* update network name in select node dialog

* refactoring NodesConnection reactivity

* simplify adapter

* add BridgeNodeIcon

* ui node name fixes

* ts fixes

* remove todo comments

* fix failed sub tx status in history

* add externalNativeMinBalance

* improve connection wait logic

* refactoring min deposit usage, add translation keys

* check min balance in transferable amount

* update bridge apps after reconnect

* fix select-network disabled css

* update external min balance fetch

* hardcode liberland network fee

* set dns regexp with exact start

* add reload button to node list

* refactoring after review

* update translations

---------




* Add skeleton to swap distribution widget (#1361)

* add distribution skeleton, set tx table columns width

* fix distribution sources css

* fix flex-cell

* return sidebar collapsed css

* Update substrate lib

---------



* Fix 1.32 issues (#1363)

* Add links to bridge transfer modal (#1362)

* add links to modal, update BridgeTransactionMixin

* fix sub tx recipientAmount in reducer

* account links in BridgeTransactionView

* refactoring transaction view links

* add node connection allowance timeout

* return app align center

* remove rococo block explorer url

* fix ts issue

* refactoring sonar issues

* remove isOutgoingType from mixin

* remove unused code

* Improve bridge icons (#1364)

* Add orderbook research link (#1366)



* improve external links (#1367)

* Improve bridge sora links (#1370)

* improve external links

* add tokens.Deposited handler

* fix sub blocks left & account formatting

* improve sora links

* improve sora links & refactoring (#1371)

* update network & xcm fees (#1373)

* Add ability to hide swap widgets (#1374)

* add ability to hide swap widgets

* add WidgetsVisibilityModel

* Collapsed menu background overlaps neighbor fix

* align chart header with swap widget

* update customise widget

* update translations

* style fixes

---------



* update wallet 1.32.7 (#1376)

* Fix liberland adapter balance for custom tokens (#1378)

* Fix liberland adapter balance for custom tokens

* liberland fixes

* update min balance amount & update config

---------




* Reduce network icons svg size (#1380)

* Improve bridge locked amount check (#1381)

* check bridge locked amount usinf asset kind

* return bridge history search field

* fix first connection logic

* improve bridge history search

* Set Tokens as default tab for Explore page (#1383)

* Use PSWAP token instead of file-file-text-24 (#1384)

* Use PSWAP token instead of file-file-text-24

* Update wallet lib

---------



* Fix default explore page (#1386)



* bump wallet (#1389)

* Change SUBSQUID_ENDPOINT

* Acala support (#1382)

* add Alphanet to consts

* save stage config

* transfer subBridgeConnector to store

* add moonbase alpha icon

* address format research

* refactoring

* revert some changes

* add Acala icon & sub config

* fetch acala assets metadata

* acala balance fetching

* add acala min deposit for token

* add acala extrinsic

* incoming tx history restoration

* refactoring outgoing process

* refactoring outgoing

* update reducer

* refactoring

* remove lib from resolutions

* add moonbase xcm fee & util resolution

* fixes & improvements for acala

* update prod env.json to enable acala

* update wallet 1.33.1

* update sub networks config in const

* remove store dependency in reducer

* only ACA as supported bridge token

* history restoration updates

* change liberland nodes order

* fix adapter withConnection & selectNetwork action (#1391)

* Fix bridge tx account address issues (#1393)

* fix bridge tx account address issues

* refactoring

* update ethers & eth fee request (#1396)

* improve eth fee calculation (#1397)

* Account signature settings (#1394)

* Burn page (#1401)

* Add KARMA distribution page

* Update translations

* Remove subsquid

* Update translations

* Update package.json

* Update zh_CN.json

---------



* Add changes from master (#1403)

* Update Burn.vue

* Remove Liberland Governance node

---------



* Fix min max block for Burn page (#1404)



* Remove orderbook research banner (#1405)

* Add disabled state for Burn page items (#1406)

* Hide SORA Card from menu (#1407)



* fix history restoration & balance deposit & transaction view account addresses (#1409)

* Improve calc algo & loading state for Burn page (#1410)



* formatted amount & lp fixes (#1413)

* kensetsu (#1352)

* Draft

* Update BasePageMixin.ts

* Update BasePageMixin.ts

* Update yarn.lock

* Add asset owner page

* Improve responsive class

* Fix responsive issues related to charts

* Add send token tx & fix styles

* Add mint tx & fix styles during tx processing

* Add burn tx & fix styles during tx processing

* Fix disabled state for TokenInput with slider

* Support new update-name event for AddressBookInput

* Draft for token creation

* Update vue.config.js

* Improve asset owner page

* Refactor Asset owner page

* Add vault store

* Update state.ts

* Remove useless getter from vault

* Update index.ts

* Add bold prop for GenericPageHeader

* Add filter fn prop to SelectToken

* Add kensetsu draft

* Update AppMenu.vue

* Use multiple quote subscriptions

* Update App.vue

* Refactor CreateVaultDialog

* Update Vaults page

* Fix max button for borrow amount

* Improve styles

* Add getLiquidationPenalty

* Improve UI

* Fix

* Update AssetOwnerDetails.vue

* Update kusd

* Fix LtvProgressBar styles

* Fix negative value for XOR as collateral

* Fix styles for Vaults page

* Add draft for min deposit collateral

* Fix formatted values on Vaults page

* AddCollateralDialog draft

* Update lib version

* Add PrevNextInfoLine

* Add minDeposit check to Vault creation dialog

* Add slot to prev-next-info-line

* Fix styles for CreateVaultDialog

* Add logic for AddCollateralDialog

* Update AddCollateralDialog.vue

* Fix decimals issues

* Add BorrowMoreDialog

* Update CreateVaultDialog.vue

* Add RepayDebtDialog

* Improve dialogs error handling & reactivity

* Add close vault dialog

* Add missed non-centered classes

* TokenInput: remove focus & add balanceText prop

* Improve numbers format for CloseVault and AddCollateral

* Fix error icon size

* Improve LtvProgressBar

* Add new icons

* Update api

* Add slippage tolerance component to Kensetsu

* Add subscriptions

* Fix data kensetsu subscriptions

* Fix PW-1562

* Update CreateVaultDialog.vue

* Fix PW-1564

* Add isAddCollateralUnavailable

* Update deps

* Remove ken distribution page

* Update translation strings

* Update en.json

* Add translation keys

* Fix ltv calc and add en strings

* Add translation strings

* Fix debt calc

* Refactor templates

* Update CloseVaultDialog.vue

* Add history based translations

* Update ru.json

* Improve translation strings for Kensetsu

* Fix header styles

* Add stats draft

* Update index.ts

* Add stats

* Adjust ltv with max ltv

* Fix format percent functions

* Add title divider for Vaults page

* Add MAX LTV

* Update ExploreCollaterals.vue

* Add kensetsu overall stats

* Fix percents

* Handle price tools error

* Fix styles

* Make borrow required during the vault creation

* Improve vault creation dialog behaviour

* Check total available debt for collateral in Borrow More dialog

* Fix

* Improve hover icon

* Add borrow tax to kusdAvailable for cdp creation

* Update collaterals & reduce price subs updates

* Improve styles of CreateVaultDialog

* Add available check for explore collaterals

* Prevent events if swap button is clicked

* Exclude borrow tax from available to borrow

* Update BorrowMoreDialog.vue

* Add collaterals subscription per block

* Add paddings for collateral stats

* Add ResponsiveTabs component

* Update ResponsiveTabs.vue

* Update substrate-js

* Update electron deps

* Improve responsive layouts for Kensetsu

* Add feature flags

* Improve available debt checks for Explore collaterals

* Fix borrow link in menu

* Add --sidebar-width

* Fix logout state for Explore collaterals

* Improve responsive design for Explore components

* Fix conflicts

* Stability fee -> Interest

* Update messages.ts

* Improve CreateVault & CloseVault translations

* Improve Vaults & VaultDetails translations

* Update kensetsu translations (vault -> position))

* Download files from lokalise

* Update ExploreCollaterals.vue

* Add kensetsu subquery queries

* Add Vault Details History

* Update VaultDetailsHistory.vue

* Add vaults history

* Update package.json

* Update package.json

* Fix checks

* Add missed translations

* Update Vaults.vue

---------





* add missing translation (#1415)

* Borrow -> Kensetsu (#1417)

* Borrow -> Kensetsu

* Update ru.json

* Fix empty vaults state

---------



* cede payment integration (#1398)

* Update FiatDepositOptions.vue

* preload widget

* add widget

* remove legacy

* change theme

* Update CedeStoreWidget.vue

* update widget

* change wordings

* provide colors

* remove occurrences

* add cede translations

* debug

* clear cached data

* Update env.json

* Add pagination to Vault history (#1416)

* add pagination to Vault history

* fix TransactionsWidget ts

* update FetchVariables ts

* fix accessor

---------



* fix bridge sora link (#1418)

* Add KEN icon (#1420)



* Fix from master 1.35 (#1424)

* Fix release issues (#1421)

* Update env.json (#1423)



---------



* update wallet to 1.35.0 (#1425)

* check_refer_address_sora

* changed_regex_to_api_format_address

* update wallet to 1.35.2 (#1429)

* transform dialog to page (#1427)

* transform dialog to page

* Update CedeStore.vue

* fix namings

* change name

* save localStorage field

* Update index.ts

* bump wallet

* make btn pressed

* change url

* use util method

* multiple fiat dialog (#1388)

* copy logic

* create UI

* make fiat on inputs & stats

* improve search

* Update SelectCurrencyDialog.vue

* Update ChartSkeleton.vue

* make proof of concept

* Revert "make proof of concept"

This reverts commit a4a18075081803b9408b6cff820fa4e5705b7c45.

* bump wallet

* bump wallet

* add missing conversion

* update wallet

* bump wallet

* Update AppHeaderMenu.vue

* fix vice versa conversion

* refactor icons

* Delete polkaswap_icons copy.ttf

* add translations

* add missing types & fixes

* Update PriceChart.vue

---------



* Added subsquid queries

* Test

* Remove all filter

* [Bridge] Astar support (#1399)

* add astar to consts & add logo

* add astar adapter methods

* update wallet

* add shiden to consts

* add astar transfer extrinsic

* improve history restoration for astar

* update reducer to support astar

* add todo

* fix shiden link

---------



* Kensetsu phase 2 (#1433)

* Update package.json

* Update ExploreOverallStats.vue

* Update marketing banner

* Update OrderBook.vue

* Set predev temporarily

* Update deps temporarily

* Update deps

* Update library

* Update api

* Set dev

* Update vault store

* Upgrade kensetsu

* Update action button text for Burn page

* Update env.json

* Update VaultDetails.vue

---------




* [Bridge] Support second account connect for substrate networks (#1435)

* update adapters

* update SelectProvider

* add selectSubAccount action

* use inheritance in SubAdapter

* update account inject

* incoming tx history update

* update selectSubAccount

* adding ConnectionView

* connection integration

* connect wallet on Bridge view

* update wallet

* fix change account butn

* update wallet 1.38.0-beta.1

* wallet 1.38.0-beta.2

* update changeSubAccountName

* add SelectSoraAccountDialog

* fix sonar issues

* open SORA account connect dialog on pages

* fix referral route

* fix build

* update wallet 1.38.0

* Fix Kusama sign tx (#1437)

* update adapters

* update SelectProvider

* add selectSubAccount action

* use inheritance in SubAdapter

* update account inject

* incoming tx history update

* update selectSubAccount

* adding ConnectionView

* connection integration

* connect wallet on Bridge view

* update wallet

* fix change account butn

* update wallet 1.38.0-beta.1

* wallet 1.38.0-beta.2

* update changeSubAccountName

* add SelectSoraAccountDialog

* fix sonar issues

* open SORA account connect dialog on pages

* fix referral route

* fix build

* create sub connection using latest polkadot api

* update wallet 1.38.0

* update yarn.lock

* dont call getNetworkFee on not supported networks (#1438)

* Update dependencies & fix bridge account icon (#1439)

* update dependencies & fix bridge account icon

* deduplicate yarn.lock

* app in window concept (#1422)

* Update App.vue

* Update App.vue

* check

* Update App.vue

* check

* Revert "check"

This reverts commit 4d6bd61a960173d2ec2a6a01ac2b3b133a00f104.

* Update index.html

* Update App.vue

* check

* Update App.vue

* Update App.vue

* Update App.vue

* Update App.vue

* use npm module

* include script

* update wallet

* Update App.vue

* Update App.vue

* add package

* Update App.vue

* Update App.vue

* Update App.vue

* Update App.vue

* Update App.vue

* Update App.vue

* Update shims-tsx.d.ts

* update

* clean packages

* Update App.vue

* Update App.vue

* Update App.vue

* support wallet connect only

* up wallet

* Update NetworkStats.vue

* Update Container.vue

* Update Swap.vue

* add missing translations

* Update App.vue

* Update App.vue

* Update App.vue

* Update App.vue

* Update App.vue

* remove unused keys

* Fix issues

* Update version

* Update TokenInput.vue

* Update Bridge.vue

* Add new keys

* Download from lokalise

* Bigger Kensetsu icon

---------






* Set configurable min limit for burn (#1432) (#1442)

* convert on graphs (#1443)

* convert on graphs

* Update BarChart.vue

* Update TvlChart.vue

* Update PriceChart.vue

* Update PriceChart.vue

* Fix merge issue

* Fix TvlChart issues related to currency selection

* Fix BarChart issues related to currency selection

* remove css fix

* Update App.vue

---------



* deleted_shadow_on_the_left

* Fix release 1.38 (#1444)

* Fix ken distribution data

* Update burnXor.ts

* Fix shadows issue during Kensetsu loading

* Add currency support for Kensetsu overall stats

* Use usd values for isBorrowMoreUnavailable & isRepayDebtUnavailable

* Add XOR as fiat currency

---------



* updated_with_variable_change

* fixed_variables

* Add bug fixes from master (#1449)

* Release 0.1.2 (#80)

* Add base project files

* Add About page

* Add unit tests

* Remove unused files

* Update library version

* Moved images to img folder.

* Refactored some styles, added normalize css.

* Fixed article card header font weight.

* Fix About snapshot

* Fix styles and its imports

* PSS-132: Token list store

* Add env.json and readme

* PSS-134  DevOps: Develop CI and CD processes for Polkaswap web project (#5)

* add ci cd



* fix Dockerfile



* add pull_request_template.md



* fix template



* PSS-132: Select token screen

* PSS-132: Refactoring

* PSS-132: Change short name to symbol

* PSS-132: Add i18n to select token

* PSS-132: Add unit tests

* PSS-132: Remove elements from tests

* Added Swap Interface draft (#4)

* Swap Interface: Added screen, Unit Tests, Updated UI Lib version.

* PSS-132: Create pair

* PSS-132: Fixes for select token

* PSS-132: Fix title style

* PSS-132: UPdate snaphots

* PSS-132: Fix shadow

* PSS-132: Fix variable style using

* Swap Interface Confirmation Screens (#8)

* Added Transaction Submit dialog.
* Swap Interface: Moved some variables to store for better relations between different screens and dialogs.
* Confirm Swap Dialog: Fixed dialog opening, added confirmation flag to the store.
* Added token default logo image, refactored translation call for liquidity.
* Added SelectToken dialog on click.

* PSS-126: Confirm supply modal

* Confirmation screens for create pair

* Design fixes

* Update ui lib

* PSS-126: Logo component

* Update tests

* Wallet integration and styles issues (#10)

* Wallet integration

* Fix routing issues

* Update UI library version

* Refactor all styles

* Fix wallet connected state

* Update tests

* Update test

* Update Dockerfile (#12)

* PSS-129: Add and remove liquidity page

* Design fixes

* Token logo check fixes

* Refactoring and fixes

* Add pair token logo for add liquidity

* Settings implementation (#15)

* Add settings dialog

* Add tests

* Update tests

* Fix titles for info card

* Pool Interface Start Screens (#11)

* Pool Interface: Added Start Screen.
* Refactored components due to UI Lib updates: set size and border-radius of elements.
* Created Dialog wrapper component, refactored dialogs, added fixed top position, fixed close behaviour.
* Refactored components imports.
* Converted logo icon to link to the home page.
* Fixed error in console for Create pair component.
* Added Back link behaviour for several components.
* Updated unit tests.

* PSS-172: Dynamic Page Title (#14)

* Added dynamic page title.

* PSS-128: Add confirmation screens for pool (#16)

* PSS-128: Add confirmation screens for pool


* Mocks for pool screen

* Refactoring

* Update tests

* Add liquidity button for pairs

* Design Fixes and Refactoring (#17)

* Refactored TokenLogo and PairTokenLogo components, fixed some bugs, updated unit tests. Refactored components headers.
* Added Popper class for info tooltips. Fixed default prop value for Object types. Updated Unit tests.

* Design Issues Fix (#19)

* Updated configuration variables and Exchange tabs styles.
* Updated About page images and styles, Header styles and Menu colors settings. Hid unused links and buttons in header.
* Updeted typography variables and Font Styles: Updated Font Size, Line Height and Font Weight Configuration. 
* Updated Create Pair button styles. Updated Ui Lib version.
* Fixed tokens icons for Pool screen.
* Updated tooltips to one consistent style. Fixed Pool screen bug. 
* Refactored: Created special component for Generic Header. Fixed Back icon.
* Updated some fonts and Pool screen styles.
* Added Empty icon for Select token popup.
* Added First Liquidity Provider message to Create a Pair screen.
* Hid tooltip for Slider element on Settings screen, hid tooltips for Swap Confirmation.
* Updated unit tests.

* PSS-205: Remove liquidity: everything should be clickable and with recalculation

* Update tests

* Fix set remove part to 0

* Inpur for remove part

* Fixes

* Price container fixes

* Update tests

* PS-223: Fix remove liquidity in safari

* PSS-205: Design Review Issues (#21)

* Fixed titles case. Updated buttons with text and icons. Updated typography styles.

* Update wallet version & add blockchain integration (#23)

* Update wallet version & add blockchain integration
* Commented out unit tests.



* PSS-123: Select token integration

* Fix async behavior for dexApi (#25)

* Fix async behavior for dexApi

* Update .eslintrc.js

* PSS-247: Custom Slippage Tolerance Fix (#27)

* Updated STab styles.
* Updated UI Lib and Wallet versions and styles according to UI Lib fixes.

* PSS-129: Add liquiditiy integration

* PSS-74 Swap Interface Integration (#26)

* Hid swap info for not connected wallet.
* Updated SelectToken search by name, added check for translation existance.
* Added Swap Integration.
* Refactored formatNumber calls.
* Hid swap info under buttons for zero amount.
* Fixed Header Menu colors.
* Fixed swap from Wallet assets.
* Updated tooltips.
* Updated About page text and Main menu links order.
* Fixed Card title color for About page.
* Updated Default token setting.
* Updated Wallet version.
* Hid Transaction Deadline area for Settings.
* Removed unneeded tooltip from Settings dialog.
* Added validation for Settings.
* Added validation for Insufficient Amount error from server.
* Added loading while not conencted, changed store to not strict mode, updated tokens setting in store.
* Fixed focused behaviour for Swap input fields.
* Fix wallet connection & select token behavior
* Fixed Min Received format.



* Swap result calculation for non connected mode (#28)

* Fixed Swap result calculation for non connected mode.
* Fixed About page text and styles.

* Fix i18n (#30)

* Updated Swap input width and Max swap behaviour. Updated Swap Info styles. (#29)

* PSS-271: Medium and GitHub links (#31)

* Added Github and Medium links for About page.
* Upated the Wallet version.
* Fixed wallet button color on hover.

* Calculate total suply

* PSS-216: Design Issues Fixing (#32)

* Updated content primary color.
* Fixed Price and Token areas horizontal alignment.
* Updated tooltips.
* Updated Generic Header tooltip.
* Updated Token item height for Select Token dialog.
* Added Token icons.
* Updated token icons  names.

* PSS-129: Create pair integration

* Remove mocks

* Refactoring

* Add network fee calculation

* Fixes

* PSS-281: Recalculate Input Values On Select Token (#33)

* Added util method to check isNumber value. Removed Max button from token To area.
* Added Max sold for reversed swap.
* Updated Swap Integration.
* Updated UI Lib version.
* Added recalc on Select Token.
* Fixed Swap for Polkadot.js
* Updated isExchangeB param in methods.
* Hid Node Address area for Settings popup.
* Added Network Fee field to Swap component.
* Updated Custom slippage tolerance for Settings.
* Fixed paste string value to Swap fields.
* Updated Network Fee calls, updated Wallet version, fixed swap tokens balance.
* Added isExchangeB parameter to swap call.

* Refactoring

* fix total supply

* PSS-129: Share of pool

* Remove share of pool mock

* Fix get asset symbol

* Hide add liquidity
Fix slippage tolerance for add liquidity
Fix share of pool
Fix unsupprted assets error message

* Disable max button for add liquidity
Reset values after change tokens

* Fixes

* Updated Tokens Icons, added PAL icon. (#35)

* Wallet connection issues (#38)

* Fix wallet connection issues

* Fix styles

* Update wallet version

* Update favicon.ico

* PSS-297: check fee on max amount

* PSS-295: Added Insufficient Balance Checking (#37)

* Added Insufficient balance checking.
* Updated FPNumber parameters.
* Removed formatNumber usage from Swap screens.
* Fixed focus and placeholders values for Swap.
* Updated some styles for huge number values.
* Refactored due to PR comments.

* Result Dialog Styles Fix (#41)

* Fixed Result Dialog button styles.
* Renamed USD icon.
* Update library
* Fix swap, liquidity behavior
* Update index.ts
* TODO: Revert this commit after PSS-309
* Updated wallet version.



* PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42)

* Fix routing issue

* Update wallet version

* PSS-295: Confirm Swap Insufficient Balance Checking (#43)

* Fixed console error on tokens switch.
* Added Is Insufficient Balance checking for Confirm Swap dialog.
* Updated Confirm Swap styles.

* Updated Swap info after Swap, added max button to init screen. (#44)

* Update ui library version (#46)

* Update ui library version

* Update wallet

* BP-312: Fixes for pool

* Fix icons position (#47)

* Fix icons position

* Fix logo

* PSS-287: Swap Amount Fields Formatting (#45)

* Added Swap fields formatter.
* Fixed Slippage Tolerance editing and Swap fields formatting.
* Updated wallet version.

* Change toString to toFixed

* Change formatNumber to toFixed

* Fix remove liquidity price

* Move back toFixed to toString

* Fixed estimated label existence for zero values (#50)

* Refactored, added some comments, fixed estimated label existence for zero values.

* Modify env config file (#49)



* Add custom notifications & notification tracking service (#51)

* Add custom notifications & notificat…

Signed-off-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>
Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: RDMStreet <RDMStreetOne@gmail.com>
Co-authored-by: NaghmeMohammadifar <45916098+Naghme98@users.noreply.github.com>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>
Co-authored-by: C4tWithShell <shelkovnikov@soramitsu.co.jp>
Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>
Co-authored-by: marat-biriushev <49524488+marat-biriushev@users.noreply.github.com>
Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>
Co-authored-by: Vladimir Shelkovnikov <99356504+C4tWithShell@users.noreply.github.com>
Co-authored-by: shlavik <shlavik@gmail.com>
Co-authored-by: f33r0 <95526886+f33r0@users.noreply.github.com>
Co-authored-by: Kron1749 <70746258+Kron1749@users.noreply.github.com>
Co-authored-by: alexnatalia <alekseenkonn@gmail.com>
Co-authored-by: Aleksandr Makhnev <alma2610@ya.ru>
Co-authored-by: Bulat Saifullin <bulat@saifullin.ru>
Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com>
Co-authored-by: Dmitriy Creed <creed@soramitsu.co.jp>
Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Nikita Polyakov <fargus1993nick@yandex.ru>
Co-authored-by: Alex Natalia <alexnatalia@Alexs-MacBook-Pro.local>
Co-authored-by: Pavel Golovkin <golovkin.pl@gmail.com>
Co-authored-by: Pavel <golovkin@soramitsu.co.jp>
Co-authored-by: Pobepto <roobertdantes@gmail.com>
Co-authored-by: Tarmo Vannas <tarmo@soramitsu.co.jp>
Co-authored-by: 武宮誠 <takemiya@soramitsu.co.jp>
Co-authored-by: Denis Nikiforov <45266099+DenisNikiforov@users.noreply.github.com>
Co-authored-by: Ahmed Elkashef <ahmedelkashef2012@gmail.com>
Co-authored-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>
Co-authored-by: sunlucky163 <mishushin93@gmail.com>
Co-authored-by: sunlucky163 <44086186+sunlucky163@users.noreply.github.com>
Co-authored-by: Bao Tran <baotn166@gmail.com>
Co-authored-by: Bao Nguyen Tran <baotn166@users.noreply.github.com>
Co-authored-by: Pavel Varfolomeev <varfolomeev@soramitsu.co.jp>
Co-authored-by: wpi86 <86880521+wpi86@users.noreply.github.com>
Co-authored-by: Pavel Varfolomeev <wpi86@yandex.ru>
Co-authored-by: German Vechtomov <89127595+ox7a59@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: 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: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Co-authored-by: Timofey Trepalin <trepalin@soramitsu.co.jp>
Co-authored-by: Maksim Baranov <33489381+MaksimBaranov98@users.noreply.github.com>
Co-authored-by: timofeytrepalin <97504184+timofeytrepalin@users.noreply.github.com>
Co-authored-by: Aleksandr Iakimov <sociopacific@gmail.com>
Co-authored-by: safinsaf <45899673+safinsaf@users.noreply.github.com>
  • Loading branch information
1 parent f65bbb0 commit a5070d8
Show file tree
Hide file tree
Showing 191 changed files with 4,553 additions and 2,977 deletions.
11 changes: 3 additions & 8 deletions env.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"etherscan": "XBS98SSP8J5FNS7EKQHMHRU94Z2YG7HFFK",
"nftStorage": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6ZXRocjoweDBmMzgwOTMyQTNDODM3ZDNiN2JEYzBBNTc0NmNkMDlBRGIyNUZGMzQiLCJpc3MiOiJuZnQtc3RvcmFnZSIsImlhdCI6MTY0NTU0MDQ4MTQ5OSwibmFtZSI6Im5mdC1zdG9yYWdlLXByb2QifQ.CnW1bq8eWEYQxA6cggGMeAqCTozCJZ6s2oL_bssqnmc",
"googleApi": "AIzaSyCazdRheGfy7_bwVi0m5UgUYjz7l0c54nM",
"googleClientId": "728106973134-pfmcagr0t4lchepajcp7llp7f1t09lf0.apps.googleusercontent.com"
"googleClientId": "728106973134-pfmcagr0t4lchepajcp7llp7f1t09lf0.apps.googleusercontent.com",
"walletconnect": "feeab08b50e0d407f4eb875d69e162e8"
},
"FEATURE_FLAGS": {
"moonpay": true,
Expand All @@ -16,7 +17,7 @@
"assetOwner": false
},
"SUBQUERY_ENDPOINT": "https://api.subquery.network/sq/sora-xor/sora-prod",
"SUBSQUID_ENDPOINT": "https://squid.subsquid.io/sora/graphql",
"SUBSQUID_ENDPOINT": "",
"TG_BOT_URL": "t.me/polkaswap_io_bot",
"DEFAULT_NETWORKS": [
{
Expand All @@ -42,12 +43,6 @@
"name": "OnFinality",
"address": "wss://sora.api.onfinality.io/public-ws",
"location": "JP"
},
{
"chain": "SORA",
"name": "Soramitsu",
"address": "wss://ws.framenode-0.a1.sora2.soramitsu.co.jp",
"location": "IE"
}
],
"NETWORK_TYPE": "Prod",
Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkaswap-exchange-web",
"version": "1.38.3",
"version": "1.39.0",
"repository": {
"type": "git",
"url": "https://github.com/sora-xor/polkaswap-exchange-web.git"
Expand Down Expand Up @@ -28,15 +28,14 @@
"dependencies": {
"@cedelabs/widgets-universal": "^1.3.1",
"@metamask/detect-provider": "^2.0.0",
"@soramitsu/soraneo-wallet-web": "1.38.9",
"@tma.js/sdk": "^2.7.0",
"@soramitsu/soraneo-wallet-web": "1.39.10",
"@walletconnect/ethereum-provider": "^2.13.3",
"@walletconnect/modal": "^2.6.2",
"core-js": "^3.37.1",
"country-code-emoji": "^2.3.0",
"country-flag-emoji-polyfill": "^0.1.8",
"direct-vuex": "^0.12.1",
"echarts": "^5.5.0",
"echarts": "^5.5.1",
"email-validator": "^2.0.4",
"ethers": "6.13.1",
"jwt-decode": "^4.0.0",
Expand All @@ -46,18 +45,20 @@
"vue": "2.7.14",
"vue-class-component": "^7.2.6",
"vue-echarts": "^6.7.3",
"vue-grid-layout": "^2.4.0",
"vue-i18n": "^8.28.2",
"vue-property-decorator": "^9.1.2",
"vue-router": "^3.6.5",
"vuex": "^3.6.2"
},
"devDependencies": {
"@babel/runtime": "^7.24.7",
"@babel/runtime": "^7.24.8",
"@types/electron-devtools-installer": "^2.2.5",
"@types/jest": "^29.5.12",
"@types/jsdom": "^21.1.7",
"@types/lodash": "^4.17.5",
"@types/node": "^20.14.5",
"@types/lodash": "^4.17.6",
"@types/node": "^20.14.10",
"@types/telegram-web-app": "^7.3.1",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vue/cli-plugin-babel": "5.0.8",
Expand Down Expand Up @@ -89,10 +90,10 @@
"lint-staged": "^9.5.0",
"node-polyfill-webpack-plugin": "^4.0.0",
"prettier": "^2.8.8",
"sass": "^1.77.6",
"sass": "^1.77.8",
"sass-loader": "^14.2.1",
"ts-jest": "^27.1.5",
"typescript": "~5.4.5",
"typescript": "~5.5.3",
"vue-cli-plugin-electron-builder": "^3.0.0-alpha.4",
"vue-cli-plugin-test-attrs": "^0.1.5",
"vue-template-compiler": "2.7.14"
Expand Down
Binary file removed public/about/dark/about02-1.png
Binary file not shown.
Binary file removed public/about/dark/about02-2.png
Binary file not shown.
Binary file removed public/about/dark/about02x.png
Binary file not shown.
Binary file removed public/about/dark/about03-1.png
Binary file not shown.
Binary file removed public/about/dark/about03-2.png
Binary file not shown.
Binary file removed public/about/dark/about03x.png
Binary file not shown.
Binary file removed public/about/dark/about04-1.png
Binary file not shown.
Binary file removed public/about/dark/about04-2.png
Binary file not shown.
Binary file removed public/about/dark/about04x.png
Binary file not shown.
Binary file removed public/about/dark/about05-1.png
Binary file not shown.
Binary file removed public/about/dark/about05x.png
Binary file not shown.
Binary file removed public/about/dark/about07-1.png
Binary file not shown.
Binary file removed public/about/dark/about07-2.png
Binary file not shown.
Binary file removed public/about/dark/about07-3.png
Binary file not shown.
Binary file removed public/about/dark/about08.png
Binary file not shown.
Binary file removed public/about/light/about02-1.png
Binary file not shown.
Binary file removed public/about/light/about02-2.png
Binary file not shown.
Binary file removed public/about/light/about02x.png
Binary file not shown.
Binary file removed public/about/light/about03-1.png
Binary file not shown.
Binary file removed public/about/light/about03-2.png
Binary file not shown.
Binary file removed public/about/light/about03x.png
Binary file not shown.
Binary file removed public/about/light/about04-1.png
Binary file not shown.
Binary file removed public/about/light/about04-2.png
Binary file not shown.
Binary file removed public/about/light/about04x.png
Binary file not shown.
Binary file removed public/about/light/about05-1.png
Binary file not shown.
Binary file removed public/about/light/about05x.png
Diff not rendered.
Binary file removed public/about/light/about07-1.png
Diff not rendered.
Binary file removed public/about/light/about07-2.png
Diff not rendered.
Binary file removed public/about/light/about07-3.png
Diff not rendered.
Binary file removed public/about/light/about08.png
Diff not rendered.
Binary file removed public/about/shared/about06.png
Diff not rendered.
File renamed without changes
File renamed without changes
3 changes: 2 additions & 1 deletion public/env.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"nftStorage": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6ZXRocjoweDBmMzgwOTMyQTNDODM3ZDNiN2JEYzBBNTc0NmNkMDlBRGIyNUZGMzQiLCJpc3MiOiJuZnQtc3RvcmFnZSIsImlhdCI6MTY0MjU4OTQ2ODA4MSwibmFtZSI6Im5mdC1zdG9yYWdlLWRldiJ9.hkvzea9ltcriXXHKoYd3F2Iu1Y8X5H-zunAQboC_3vw",
"etherscan": "YBR7IWEBEXFICT8M7GRV77NBX4AXJ9T53H",
"googleApi": "AIzaSyAzj7JxB-j8pJixtt6JSqLPhG0y02CGYOU",
"googleClientId": "498393666682-9eeiioee0a2sgb1671e9qir645f9n6cv.apps.googleusercontent.com"
"googleClientId": "498393666682-9eeiioee0a2sgb1671e9qir645f9n6cv.apps.googleusercontent.com",
"walletconnect": "feeab08b50e0d407f4eb875d69e162e8"
},
"FEATURE_FLAGS": {
"moonpay": true,
Expand Down
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<meta property="og:image:secure_url" content="https://polkaswap.io/<%= BASE_URL %>polkaswap-share-image.jpg" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="630" />
<script src="https://telegram.org/js/telegram-web-app.js"></script>
</head>
<body>
<noscript>
Expand Down
10 changes: 10 additions & 0 deletions public/marketing.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
[
{
"title": "WHAT IS\nPOLKASWAP",
"img": "/marketing/polkaswap.png",
"link": "https://about.polkaswap.io"
},
{
"title": "NOW IN TELEGRAM",
"img": "/marketing/now_in_telegram.png",
"link": "https://t.me/polkaswap_io_bot/app"
},
{
"title": "SORA",
"img": "/marketing/soraV3.png",
Expand Down
Binary file added public/marketing/now_in_telegram.png
Binary file added public/marketing/polkaswap.png
Binary file added public/points/dark/bridge.png
Binary file added public/points/dark/referrals.png
Binary file added public/points/light/bridge.png
Binary file added public/points/light/referrals.png
3 changes: 3 additions & 0 deletions public/wallet/Fearless.svg
68 changes: 39 additions & 29 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
<app-menu
:visible="menuVisibility"
:on-select="goTo"
:is-about-page-opened="isAboutPage"
@open-product-dialog="openProductDialog"
@click.native="handleAppMenuClick"
>
<app-logo-button slot="head" class="app-logo--menu" :theme="libraryTheme" @click="goToSwap" />
</app-menu>
<div class="app-body" :class="{ 'app-body__about': isAboutPage }">
<div class="app-body">
<s-scrollbar class="app-body-scrollbar" v-loading="pageLoading">
<div class="app-content">
<router-view :parent-loading="loading || !nodeIsConnected" />
Expand All @@ -31,12 +30,17 @@
</notification-enabling-page>
<alerts />
<confirm-dialog
:get-api="getApi"
:chain-api="chainApi"
:account="account"
:visibility="isSignTxDialogVisible"
:set-visibility="setSignTxDialogVisibility"
/>
<select-sora-account-dialog />
<app-browser-notifs-local-storage-override
:visible.sync="showErrorLocalStorageExceed"
@delete-data-local-storage="clearLocalStorage"
>
</app-browser-notifs-local-storage-override>
</s-design-system-provider>
</template>

Expand All @@ -53,7 +57,6 @@ import {
initWallet,
waitForCore,
} from '@soramitsu/soraneo-wallet-web';
import { isTMA } from '@tma.js/sdk';
import debounce from 'lodash/debounce';
import { Component, Mixins, Watch } from 'vue-property-decorator';
Expand All @@ -63,13 +66,15 @@ import AppHeader from '@/components/App/Header/AppHeader.vue';
import AppMenu from '@/components/App/Menu/AppMenu.vue';
import NodeErrorMixin from '@/components/mixins/NodeErrorMixin';
import SoraLogo from '@/components/shared/Logo/Sora.vue';
import { PageNames, Components, Language, BreakpointClass, WalletPermissions } from '@/consts';
import { PageNames, Components, Language, WalletPermissions, LOCAL_STORAGE_LIMIT_PERCENTAGE } from '@/consts';
import { BreakpointClass } from '@/consts/layout';
import { getLocale } from '@/lang';
import router, { goTo, lazyComponent } from '@/router';
import { action, getter, mutation, state } from '@/store/decorators';
import { getMobileCssClasses, preloadFontFace, updateDocumentTitle } from '@/utils';
import type { NodesConnection } from '@/utils/connection';
import { TmaSdk } from '@/utils/telegram';
import { calculateStorageUsagePercentage, clearLocalStorage } from '@/utils/storage';
import { tmaSdkService } from '@/utils/telegram';
import type { FeatureFlags } from './store/settings/types';
import type { EthBridgeSettings, SubNetworkApps } from './store/web3/types';
Expand All @@ -91,6 +96,7 @@ import type Theme from '@soramitsu-ui/ui-vue2/lib/types/Theme';
AppDisclaimer: lazyComponent(Components.AppDisclaimer),
AppBrowserNotifsEnableDialog: lazyComponent(Components.AppBrowserNotifsEnableDialog),
AppBrowserNotifsBlockedDialog: lazyComponent(Components.AppBrowserNotifsBlockedDialog),
AppBrowserNotifsLocalStorageOverride: lazyComponent(Components.AppBrowserNotifsLocalStorageOverride),
ReferralsConfirmInviteUser: lazyComponent(Components.ReferralsConfirmInviteUser),
BridgeTransferNotification: lazyComponent(Components.BridgeTransferNotification),
SelectSoraAccountDialog: lazyComponent(Components.SelectSoraAccountDialog),
Expand All @@ -104,14 +110,15 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
menuVisibility = false;
showConfirmInviteUser = false;
showNotifsDarkPage = false;
showErrorLocalStorageExceed = false;
@state.settings.screenBreakpointClass private responsiveClass!: BreakpointClass;
@state.settings.appConnection private appConnection!: NodesConnection;
@state.settings.browserNotifPopupVisibility private browserNotifPopup!: boolean;
@state.settings.browserNotifPopupBlockedVisibility private browserNotifPopupBlocked!: boolean;
@state.wallet.account.assetsToNotifyQueue private assetsToNotifyQueue!: Array<WhitelistArrayItem>;
@state.referrals.storageReferrer private storageReferrer!: string;
@state.referrals.referrer private referrer!: string;
@state.referrals.storageReferrer storageReferrer!: string;
@state.wallet.account.assetsToNotifyQueue assetsToNotifyQueue!: Array<WhitelistArrayItem>;
@state.settings.disclaimerVisibility disclaimerVisibility!: boolean;
@state.router.loading pageLoading!: boolean;
Expand Down Expand Up @@ -156,10 +163,6 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
@state.wallet.transactions.isSignTxDialogVisible public isSignTxDialogVisible!: boolean;
@mutation.wallet.transactions.setSignTxDialogVisibility public setSignTxDialogVisibility!: (flag: boolean) => void;
// [DESKTOP] To Enable Desktop
@mutation.wallet.account.setIsDesktop private setIsDesktop!: (v: boolean) => void;
// [TMA] To Enable TMA
@mutation.settings.enableTMA private enableTMA!: FnWithoutArgs;
@Watch('assetsToNotifyQueue')
private handleNotifyOnDeposit(whitelistAssetArray: WhitelistArrayItem[]): void {
Expand Down Expand Up @@ -219,8 +222,19 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
private setResponsiveClassDebounced = debounce(this.setResponsiveClass, 250);
public clearLocalStorage(): void {
clearLocalStorage();
}
private handleLocalStorageChange() {
const usagePercentage = calculateStorageUsagePercentage();
if (usagePercentage >= LOCAL_STORAGE_LIMIT_PERCENTAGE) {
this.showErrorLocalStorageExceed = true;
}
}
async created() {
// element-icons is not common used, but should be visible after network connection lost
window.addEventListener('localStorageUpdated', this.handleLocalStorageChange);
preloadFontFace('element-icons');
this.setResponsiveClass();
updateBaseUrl(router);
Expand All @@ -236,11 +250,7 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
}
// To start running as Telegram Web App (desktop capabilities)
if (await isTMA()) {
this.enableTMA();
this.setIsDesktop(true);
await TmaSdk.init(data?.TG_BOT_URL, data.NETWORK_TYPE === WALLET_CONSTS.SoraNetwork.Dev);
}
tmaSdkService.init(data?.TG_BOT_URL);
await this.setApiKeys(data?.API_KEYS);
await this.setEthBridgeSettings(data.ETH_BRIDGE);
Expand Down Expand Up @@ -281,10 +291,6 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
return getMobileCssClasses();
}
get isAboutPage(): boolean {
return this.$route.name === PageNames.About;
}
get dsProviderClasses(): string[] | BreakpointClass {
return this.mobileCssClasses?.length ? [...this.mobileCssClasses, this.responsiveClass] : this.responsiveClass;
}
Expand Down Expand Up @@ -314,12 +320,17 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
this.setBrowserNotifsPopupBlocked(value);
}
getApi() {
get chainApi() {
return api;
}
goTo(name: PageNames): void {
goTo(name);
if (name === PageNames.Rewards) {
// Rewards is a menu route but we need to show PointSystem by default
goTo(PageNames.PointSystem);
} else {
goTo(name);
}
this.closeMenu();
}
Expand Down Expand Up @@ -365,7 +376,9 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
}
async beforeDestroy(): Promise<void> {
window.removeEventListener('localStorageUpdated', this.handleLocalStorageChange);
window.removeEventListener('resize', this.setResponsiveClassDebounced);
tmaSdkService.destroy();
await this.resetInternalSubscriptions();
await this.resetNetworkSubscriptions();
this.resetBlockNumberSubscription();
Expand Down Expand Up @@ -421,7 +434,7 @@ ul ul {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: 'Sora', sans-serif;
height: 100vh;
height: 100dvh;
color: var(--s-color-base-content-primary);
background-color: var(--s-color-utility-body);
transition: background-color 500ms linear;
Expand Down Expand Up @@ -614,7 +627,7 @@ i.icon-divider {
&-main {
display: flex;
align-items: stretch;
height: calc(100vh - #{$header-height} - #{$footer-height});
height: calc(100dvh - #{$header-height} - #{$footer-height});
position: relative;
}
Expand All @@ -624,9 +637,6 @@ i.icon-divider {
flex: 1;
flex-flow: column nowrap;
max-width: 100%;
&__about {
overflow: hidden;
}
}
&-content {
Expand Down
Loading

0 comments on commit a5070d8

Please sign in to comment.