Repository navigation
Add Approve account merge requests task to Home - #108297
dukenv0307 wants to merge 7 commits into
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx bun ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
|
@MelvinBot how to fix these failing tests |
|
There are four PR-related fixes, plus one unrelated lint failure:
Unrelated Oxlint failure: After fixing the PR-related issues, rerun: npm test -- --runInBand --runTestsByPath tests/unit/DomainSelectorsTest.ts tests/unit/ExportOnyxStateTest.ts
npm run typecheck
npm run gh-actions-buildI inspected the CI logs and code; I haven’t changed files or rerun the tests. |
|
@nkdengineer Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3be126e02b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@dukenv0307 Just have a minor comment. Please check my comment and codex review. |
🦜 Polyglot Parrot! 🦜Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues: View the translation diffdiff --git a/src/languages/de.ts b/src/languages/de.ts
index f8339b34..bb383abf 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -1170,8 +1170,8 @@ const translations: TranslationDeepObject<typeof en> = {
other: `Prüfen Sie ${count} Domain-Admin-Anfragen`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: 'Genehmigen Sie 1 Kontozusammenführungsanfrage',
- other: `Genehmigen Sie ${count} Kontozusammenführungsanfragen`,
+ one: '1 Kontozusammenführungsanfrage genehmigen',
+ other: `${count} Kontozusammenführungsanfragen genehmigen`,
}),
},
upcomingTravel: 'Bevorstehende Reisen',
diff --git a/src/languages/el.ts b/src/languages/el.ts
index 0e48ace8..92dcc294 100644
--- a/src/languages/el.ts
+++ b/src/languages/el.ts
@@ -1183,8 +1183,8 @@ const translations: TranslationDeepObject<typeof en> = {
other: `Ελέγξτε ${count} αιτήματα διαχειριστή τομέα`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: 'Εγκρίνετε 1 αίτημα συγχώνευσης λογαριασμού',
- other: `Εγκρίνετε ${count} αιτήματα συγχώνευσης λογαριασμού`,
+ one: 'Έγκριση 1 αιτήματος συγχώνευσης λογαριασμού',
+ other: `Εγκρίνετε ${count} αιτήματα συγχώνευσης λογαριασμών`,
}),
submit: ({count}: {count: number}) => ({
one: 'Υποβολή 1 αναφοράς',
diff --git a/src/languages/es.ts b/src/languages/es.ts
index 2703a029..1ae3e022 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -1182,8 +1182,8 @@ const translations: TranslationDeepObject<typeof en> = {
other: `Revisa ${count} solicitudes de administrador de dominio`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: 'Aprueba 1 solicitud de fusión de cuenta',
- other: `Aprueba ${count} solicitudes de fusión de cuenta`,
+ one: 'Aprobar 1 solicitud de fusión de cuenta',
+ other: `Aprobar ${count} solicitudes de fusión de cuentas`,
}),
},
gettingStartedSection: {
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index f46b1ebd..677a8569 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -1174,8 +1174,8 @@ const translations: TranslationDeepObject<typeof en> = {
other: `Examiner ${count} demandes d'administrateur de domaine`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: `Approuver ${count} demande de fusion de compte`,
- other: `Approuver ${count} demandes de fusion de compte`,
+ one: 'Approuver 1 demande de fusion de compte',
+ other: `Approuver ${count} demandes de fusion de comptes`,
}),
},
upcomingTravel: 'Voyages à venir',
diff --git a/src/languages/it.ts b/src/languages/it.ts
index a0958c7f..c005a161 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -1174,7 +1174,7 @@ const translations: TranslationDeepObject<typeof en> = {
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
one: 'Approva 1 richiesta di unione account',
- other: `Approva ${count} richieste di unione account`,
+ other: `Approva ${count} richieste di unione dell’account`,
}),
},
upcomingTravel: 'Prossimi viaggi',
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index ee5093f9..c428e6c1 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -1158,8 +1158,8 @@ const translations: TranslationDeepObject<typeof en> = {
other: `${count} 件のドメイン管理者リクエストを確認`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: `${count} 件のアカウント統合リクエストを承認`,
- other: `${count} 件のアカウント統合リクエストを承認`,
+ one: '1件のアカウント統合リクエストを承認',
+ other: `${count} 件のアカウント統合リクエストを承認します`,
}),
},
upcomingTravel: '今後の出張',
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index ec964ce8..1431b8e3 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -1169,8 +1169,8 @@ const translations: TranslationDeepObject<typeof en> = {
other: `Beoordeel ${count} domeinbeheerdersverzoeken`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: 'Keur 1 accountsamenvoegingsverzoek goed',
- other: `Keur ${count} accountsamenvoegingsverzoeken goed`,
+ one: '1 verzoek tot samenvoegen van accounts goedkeuren',
+ other: `Keur ${count} verzoeken tot samenvoegen van accounts goed`,
}),
},
upcomingTravel: 'Aankomende reizen',
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index a7520c6d..c28c2462 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -1199,10 +1199,8 @@ const translations: TranslationDeepObject<typeof en> = {
other: `Przejrzyj ${count} prośby administratora domeny`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: 'Zatwierdź 1 prośbę o scalenie konta',
- few: `Zatwierdź ${count} prośby o scalenie konta`,
- many: `Zatwierdź ${count} próśb o scalenie konta`,
- other: `Zatwierdź ${count} prośby o scalenie konta`,
+ one: 'Zatwierdź 1 prośbę o scalenie kont',
+ other: `Zatwierdź ${count} prośby o połączenie konta`,
}),
},
upcomingTravel: 'Nadchodząca podróż',
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index 26d83e82..8b6fb4f0 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -1172,7 +1172,7 @@ const translations: TranslationDeepObject<typeof en> = {
other: `Revisar ${count} solicitações de administrador de domínio`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: `Aprovar ${count} solicitação de mesclagem de conta`,
+ one: 'Aprovar 1 solicitação de mesclagem de conta',
other: `Aprovar ${count} solicitações de mesclagem de conta`,
}),
},
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index db9837a6..70ee5a14 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -1137,7 +1137,7 @@ const translations: TranslationDeepObject<typeof en> = {
other: `审核 ${count} 个域管理员请求`,
}),
approveAccountMergeRequests: ({count}: {count: number}) => ({
- one: `批准 ${count} 个账户合并请求`,
+ one: '批准 1 个账户合并请求',
other: `批准 ${count} 个账户合并请求`,
}),
},
Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeScreen.Recording.2026-12-01.at.17.08.41.moviOS: HybridAppScreen.Recording.2026-12-01.at.17.07.42.moviOS: mWeb SafariScreen.Recording.2026-12-01.at.17.08.28.movMacOS: Chrome / SafariScreen.Recording.2026-12-01.at.17.05.53.mov |
|
@dukenv0307 please also update the translation. |
|
To confirm...
|
Yes and yes |

Explanation of Change
Add Approve account merge requests task to Home
Fixed Issues
$ #106168
PROPOSAL:
Tests
Precondition: Have 2 domain accounts (different domains) that share a tech contact. Have at least 1 merge request
Approve x account merge requestsis shownScreen.Recording.2026-11-26.at.18.03.05.mov
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari