Skip to content

Conversation

@leofelix077
Copy link
Collaborator

@leofelix077 leofelix077 commented Nov 21, 2025

Closes #2401

Screen.Recording.2025-11-24.at.15.50.11.mov

@leofelix077 leofelix077 self-assigned this Nov 21, 2025
@leofelix077 leofelix077 added wip not for merging yet don't review yet wip / tests in progress / missing videos or screenshots / pending self code-review labels Nov 21, 2025
@leofelix077 leofelix077 changed the title Feature/add pt missing translations Update PT Translations and usage Nov 24, 2025
@leofelix077 leofelix077 added enhancement New feature or request and removed wip not for merging yet don't review yet wip / tests in progress / missing videos or screenshots / pending self code-review labels Nov 24, 2025
@leofelix077 leofelix077 requested review from aristidesstaffieri and piyalbasu and removed request for aristidesstaffieri November 24, 2025 15:26
@leofelix077 leofelix077 marked this pull request as ready for review November 24, 2025 16:15
@leofelix077 leofelix077 reopened this Nov 24, 2025
@leofelix077 leofelix077 reopened this Nov 24, 2025
@leofelix077 leofelix077 changed the base branch from release/5.36.0 to feature/check-memo-required-on-send November 24, 2025 19:26
@leofelix077 leofelix077 reopened this Nov 26, 2025
page.getByTestId("asset-on-list").waitFor({ state: "visible" }),
]);

if (await notOnLists.isVisible()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we removing these tests?

await page.locator("#termsOfUse-input").check({ force: true });
await page.getByText("Confirm").click();

// GDF32CQINROD3E2LMCGZUDVMWTXCJFR5SBYVRJ7WAAIAS3P7DCVWZEFY
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment is useful to let devs know the mnemonic phrase below maps to this G address - we check the UI for this specific G address a few times in these tests

await page.getByTestId("display-mnemonic-phrase-confirm-btn").click();
await expect(page.getByText("You’re all set!")).toBeVisible();

// Wait for navigation to success page (create wallet uses different route than import)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a lot of seemingly unrelated changes to tests in this PR. Was this the only way you could get your tests to run? It'd be helpful from a reviewer perspective to understand why we need all these changes

);
expect(screen.getByTestId("tile-secondary")).toHaveTextContent(
"Choose asset",
"Choose Asset",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the motivation to switch casing for all these labels, but now this doesn't match our figma. We should be chatting with @sdfcharles before making sweeping changes like this. He may be fine with this, but we should be having a conversation about it


// Custom transform function that preserves existing translations
// Only adds new keys, never overwrites existing values
function preserveExistingTranslations(locale, namespace, key, value) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we want this? This seems like a significant custom implementation and it's not clear to why we need something that I18nextWebpackPlugin doesn't provide out of the box

? currentTransactionFee
: simParams.type === "classic"
? simParams.transactionFee
: transactionFee;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these fee changes be part of this translations PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants