-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
chore(trading): rename coinmarket to trading #16590
Conversation
0b7aa4b
to
fd14bbc
Compare
45c0a0d
to
4a935e2
Compare
9b38c9e
to
e2c4556
Compare
🚀 Expo preview is ready!
|
cf60a10
to
538a692
Compare
@@ -183,8 +183,8 @@ const test = base.extend<Fixtures>({ | |||
const recoveryPage = new RecoveryActions(page); | |||
await use(recoveryPage); | |||
}, | |||
marketPage: async ({ page, url }, use) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vere-Grey is that correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it is not. It revers 3 days old PR #16516
Please remove this change
@@ -259,9 +247,9 @@ export class MarketActions { | |||
}); | |||
} | |||
|
|||
const redirecteTradeResponse = createRedirectedTradeResponse(this.url); | |||
const redirectedTradeResponse = createRedirectedTradeResponse(this.page.url()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this @Vere-Grey is correct? Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const redirectedTradeResponse = createRedirectedTradeResponse(this.page.url()); | |
const redirectedTradeResponse = createRedirectedTradeResponse(this.url()); |
packages/suite/src/hooks/wallet/trading/form/common/useTradingAccount.ts
Outdated
Show resolved
Hide resolved
packages/suite/src/hooks/wallet/trading/form/useTradingSellForm.ts
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,52 @@ | |||
import type { OnUpgradeFunc } from '@trezor/suite-storage'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tomasklim is that correct migration?
@@ -224,126 +224,126 @@ export default defineMessages({ | |||
defaultMessage: | |||
'All fees included; the transaction fee is estimated at {feeAmount} ({feeAmountFiat}).', | |||
}, | |||
TR_COINMARKET_SWAP_MODAL_FOR_YOUR_SAFETY: { | |||
TR_TRADING_SWAP_MODAL_FOR_YOUR_SAFETY: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MiroslavProchazka can I change translations in this way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
translators will have to translate it again, is it ok? @MiroslavProchazka
packages/suite/src/views/wallet/tokens/common/TokensTable/TokenRow.tsx
Outdated
Show resolved
Hide resolved
packages/suite/src/views/wallet/tokens/common/TokensTable/TokenRow.tsx
Outdated
Show resolved
Hide resolved
packages/suite/src/views/wallet/tokens/common/TokensTable/TokenRow.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are 3 incorrectly resolved conflicts.
@@ -183,8 +183,8 @@ const test = base.extend<Fixtures>({ | |||
const recoveryPage = new RecoveryActions(page); | |||
await use(recoveryPage); | |||
}, | |||
marketPage: async ({ page, url }, use) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it is not. It revers 3 days old PR #16516
Please remove this change
packages/suite-desktop-core/e2e/support/pageActions/marketActions.ts
Outdated
Show resolved
Hide resolved
@@ -259,9 +247,9 @@ export class MarketActions { | |||
}); | |||
} | |||
|
|||
const redirecteTradeResponse = createRedirectedTradeResponse(this.url); | |||
const redirectedTradeResponse = createRedirectedTradeResponse(this.page.url()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const redirectedTradeResponse = createRedirectedTradeResponse(this.page.url()); | |
const redirectedTradeResponse = createRedirectedTradeResponse(this.url()); |
I have checked it on https://dev.suite.sldev.cz/suite-web/chore/rename-coinmarket-to-trading/web and all the main coinmarket (now trading) features should be working - checked also with real buy/sell/swap transactions. TEST OK. |
7b11f3b
to
4ecc9df
Compare
4ecc9df
to
57fa3ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Coinmarket
prefix toTrading
useCoinmarket
prefix touseTrading
Related Issue
Resolve #16543