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

Adar dev #9

Merged
merged 61 commits into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
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
d29d05b
swap dialog fixes - bugs 86, 87, 61
timofeytrepalin Feb 7, 2023
6df5fca
polkaswap update and swap dialog bug fixes
timofeytrepalin Feb 7, 2023
9503a29
Upgrade PW SDK (#930)
RustemYuzlibaev Feb 8, 2023
5c38912
Changed all issue fix string
timofeytrepalin 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
55f73e8
Merge branch 'polkaswap-develop' into polkaswap-update
timofeytrepalin Feb 13, 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
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
e4d748a
Merge branch 'polkaswap-develop' into polkaswap-update
timofeytrepalin Feb 20, 2023
46a28ae
New swap transfer batch
timofeytrepalin Mar 1, 2023
6e3ee8b
Delete console log
timofeytrepalin Mar 2, 2023
802e2b8
Added types in routeAsset/action
timofeytrepalin Mar 2, 2023
45a0b93
Polkaswap merge only
timofeytrepalin Mar 2, 2023
3bdbf9c
Merge branch 'polkaswap-update' into adar-dev-merge-batch
timofeytrepalin Mar 2, 2023
70eab04
New batch dexId fix
timofeytrepalin Mar 3, 2023
42f0ac5
Merge pull request #7 from soramitsu/feature/new-swap-transfer-batch
timofeytrepalin Mar 3, 2023
a22bce1
Merge pull request #8 from soramitsu/polkaswap-merge
timofeytrepalin Mar 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
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkaswap-exchange-web",
"version": "1.13.0",
"version": "1.15.0",
"repository": {
"type": "git",
"url": "https://github.com/sora-xor/polkaswap-exchange-web.git"
Expand All @@ -25,12 +25,14 @@
},
"dependencies": {
"@metamask/detect-provider": "^2.0.0",
"@soramitsu/soraneo-wallet-web": "1.13.1",
"@soramitsu/soraneo-wallet-web": "1.15.4",
"@walletconnect/web3-provider": "^1.8.0",
"base-64": "^1.0.0",
"core-js": "^3.26.0",
"country-code-emoji": "^2.3.0",
"direct-vuex": "^0.12.1",
"echarts": "^5.4.1",
"email-validator": "^2.0.4",
"ethers": "^5.7.2",
"jspdf": "^2.5.1",
"jspdf-autotable": "^3.5.28",
Expand All @@ -44,7 +46,7 @@
"vue-i18n": "^8.11.2",
"vue-plugin-load-script": "^2.x.x",
"vue-property-decorator": "^9.1.2",
"vue-router": "^3.5.3",
"vue-router": "^3.6.5",
"vuex": "^3.1.3"
},
"devDependencies": {
Expand Down
9 changes: 2 additions & 7 deletions public/adar/template.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
//name, wallet address, usd amount, token symbol
"Ted Cortez",000000000000000000000000000000000000000000000000,10,val
"Ted Cortez",000000000000000000000000000000000000000000000000,10,xor
"Honor Pearce",000000000000000000000000000000000000000000000000,1,pswap
"Rhianna Carpenter",000000000000000000000000000000000000000000000000,10,xor
"Ali Odonnell",000000000000000000000000000000000000000000000000,1,val
"Julian Jenkins",000000000000000000000000000000000000000000000000,1,val
Melanie Wilson;cnWX1RR9W3iZXtrL5W6WjJoDsWWZHLDCDCMkmWyirHAZJyVu8;2000;XOR
Charles Scott;cnWX1RR9W3iZXtrL5W6WjJoDsWWZHLDCDCMkmWyirHAZJyVu8;3000;PSWAP
Binary file added public/card/sora-card-front.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 added public/card/sora-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 22 additions & 22 deletions scripts/generateLocaleJson.ts
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
import fs from 'fs'
import { JSDOM } from 'jsdom'
import fs from 'fs';
import { JSDOM } from 'jsdom';

// Mock browser dependencies for imported libraries
const dom = new JSDOM()
global.document = dom.window.document as any
global.window = dom.window as any
global.localStorage = { getItem: () => {} } as any
const dom = new JSDOM();
global.document = dom.window.document as any;
global.window = dom.window as any;
global.localStorage = { getItem: () => {} } as any;

function format (obj: any, formatted: any) {
function format(obj: any, formatted: any) {
for (const key of Object.keys(obj)) {
const value = obj[key]
if (typeof (value) === 'string') {
formatted[key] = value
const value = obj[key];
if (typeof value === 'string') {
formatted[key] = value;
} else {
formatted[key] = {}
format(value, formatted[key])
formatted[key] = {};
format(value, formatted[key]);
if (!Object.keys(formatted[key]).length) {
delete formatted[key]
delete formatted[key];
}
}
}
}

(async function main () {
const buildDir = './src/lang'
(async function main() {
const buildDir = './src/lang';
if (!fs.existsSync(buildDir)) {
fs.mkdirSync(buildDir)
fs.mkdirSync(buildDir);
}
const langObj = (await import('../src/lang/messages')).default
const formatted = {} as any
format(langObj, formatted)
fs.writeFileSync(`${buildDir}/en.json`, JSON.stringify(formatted, null, 4))
console.log(`${buildDir}/en.json created!`)
})()
const langObj = (await import('../src/lang/messages')).default;
const formatted = {} as any;
format(langObj, formatted);
fs.writeFileSync(`${buildDir}/en.json`, JSON.stringify(formatted, null, 4));
console.info(`${buildDir}/en.json created!`);
})();
5 changes: 3 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<app-logo-button slot="head" class="app-logo--menu" :theme="libraryTheme" @click="goToSwap" />
</app-menu>
<div class="app-body" :class="{ 'app-body__about': isAboutPage }">
<s-scrollbar class="app-body-scrollbar">
<s-scrollbar class="app-body-scrollbar" v-loading="pageLoading">
<div v-if="blockNumber && !isCurrentPageTooWide" class="block-number">
<s-tooltip :content="t('blockNumberText')" placement="bottom" tabindex="-1">
<a class="block-number-link" :href="blockExplorerLink" target="_blank" rel="nofollow noopener">
Expand Down Expand Up @@ -98,6 +98,7 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
@state.settings.browserNotifPopupVisibility browserNotifPopup!: boolean;
@state.settings.browserNotifPopupBlockedVisibility browserNotifPopupBlocked!: boolean;
@state.settings.blockNumber blockNumber!: number;
@state.router.loading pageLoading!: boolean;

@getter.wallet.transactions.firstReadyTx firstReadyTransaction!: Nullable<HistoryItem>;
@getter.wallet.account.isLoggedIn isSoraAccountConnected!: boolean;
Expand Down Expand Up @@ -376,7 +377,7 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
// console.dir(value);
// console.groupEnd();

const message = this.getMessage(value, this.shouldBalanceBeHidden);
const message = this.getOperationMessage(value, this.shouldBalanceBeHidden);
const isNewTx = !oldValue || oldValue.id !== value.id;
const recipients = this.recipients.filter((item) => item.txId === value.id);

Expand Down
68 changes: 0 additions & 68 deletions src/assets/img/sora-card/sora-card-front.svg

This file was deleted.

Loading