Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.22.1 #1188

Merged
merged 1,233 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1233 commits
Select commit Hold shift + click to select a range
e40aa00
deploy trigger removal
Jan 16, 2023
fd52bb4
Merge pull request #920 from sora-xor/feature/dops-2188/fix_jf
f33r0 Jan 16, 2023
6bfc131
Liiquidity proxy 1.6 (#923)
Nikita-Polyakov Jan 20, 2023
0939cda
improve btn loading state (#924)
Nikita-Polyakov Jan 20, 2023
fde3f23
up wallet version 1.13.4 (#925)
Nikita-Polyakov Jan 20, 2023
1c30450
up wallet version to 1.13.5 (#926)
Nikita-Polyakov Jan 23, 2023
6f42524
Feature/x1-widget (#876)
RustemYuzlibaev Jan 25, 2023
3a8d80b
Fix/chart precision (#928)
Nikita-Polyakov Jan 26, 2023
6325528
optional fee popup (#919)
RustemYuzlibaev Jan 26, 2023
5338829
[Remove Liquidity] Show ceres locked liquidity (#922)
Nikita-Polyakov Jan 26, 2023
880f138
Use settingsStorage from wallet (#929)
stefashkaa Jan 27, 2023
1c68adb
Fix search focus behavior (#932)
stefashkaa Jan 27, 2023
c26e945
Add fearless (#934)
stefashkaa Jan 27, 2023
0e56ab0
Fix fearless integration (#936)
stefashkaa Jan 28, 2023
fd61b18
Fix Fearless wallet (#937)
stefashkaa Jan 28, 2023
abd1533
Fix Fearless link for Mozilla (#938)
stefashkaa Jan 28, 2023
155c895
update wallet to TBCD (#940)
Nikita-Polyakov Jan 30, 2023
01a5c73
Update wallet (#943)
stefashkaa Feb 5, 2023
9503a29
Upgrade PW SDK (#930)
RustemYuzlibaev Feb 8, 2023
034d8d8
update wallet 1.15.0 (#945)
Nikita-Polyakov Feb 8, 2023
a5507b5
fixes (#946)
RustemYuzlibaev Feb 8, 2023
58f835d
Fix styles issues related to card (#948)
stefashkaa Feb 9, 2023
1e8ff36
[Explore Page] Hide tokens & pools with zero tvl (#941)
Nikita-Polyakov Feb 9, 2023
30d5a39
improve routing (#947)
stefashkaa Feb 9, 2023
4234a70
fix (#949)
RustemYuzlibaev Feb 9, 2023
0461863
Fix lokalise and SORA Card issues (#950)
stefashkaa Feb 9, 2023
e02c0d1
Fix phone and styles for card (#951)
stefashkaa Feb 9, 2023
5769ed2
Fix sora card phone and route (#952)
stefashkaa Feb 10, 2023
801ad77
Fix phone inputs (#953)
stefashkaa Feb 10, 2023
6027d8b
Fix email, first, last name length (#954)
stefashkaa Feb 10, 2023
28db6b9
git (#955)
RustemYuzlibaev Feb 14, 2023
850bb2d
test push
wpi86 Feb 14, 2023
4235a28
refactor
wpi86 Feb 14, 2023
a12a2e1
tmp disable sonar
wpi86 Feb 14, 2023
50c5e5b
fix cred name
wpi86 Feb 14, 2023
6aa2c2d
update wallet to 1.15.2 (#957)
Nikita-Polyakov Feb 14, 2023
316e2dc
change value
wpi86 Feb 15, 2023
9fa3397
fix json error (#958)
Nikita-Polyakov Feb 15, 2023
8eff36d
fix path
wpi86 Feb 15, 2023
ff44e9e
Merge branch 'develop' into feature/DOPS-2232/pr-deploy
wpi86 Feb 16, 2023
0f41fe5
fix path
wpi86 Feb 16, 2023
9a54ea6
switch to tachi
wpi86 Feb 16, 2023
e532067
test
wpi86 Feb 16, 2023
81f19a5
revert lib
wpi86 Feb 16, 2023
7df9cd7
test values check
wpi86 Feb 16, 2023
a8cb5eb
fix lib
wpi86 Feb 16, 2023
26f7486
DAST pipeline update
Frodan Feb 16, 2023
b712e88
Update Jenkinsfile-dast
Frodan Feb 16, 2023
14a92c3
revert lib
wpi86 Feb 16, 2023
5642a12
Merge pull request #956 from sora-xor/feature/DOPS-2232/pr-deploy
wpi86 Feb 17, 2023
3b85b8d
fix (#961)
RustemYuzlibaev Feb 18, 2023
d4539bd
Fix connection disconnected event (#960)
Nikita-Polyakov Feb 20, 2023
18c9058
Update Jenkinsfile-dast
Frodan Feb 20, 2023
48b056d
Update Jenkinsfile-dast
Frodan Feb 20, 2023
5d8aec8
Update Jenkinsfile-dast
Frodan Feb 28, 2023
475207c
Update Jenkinsfile-dast
Frodan Feb 28, 2023
78b303c
Update Jenkinsfile-dast
Frodan Mar 1, 2023
2ac40a8
Otp resend try fix (#964)
RustemYuzlibaev Mar 3, 2023
b314d9f
SORA Card translation (#959)
RustemYuzlibaev Mar 6, 2023
9a8a46b
Update Jenkinsfile-dast
Frodan Mar 6, 2023
a9e0b6f
Free KYC attempts counter (#962)
RustemYuzlibaev Mar 6, 2023
f938706
email fix resend (#967)
RustemYuzlibaev Mar 7, 2023
661ce68
Hide LP fee (#968)
stefashkaa Mar 7, 2023
0adf80f
Fix liqudity proxy route and args (#969)
Nikita-Polyakov Mar 10, 2023
f3f7c0e
multiple otp send fix (#970)
RustemYuzlibaev Mar 12, 2023
6adfceb
update wallet 1.15.9 (#973)
Nikita-Polyakov Mar 13, 2023
7ccb50d
update wallet to 1.15.10 (#974)
Nikita-Polyakov Mar 15, 2023
3567e82
Status bar & SORA Card fixes (#882)
stefashkaa Mar 15, 2023
2ae9b87
Update Jenkinsfile
Frodan Mar 16, 2023
ba1d7a5
Reduce bundle size (#942)
stefashkaa Mar 16, 2023
620c5df
Feature/network stats (#931)
Nikita-Polyakov Mar 16, 2023
f0da2ca
Merge branch 'develop' into feature/SNE-261/Arachni
Frodan Mar 16, 2023
ba831d1
Update Jenkinsfile-dast
Frodan Mar 16, 2023
e5439f4
Merge branch 'feature/SNE-261/Arachni' of https://github.com/sora-xor…
Frodan Mar 16, 2023
53c2ff6
Merge pull request #966 from sora-xor/feature/SNE-261/Arachni
Frodan Mar 16, 2023
9f26c23
Move disclaimer to front page (#965)
RustemYuzlibaev Mar 16, 2023
a62a738
Fix/bridge select asset (#976)
Nikita-Polyakov Mar 16, 2023
b5ea039
upfate wallet 1.15.11 (#977)
Nikita-Polyakov Mar 17, 2023
4d9f892
move disclaimer (#914)
RustemYuzlibaev Mar 17, 2023
ecd090f
fix (#980)
RustemYuzlibaev Mar 20, 2023
b894527
Fix max limit speed for internet connection (#975)
stefashkaa Mar 21, 2023
3fa9c03
Add Token Velocity column to Tokens Page (#979)
Nikita-Polyakov Mar 21, 2023
267dd27
remove keys (#981)
RustemYuzlibaev Mar 21, 2023
44435b8
Demeter dialogs bottom padding adding (#982)
shlavik Mar 21, 2023
4d61f58
update wallet 1.15.12 (#983)
Nikita-Polyakov Mar 22, 2023
08a769d
Add routing for pairs (#971)
stefashkaa Mar 24, 2023
57422d2
Fix release issues (#984)
stefashkaa Mar 24, 2023
a9b36cd
Move disclaimer to App Header (#986)
stefashkaa Mar 24, 2023
503d7c3
Move disclaimer to App Header (#986)
stefashkaa Mar 24, 2023
5d88ecb
fix swap container and chart align (#987)
Nikita-Polyakov Mar 24, 2023
6bd6ccf
fix supply chart axis label (#989)
Nikita-Polyakov Mar 27, 2023
b9edd5d
Fix release issues (#990)
stefashkaa Mar 28, 2023
91ea5a4
Update Jenkinsfile to use PR-generator SecretStore bot secret
BAStos525 Mar 28, 2023
e4fb21b
Fix flag (#992)
stefashkaa Mar 28, 2023
6e16093
Fix styles (#994)
stefashkaa Mar 29, 2023
dc267db
Update card.ts (#997)
RustemYuzlibaev Mar 29, 2023
0a35cf1
add formula to velocity tooltip (#996)
Nikita-Polyakov Mar 29, 2023
700cde9
apply suggestions
BAStos525 Mar 29, 2023
4891fc8
Merge branch 'develop' into feature/DOPS-2337/pr-generator-eso-secret
wpi86 Mar 30, 2023
ec257a1
Reuse subscriptions in SubscriptionsMixin (#998)
Nikita-Polyakov Mar 30, 2023
5c48c3a
update router config (#999)
Nikita-Polyakov Mar 30, 2023
e2400eb
Improve sora card styles (#1000)
stefashkaa Mar 31, 2023
1a15b7e
Fix seo logo (#1001)
stefashkaa Mar 31, 2023
d22c225
fix camera translation (#1002)
RustemYuzlibaev Mar 31, 2023
710f035
fix (#1003)
RustemYuzlibaev Mar 31, 2023
a4ed4d6
fix subscription hooks (#1004)
Nikita-Polyakov Apr 1, 2023
9255f53
add DialogTitle component (#1005)
Nikita-Polyakov Apr 1, 2023
496fc43
Add nodes location for prod (#1006)
stefashkaa Apr 1, 2023
1fed155
change text from accounts to new accounts (#1010)
Nikita-Polyakov Apr 4, 2023
c8d99dd
Merge branch 'develop' into feature/DOPS-2337/pr-generator-eso-secret
BAStos525 Apr 10, 2023
c8588c8
try fix
BAStos525 Apr 10, 2023
ca6a22e
Merge branch 'feature/DOPS-2337/pr-generator-eso-secret' of https://g…
BAStos525 Apr 10, 2023
dc7a6e7
try fix
BAStos525 Apr 10, 2023
11a6d93
try fix
BAStos525 Apr 10, 2023
5f4cb60
try fix
BAStos525 Apr 10, 2023
090c61d
try fix
BAStos525 Apr 10, 2023
f0e7f55
Merge pull request #991 from sora-xor/feature/DOPS-2337/pr-generator-…
BAStos525 Apr 10, 2023
a9b63ac
update polkadot deps and fix account length (#1014)
stefashkaa Apr 11, 2023
15abe2a
Explore page improvements (#1012)
Nikita-Polyakov Apr 12, 2023
5961632
refactoring token approve (#1008)
Nikita-Polyakov Apr 12, 2023
9d44045
update wallet to 1.16.2 (#1017)
Nikita-Polyakov Apr 13, 2023
62105d7
Refactoring getters (#1018)
Nikita-Polyakov Apr 19, 2023
2208018
Update crowdloans (#1022)
Nikita-Polyakov Apr 20, 2023
dc86365
up wallet (#1024)
RustemYuzlibaev Apr 20, 2023
46f98ce
update wallet for crowdloans fixes (#1025)
Nikita-Polyakov Apr 20, 2023
2ba2fa9
Update xst swaps (#1027)
Nikita-Polyakov Apr 24, 2023
fb30371
update genesis hash check (#1028)
Nikita-Polyakov Apr 24, 2023
48f68a9
Update env.json (#1029)
stefashkaa Apr 25, 2023
03d105a
Update env.json (#1030)
stefashkaa Apr 25, 2023
2cf1af6
Google wallet (#978)
Nikita-Polyakov Apr 26, 2023
33e9cf7
filter zero tvl snapshots (#1033)
Nikita-Polyakov May 2, 2023
432168e
remove unused contracts (#1034)
Nikita-Polyakov May 3, 2023
d70eb3f
fix Jenkinsfile PR-generator part
BAStos525 May 4, 2023
cf0a68c
Merge pull request #1037 from sora-xor/duty/04-05-23/secret-store-var…
BAStos525 May 4, 2023
14911bf
add downstreamJob (#1042)
Nikita-Polyakov May 10, 2023
5945c09
Add fearless (#1038)
stefashkaa May 10, 2023
fe045ab
price alerts (#1013)
RustemYuzlibaev May 16, 2023
4a43b0f
Trustless EVM Bridge support (#792)
Nikita-Polyakov May 23, 2023
18d8861
update translations (#1047)
RustemYuzlibaev May 23, 2023
79927e1
remove tilda sign (#1045)
RustemYuzlibaev May 23, 2023
9641a0d
fix pw sdk & add countries (#1044)
RustemYuzlibaev May 25, 2023
fd64904
Create hideFromSearchEngine.sh (#1046)
RustemYuzlibaev May 29, 2023
15552bc
Improve ext connection and linting (#1053)
stefashkaa Jun 5, 2023
2574bae
fix trailing char (#1056)
RustemYuzlibaev Jun 7, 2023
b3d3563
Fix synths (#1057)
stefashkaa Jun 8, 2023
33fd4d7
Substrate bridge outgoing (#1059)
Nikita-Polyakov Jun 9, 2023
80fbb5b
Fix/disclaimer btn show (#1058)
RustemYuzlibaev Jun 13, 2023
1bbe045
Fix Sub bridge issues (#1060)
Nikita-Polyakov Jun 14, 2023
cce5272
add text for scroll (#1064)
RustemYuzlibaev Jun 15, 2023
c141dbd
Fix bridge network update from metamask (#1065)
Nikita-Polyakov Jun 16, 2023
ee8982c
Add fee multiplier support (#1066)
stefashkaa Jun 19, 2023
8ea87d7
change welcome text (#1069)
RustemYuzlibaev Jun 21, 2023
f4ec6f3
Fix/substrate outgoing network select (#1076)
Nikita-Polyakov Jun 22, 2023
e2ba23b
Set up coverage
C4tWithShell Jun 22, 2023
52819be
Merge branch 'develop' into test/DOPS-2461
C4tWithShell Jun 22, 2023
56a43c9
separate prod and stage
wpi86 Jun 27, 2023
1b9bab5
fix var
wpi86 Jun 29, 2023
9f895dc
add pre branch
wpi86 Jun 29, 2023
09be8a6
fix var
wpi86 Jun 29, 2023
409b7b8
revert lib
wpi86 Jun 29, 2023
1af3e30
Merge pull request #1080 from sora-xor/feature/DOPS-2441/separate-fle…
wpi86 Jun 29, 2023
235af9c
Update actions.ts (#1078)
RustemYuzlibaev Jun 29, 2023
24d6f23
Substrate bridge incoming transaction tracking (#1081)
Nikita-Polyakov Jun 30, 2023
dd3433d
fix (#1082)
RustemYuzlibaev Jul 1, 2023
3afae70
Fix sub assets fetching & hashi bridge issues (#1083)
Nikita-Polyakov Jul 3, 2023
92cce9f
Change jenkins lib
C4tWithShell Jul 3, 2023
6e908e8
Update KycView.vue (#1084)
RustemYuzlibaev Jul 3, 2023
9e4355e
Fix bridge account link (#1085)
Nikita-Polyakov Jul 4, 2023
86488db
Fix xst & sorting on explore page (#1075)
stefashkaa Jul 4, 2023
d225060
Fix issues 1.17 (#1086)
stefashkaa Jul 4, 2023
8cbdf8f
Merge branch 'develop' into test/DOPS-2461
Cre-eD Jul 5, 2023
f37c0cc
Check changes for errors
C4tWithShell Jul 5, 2023
6ab22b4
Revert
C4tWithShell Jul 5, 2023
0e6b753
Merge pull request #1050 from sora-xor/test/DOPS-2461
C4tWithShell Jul 5, 2023
b340cab
Fix notification links (#1092)
stefashkaa Jul 6, 2023
105b79d
Add params
C4tWithShell Jul 7, 2023
fa6d7f7
Merge fixes from release 1.17.0 (#1097)
Nikita-Polyakov Jul 10, 2023
671305f
Fix evm expected fee (#1091)
Nikita-Polyakov Jul 10, 2023
0625c1c
Save sub bridge transaction fees in runtime tx processing (#1088)
Nikita-Polyakov Jul 11, 2023
6d5d153
Bridge balances refactoring (#1100)
Nikita-Polyakov Jul 14, 2023
2142af3
Merge branch 'develop' into feature/SNE-245
C4tWithShell Jul 17, 2023
c5715f7
Change jenkins lib
C4tWithShell Jul 17, 2023
93a0008
spam reminder & bridge fee fix (#1103)
RustemYuzlibaev Jul 18, 2023
0e2f18a
address book (#1099)
RustemYuzlibaev Jul 19, 2023
c38f67d
update wallet 1.18.5 (#1106)
Nikita-Polyakov Jul 19, 2023
48a9a3d
Merge branch 'develop' into feature/SNE-245
Cre-eD Jul 19, 2023
a5c0014
Merge pull request #1102 from sora-xor/feature/SNE-245
C4tWithShell Jul 20, 2023
51a6bd5
[SORA Card]: change camera access request (#1107)
RustemYuzlibaev Jul 24, 2023
6705f3b
Update SECURITY.md (#1105)
WRRicht3r Jul 24, 2023
6de6264
[Swap] Show loss warning dialog (#1108)
Nikita-Polyakov Jul 25, 2023
4fed4fe
update wallet 1.18.8 (#1110)
Nikita-Polyakov Jul 25, 2023
0641d9d
Fix sub bridge tracking issues (#1104)
Nikita-Polyakov Jul 26, 2023
fd7a208
[Bridge UI] Use xcm fee in amount calculations (#1112)
Nikita-Polyakov Jul 27, 2023
c340b96
Fix node name in status bar (#1113)
stefashkaa Jul 28, 2023
78e3464
Add soramitsu node (#1114)
stefashkaa Aug 1, 2023
ba2e3b3
update wallet 1.18.9 (#1115)
Nikita-Polyakov Aug 1, 2023
99af856
Update nodes names (#1116)
stefashkaa Aug 1, 2023
5e58e89
[Tech] Testing workflow (#1111)
RustemYuzlibaev Aug 2, 2023
9f9cef6
remove sora parachain xcm fee, update rococo event (#1120)
Nikita-Polyakov Aug 3, 2023
f53ab26
update wallet with google login (#1121)
Nikita-Polyakov Aug 4, 2023
ce84d36
Get blacklisted countries from ipfs (#1122)
stefashkaa Aug 7, 2023
2090809
update wallet with google seed fix (#1124)
Nikita-Polyakov Aug 9, 2023
514efe6
Sub history restoration update (#1127)
Nikita-Polyakov Aug 14, 2023
df9ab2d
fix decimals in locked balance check (#1128)
Nikita-Polyakov Aug 15, 2023
4101a04
Update KycView.vue (#1131)
RustemYuzlibaev Aug 15, 2023
fe33582
Fix release 1.19 (#1134)
stefashkaa Aug 17, 2023
cbcfc49
fix decimals usage (#1136)
Nikita-Polyakov Aug 17, 2023
7dad309
Use address book in sub bridge (#1133)
Nikita-Polyakov Aug 18, 2023
d00a6dc
Fix release 1.20 (#1141)
stefashkaa Aug 21, 2023
a515c1a
added wallet translations for swap transfer batch extrinsic
timofeytrepalin Aug 22, 2023
49aeecd
Vue 2.7.14 & update packages (#1145)
Nikita-Polyakov Aug 24, 2023
714ac41
Pools & Explore pages default sort (#1146)
Nikita-Polyakov Aug 25, 2023
9abf901
send sora card refresh token (#1140)
MaksimBaranov98 Aug 31, 2023
6945bcd
Refactoring (#1148)
MaksimBaranov98 Aug 31, 2023
b0a90cd
unify payment systems (#1048)
RustemYuzlibaev Sep 5, 2023
b8977a8
Update ethers library to v6 (#1147)
Nikita-Polyakov Sep 5, 2023
68cdf23
ADAR name is const now
timofeytrepalin Sep 6, 2023
0f1769a
Merge branch 'develop' into feature/adar-wallet-translations
timofeytrepalin Sep 6, 2023
004e16b
updated localize for adar
timofeytrepalin Sep 6, 2023
9e8f5b2
Update swap subscription (#1150)
Nikita-Polyakov Sep 6, 2023
377195c
Fix dev branch issues (#1152)
stefashkaa Sep 8, 2023
5d50dfb
fix json import (#1153)
Nikita-Polyakov Sep 8, 2023
343d69c
Merge branch 'develop' into feature/adar-wallet-translations
timofeytrepalin Sep 11, 2023
5d5ef7a
bump wallet version and update yarn lock
timofeytrepalin Sep 11, 2023
26ab290
Merge pull request #1144 from sora-xor/feature/adar-wallet-translations
timofeytrepalin Sep 11, 2023
3dce06c
Swap quote subscription (#1156)
Nikita-Polyakov Sep 12, 2023
d5c4d18
add try catch to subscriptions (#1157)
Nikita-Polyakov Sep 13, 2023
5d770f5
update wallet 1.21.8 (#1158)
Nikita-Polyakov Sep 13, 2023
b761952
allow select node while node is connecting (#1159)
Nikita-Polyakov Sep 14, 2023
556c9f7
revise & dashboard (#1129)
RustemYuzlibaev Sep 15, 2023
42296ad
Fix release 1.21 issues (#1160)
stefashkaa Sep 15, 2023
f4a5536
Remove synths blockers from Add LP (#1162)
stefashkaa Sep 15, 2023
29c7c56
Add synthetic switcher to select asset (#1161)
Nikita-Polyakov Sep 15, 2023
752e022
Improve ads (#1163)
stefashkaa Sep 18, 2023
e79d1cf
Add debounce to resize event (#1164)
stefashkaa Sep 18, 2023
f002538
Fix content bottom margin (#1165)
stefashkaa Sep 18, 2023
e45e836
Update App.vue (#1167)
stefashkaa Sep 18, 2023
fa38021
Merge master (#1168)
stefashkaa Sep 18, 2023
ddf64de
fix (#1172)
RustemYuzlibaev Sep 21, 2023
fd511d0
Fix release 1.21 issues (#1175)
stefashkaa Sep 21, 2023
dfe112c
Enable supply chart for all tokens (#1170)
stefashkaa Sep 26, 2023
d3c3d70
[Bridge] Add Min & Max limits (#1151)
Nikita-Polyakov Sep 26, 2023
c101945
Fix sub bridge address issues (#1180)
Nikita-Polyakov Sep 28, 2023
5e7bc27
Remove ~ sign (#1179)
stefashkaa Sep 28, 2023
2162c06
Fix assets sorting order in swap and bridge (#1181)
Nikita-Polyakov Sep 28, 2023
1b63084
Add scroll into view (#1182)
stefashkaa Sep 28, 2023
ae2c902
Fix sub bridge sora fee & fix eth history restoration (#1183)
Nikita-Polyakov Sep 29, 2023
c64df58
Add XCM fee to transaction details & some fixes (#1185)
Nikita-Polyakov Oct 2, 2023
4dd1431
Update marketing.json (#1186)
stefashkaa Oct 3, 2023
f726b95
Merge branch 'develop' into release/1.22.1
stefashkaa Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkaswap-exchange-web",
"version": "1.22.0",
"version": "1.22.1",
"repository": {
"type": "git",
"url": "https://github.com/sora-xor/polkaswap-exchange-web.git"
Expand Down
4 changes: 1 addition & 3 deletions public/marketing.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@
{
"title": "GET SORA CARD",
"img": "/marketing/card.png",
"backgroundColor": "var(--s-color-theme-accent)",
"link": "/#/card"
},
{
"title": "CONNECT WITH GOOGLE",
"backgroundColor": "var(--s-color-theme-accent)",
"img": "/marketing/google.png",
"link": "https://medium.com/polkaswap/how-to-use-connect-with-google-on-polkawap-a4f9ea2cd2f2"
},
{
"title": "LEARN ABOUT SYNTHETICS",
"img": "/marketing/synths.png",
"backgroundColor": "var(--s-color-theme-accent)",
"link": "https://medium.com/polkaswap/unveiling-synthetic-assets-a-game-changer-in-the-financial-landscape-1720e5858422"
}
]
Binary file added public/marketing/google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/marketing/synths.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion src/components/App/Header/AppMarketing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ import { Component, Mixins } from 'vue-property-decorator';
import { state } from '@/store/decorators';
import type { Ad } from '@/store/settings/types';

import type { CSSProperties } from 'vue/types/jsx';

// PS. Do not call this component & css classes like ad/ads -> it'll be blocked by any blocker browser extension
@Component
export default class AppMarketing extends Mixins(mixins.TranslationMixin) {
Expand Down Expand Up @@ -62,7 +64,11 @@ export default class AppMarketing extends Mixins(mixins.TranslationMixin) {
}

getStyles(ad: Ad) {
return { backgroundImage: `url(${ad.img})`, backgroundColor: ad.backgroundColor };
const styles: CSSProperties = { backgroundImage: `url(${ad.img})` };
if (ad.backgroundColor) {
styles.backgroundColor = ad.backgroundColor;
}
return styles;
}

prev(): void {
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 @@ -6,7 +6,7 @@ import type { Subscription } from 'rxjs';
export type Ad = {
title: string;
img: string;
backgroundColor: string;
backgroundColor?: string;
link: string;
};

Expand Down
20 changes: 16 additions & 4 deletions src/views/Explore/Tokens.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<token-logo class="explore-table-item-logo" :token-symbol="row.symbol" />
<div class="explore-table-item-info explore-table-item-info--body">
<div class="explore-table-item-name">{{ row.symbol }}</div>
<div class="explore-table__secondary">{{ row.name }}</div>
<div class="explore-table__secondary explore-table__token-name">{{ row.name }}</div>
<div class="explore-table-item-address">
<token-address
class="explore-table-item-address__value"
Expand Down Expand Up @@ -268,11 +268,14 @@ const calcVolume = (nodes: AssetSnapshotEntity[]): FPNumber => {
};

const parse = (item: AssetData): Record<string, TokenData> => {
const startPriceDay = last(item.hourSnapshots.nodes)?.priceUSD?.open;
const startPriceWeek = last(item.daySnapshots.nodes)?.priceUSD?.open;
const liquidity = item.liquidity;
return {
[item.id]: {
reserves: FPNumber.fromCodecValue(item.liquidity ?? 0),
startPriceDay: new FPNumber(last(item.hourSnapshots.nodes)?.priceUSD?.open ?? 0),
startPriceWeek: new FPNumber(last(item.daySnapshots.nodes)?.priceUSD?.open ?? 0),
reserves: liquidity ? FPNumber.fromCodecValue(liquidity) : FPNumber.ZERO,
startPriceDay: startPriceDay ? new FPNumber(startPriceDay) : FPNumber.ZERO,
startPriceWeek: startPriceWeek ? new FPNumber(startPriceWeek) : FPNumber.ZERO,
volumeDay: calcVolume(item.hourSnapshots.nodes),
volumeWeek: calcVolume(item.daySnapshots.nodes),
},
Expand Down Expand Up @@ -393,3 +396,12 @@ export default class Tokens extends Mixins(ExplorePageMixin, TranslationMixin) {
<style lang="scss">
@include explore-table;
</style>

<style lang="scss" scoped>
.explore-table__token-name {
max-width: 155px;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>