Skip to content

[Payment due @ZhenjaHorbach] [Wise][Release 1] Business - UI - GR enabled on US account (Wallet Page) - #105491

Merged
grgia merged 10 commits into
Expensify:mainfrom
software-mansion-labs:show-global-reimbursements-enabled-on-bank-accounts
Nov 3, 2026
Merged

grgia merged 10 commits into
Expensify:mainfrom
software-mansion-labs:show-global-reimbursements-enabled-on-bank-accounts

Conversation

@WojtekBoman

@WojtekBoman WojtekBoman commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

Behind the wiseReimbursements beta, Wallet bank rows with isGlobalReimbursementEnabled: true show a globe after the name. Its tooltip appears on hover on web and on long-press on native. These accounts also stop being eligible for setup, so "Enable Global Reimbursements", the GR banners and the Wise intro no longer offer a setup that is already done.
Screenshot 2026-10-30 at 14 48 50

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/692503
PROPOSAL:

Tests

Setup: an account with at least two verified (OPEN) USD business bank accounts. The backend webhook that sets the flag after Wise approval (https://github.com/Expensify/Expensify/issues/690517) is not live yet, so enable the beta and set the flag on the first account from the JS console once Wallet has loaded:

Onyx.merge('betaOverrides', {wiseReimbursements: true});
Onyx.get('bankAccountList').then((l) => Onyx.merge('bankAccountList', {[Object.keys(l)[0]]: {accountData: {additionalData: {isGlobalReimbursementEnabled: true}}}}));

Leaving Wallet refetches the bank account list and resets the flag, so run the second line again after navigating away.

Test 1: Globe and tooltip (web / desktop)

  1. Go to Account > Wallet and run the setup snippet
  2. Verify that the first bank account shows a grey globe right after its name, and the other account shows no globe
  3. Hover over the globe
  4. Verify that a "Global reimbursements enabled" tooltip appears above it
  5. Click the globe
  6. Verify that the row's three-dot menu opens, the same as clicking the rest of the row

Test 2: Long-press tooltip (iOS / Android)

  1. Go to Account > Wallet and set the flag on a bank account (via the Onyx debug tooling, or with an account that has the flag from the backend)
  2. Long-press the globe next to that account's name
  3. Verify that a "Global reimbursements enabled" tooltip appears
  4. Tap anywhere outside the tooltip
  5. Verify that the tooltip closes
  6. Tap the globe once
  7. Verify that the row's three-dot menu opens

Test 3: No setup offered for an account that already has global reimbursements

  1. Go to Account > Wallet and run the setup snippet
  2. Open the three-dot menu on the first bank account (the one with the globe)
  3. Verify that "Enable Global Reimbursements" is not in the menu
  4. Open the three-dot menu on the other bank account
  5. Verify that "Enable Global Reimbursements" is still in the menu
  6. Run Onyx.merge('betaOverrides', {wiseReimbursements: false})
  7. Verify that the globe is no longer shown
  • Verify that no errors appear in the JS console

Offline tests

  1. Go to Account > Wallet and run the setup snippet
  2. Go offline
  3. Verify that the globe and its tooltip still show on the first bank account
  4. Delete that bank account from its three-dot menu
  5. Verify that the row is struck through and the globe is hidden while the deletion is pending

QA Steps

Same as tests. QA needs an account on the wiseReimbursements beta with a USD business bank account that has isGlobalReimbursementEnabled: true. Until https://github.com/Expensify/Expensify/issues/690517 is deployed, that has to be a Corpay-enabled account or one where the flag was set by hand.

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I verified any copy / text that was added to the app is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • If new assets were added or existing ones were modified, I verified that:
    • The assets are optimized and compressed (for SVG files, run npm run compress-svg)
    • The assets load correctly across all supported platforms.
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If the PR adds or modifies the UI:
    • I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    • I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    • I verified all new/changed elements have meaningful accessible names and roles.
    • I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari

@melvin-bot

melvin-bot Bot commented Oct 30, 2026

Copy link
Copy Markdown

Hey, I noticed you changed src/languages/en.ts in a PR from a fork. For security reasons, translations are not generated automatically for PRs from forks.

If you want to automatically generate translations for other locales, an Expensify employee will have to:

  1. Look at the code and make sure there are no malicious changes.
  2. Run the Generate static translations GitHub workflow. If you have write access and the K2 extension, you can simply click: [this button]

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 --help

Typically, you'd want to translate only what you changed by running npx bun ./scripts/generateTranslations.ts --compare-ref main

@WojtekBoman WojtekBoman changed the title Show global reimbursements enabled on bank accounts [Wise][Release 1] Business - UI - GR enabled on US account (Wallet Page) Oct 30, 2026
@OSBotify

Copy link
Copy Markdown
Contributor

🦜 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 diff
diff --git a/src/languages/de.ts b/src/languages/de.ts
index c7ea8d0d..d21ec755 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -3125,6 +3125,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: 'Die Bankkonten des Unternehmens und der Mitarbeitenden verwenden unterschiedliche Währungen.',
         },
         wiseGlobalReimbursementsBanner: {title: 'Weltweit bezahlen', subtitle: 'Aktivieren Sie globale Erstattungen auf Ihrem USD-Konto.'},
+        globalReimbursementsEnabled: 'Globale Rückerstattungen aktiviert',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `Karte zu ${walletName} hinzufügen`,
diff --git a/src/languages/el.ts b/src/languages/el.ts
index 05a4b0d8..061db47b 100644
--- a/src/languages/el.ts
+++ b/src/languages/el.ts
@@ -3177,6 +3177,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: 'Οι τραπεζικοί λογαριασμοί της εταιρείας και των εργαζομένων χρησιμοποιούν διαφορετικά νομίσματα.',
         },
         wiseGlobalReimbursementsBanner: {title: 'Πληρώστε ανθρώπους παγκοσμίως', subtitle: 'Ενεργοποιήστε τις παγκόσμιες αποζημιώσεις στον λογαριασμό USD σας.'},
+        globalReimbursementsEnabled: 'Έγινε ενεργοποίηση των παγκόσμιων αποζημιώσεων',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `Προσθήκη κάρτας στο ${walletName}`,
diff --git a/src/languages/es.ts b/src/languages/es.ts
index e2997c44..c075c17c 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -3027,6 +3027,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: 'Las cuentas bancarias de la empresa y del empleado usan monedas diferentes.',
         },
         wiseGlobalReimbursementsBanner: {title: 'Paga a personas de todo el mundo', subtitle: 'Habilita los reembolsos globales en tu cuenta en USD.'},
+        globalReimbursementsEnabled: 'Reembolsos globales habilitados',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `Añadir tarjeta a ${walletName}`,
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index 50358123..228ac7ea 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -3130,6 +3130,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: 'Les comptes bancaires de l’entreprise et de l’employé utilisent des devises différentes.',
         },
         wiseGlobalReimbursementsBanner: {title: 'Payer des personnes dans le monde entier', subtitle: 'Activez les remboursements globaux sur votre compte en USD.'},
+        globalReimbursementsEnabled: 'Remboursements globaux activés',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `Ajouter la carte à ${walletName}`,
diff --git a/src/languages/it.ts b/src/languages/it.ts
index c9a293f0..a89d3339 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -3114,6 +3114,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: 'I conti bancari dell’azienda e del dipendente utilizzano valute diverse.',
         },
         wiseGlobalReimbursementsBanner: {title: 'Paga persone in tutto il mondo', subtitle: 'Abilita i rimborsi globali sul tuo conto in USD.'},
+        globalReimbursementsEnabled: 'Rimborsi globali abilitati',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `Aggiungi carta a ${walletName}`,
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index a2f6cc60..0a7c9a84 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -3093,6 +3093,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: '会社と従業員の銀行口座は異なる通貨を使用しています。',
         },
         wiseGlobalReimbursementsBanner: {title: '世界中の人に支払いましょう', subtitle: 'USD アカウントでグローバル払い戻しを有効にします。'},
+        globalReimbursementsEnabled: 'グローバル精算が有効になりました',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `${walletName} にカードを追加`,
@@ -7454,7 +7455,6 @@ _詳しい手順については、[ヘルプサイトをご覧ください](${CO
                 title: 'メンバーをコピー',
                 prompt: ({count, targetWorkspaceName}: {count: number; targetWorkspaceName: string}) => ({
                     one: `${targetWorkspaceName}のメンバーをこのワークスペースのメンバーで置き換えてもよろしいですか?`,
-                    // Japanese has no "one" plural category, so handle the single-workspace case here
                     other:
                         count === 1
                             ? `${targetWorkspaceName}のメンバーをこのワークスペースのメンバーで置き換えてもよろしいですか?`
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index 9723637e..8d61102a 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -3117,6 +3117,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: 'De bankrekeningen van het bedrijf en de medewerker gebruiken verschillende valuta.',
         },
         wiseGlobalReimbursementsBanner: {title: 'Betaal mensen wereldwijd', subtitle: 'Schakel wereldwijde terugbetalingen in op je USD-rekening.'},
+        globalReimbursementsEnabled: 'Wereldwijde terugbetalingen ingeschakeld',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `Kaart toevoegen aan ${walletName}`,
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index acac974e..f2bcc6eb 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -3153,6 +3153,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: 'Konta bankowe firmy i pracownika są w różnych walutach.',
         },
         wiseGlobalReimbursementsBanner: {title: 'Płać ludziom na całym świecie', subtitle: 'Włącz globalne zwroty wydatków na swoim koncie w USD.'},
+        globalReimbursementsEnabled: 'Włączono globalne zwroty',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `Dodaj kartę do ${walletName}`,
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index 72d4ca61..82ae30ed 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -3117,6 +3117,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: 'As contas bancárias da empresa e do funcionário usam moedas diferentes.',
         },
         wiseGlobalReimbursementsBanner: {title: 'Pague pessoas no mundo todo', subtitle: 'Ative reembolsos globais na sua conta em USD.'},
+        globalReimbursementsEnabled: 'Reembolsos globais ativados',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `Adicionar cartão à ${walletName}`,
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index d853af9d..a42266fa 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -3018,6 +3018,7 @@ const translations: TranslationDeepObject<typeof en> = {
             payingReportSubtitle: '公司账户和员工账户使用的货币不同。',
         },
         wiseGlobalReimbursementsBanner: {title: '向全球付款', subtitle: '在您的美元账户中启用全球报销。'},
+        globalReimbursementsEnabled: '已启用全球报销',
     },
     addCardToDigitalWallet: {
         title: ({walletName}: {walletName: string}) => `将卡添加到 ${walletName}`,
@@ -7281,7 +7282,6 @@ _如需更详细的说明,请[访问我们的帮助网站](${CONST.NETSUITE_IM
                 title: '复制成员',
                 prompt: ({count, targetWorkspaceName}: {count: number; targetWorkspaceName: string}) => ({
                     one: `确定要用此工作区的成员替换 ${targetWorkspaceName} 的成员吗?`,
-                    // Chinese has no "one" plural category, so handle the single-workspace case here
                     other: count === 1 ? `确定要用此工作区的成员替换 ${targetWorkspaceName} 的成员吗?` : `确定要用此工作区的成员替换 ${count} 个工作区的成员吗?`,
                 }),
             },

Note

You can apply these changes to your branch by copying the patch to your clipboard, then running pbpaste | git apply 😉

View workflow run

@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ Changes either increased or maintained existing code coverage, great job!

Files with missing lines Coverage Δ
src/CONST/index.ts 95.96% <ø> (ø)
src/components/Tooltip/GenericTooltip.tsx 93.80% <100.00%> (+0.94%) ⬆️
src/libs/BankAccountUtils.ts 98.23% <100.00%> (+0.03%) ⬆️
src/pages/settings/Wallet/PaymentMethodList.tsx 76.55% <100.00%> (+2.33%) ⬆️
...rc/pages/settings/Wallet/PaymentMethodListItem.tsx 71.81% <100.00%> (+0.38%) ⬆️
...dIcon/LongPressGlobalReimbursementsEnabledIcon.tsx 71.42% <71.42%> (ø)
...s/Wallet/GlobalReimbursementsEnabledIcon/index.tsx 0.00% <0.00%> (ø)
... and 11 files with indirect coverage changes

@WojtekBoman

Copy link
Copy Markdown
Contributor Author

@codex review

@WojtekBoman

Copy link
Copy Markdown
Contributor Author

@MelvinBot review this

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T15:35:15.140279Z ebaebe6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@MelvinBot

Copy link
Copy Markdown
Contributor

Review

The logic changes look correct. I found one bug on native: the globe tooltip works the first time, but after that a tap outside no longer closes it.

Bug: on native, the tooltip can't be closed after the first long-press

GlobalReimbursementsEnabledIcon/index.native.tsx:34 relies on shouldUseOverlay to close the tooltip. However, GenericTooltip only uses that prop as the initial value of a state. The first tap on the overlay sets the state to false, and nothing sets it back (GenericTooltip.tsx:73, GenericTooltip.tsx:160-166).

How to reproduce:

  1. Long-press the globe, then tap outside. The tooltip closes.
  2. Long-press the globe again. The tooltip opens without an overlay.
  3. No tap closes it, and onTooltipPress isn't passed either. The tooltip stays open until you leave Wallet.

Test 2 in the PR only runs one long-press, so it doesn't catch this.

Suggested fix: in GenericTooltip.showTooltip, add setShouldUseOverlay(shouldUseOverlayProp). Educational tooltips open only once, so this change keeps their behavior. Another option is to remount the native GenericTooltip on each long-press, for example by changing its key.

What I checked and found correct
  • isBankAccountEligibleForGlobalReimbursements now excludes accounts with isGlobalReimbursementEnabled === true. This removes the setup offer from the Wallet menu, both banners, the Wise intro page and the onboarding page. shouldSetUpGlobalReimbursementsBeforePaying still requires === false, so the pay flow behaves the same.
  • isGlobalReimbursementsEnabled reads pendingAction from the formatted payment method. formatPaymentMethods spreads the bank account into that object, so the globe correctly hides while a deletion is pending.
  • titleAddon is an existing MenuItem prop. On native, the globe's onPress={handleRowPress} matches what a tap on the row does.
  • The shouldShowGlobalReimbursementsEnabled prop is only passed from WalletPage, so other PaymentMethodList screens don't show the globe.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0dd4b920c5

ℹ️ 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".

<GenericTooltip
text={label}
// A tap anywhere outside the tooltip closes it
shouldUseOverlay

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore the overlay before reopening the native tooltip

After a user dismisses this tooltip once by tapping outside on iOS or Android, a second long-press cannot be dismissed: GenericTooltip.onPressOverlay() sets its internal shouldUseOverlay state to false (src/components/Tooltip/GenericTooltip.tsx:160-165), and this child never receives or uses hideTooltip. Because the icon remains mounted, the second showTooltip() has neither an overlay nor another hide path, leaving the tooltip visible until the row or page unmounts; reset the overlay for each show or wire a repeatable hide path.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

already fixed

const menuItemProps: React.ComponentProps<typeof MenuItem> = {
onPress: handleRowPress,
title: item.title,
titleAddon: item.isGlobalReimbursementsEnabled ? <GlobalReimbursementsEnabledIcon onPress={handleRowPress} /> : undefined,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Announce the enabled state in the row's accessibility label

For screen-reader users on web or desktop, the new state is exposed only as titleAddon, but MenuItem sets an explicit accessible label built solely from title and description (src/components/MenuItem/MenuItem.tsx:627-645,903-906), and the add-on image is a non-focusable descendant of that button. Consequently an enabled account is announced exactly like an account without global reimbursements and the hover tooltip is unreachable; include the translated enabled text in the row's accessible label or description, or expose a separately focusable control.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Makes sense

@WojtekBoman
WojtekBoman marked this pull request as ready for review November 2, 2026 15:12
@WojtekBoman
WojtekBoman requested review from a team as code owners November 2, 2026 15:12
@melvin-bot
melvin-bot Bot requested review from ZhenjaHorbach and dylanexpensify and removed request for a team November 2, 2026 15:12
@melvin-bot

melvin-bot Bot commented Nov 2, 2026

Copy link
Copy Markdown

@ZhenjaHorbach 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]

@melvin-bot
melvin-bot Bot removed the request for review from a team November 2, 2026 15:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ebaebe651b

ℹ️ 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".

setIsRendered(true);
setIsVisible(true);
// Bring the overlay back, since a tap on it turned it off for the last showing
setShouldUseOverlay(shouldUseOverlayProp);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm a little worried 😅
Will this break other tooltips?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It shouldn't actually :) It only affects tooltips that pass shouldUseOverlay, and the globe icon is the only one in the app that does. Every other tooltip defaults it to false, so showTooltip just sets false again, which changes nothing for them. For tooltips with the overlay, it brings the overlay back on each show, since tapping it turned it off for good before. GenericTooltipTest covers that

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

🚧 grgia has triggered a test Expensify/App build. You can view the workflow run here.

@github-actions

This comment has been minimized.

@joekaufmanexpensify
joekaufmanexpensify removed the request for review from dylanexpensify November 2, 2026 22:04
@ZhenjaHorbach

ZhenjaHorbach commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified that the composer does not automatically focus or open the keyboard on mobile unless explicitly intended. This includes checking that returning the app from the background does not unexpectedly open the keyboard.
  • I verified tests pass on all platforms & I tested again on:
    • Android: HybridApp
    • Android: mWeb Chrome
    • iOS: HybridApp
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified any copy / text that was added to the app is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If the PR adds or modifies the UI:
    • I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    • I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    • I verified all new/changed elements have meaningful accessible names and roles.
    • I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
  • For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: HybridApp
Screen.Recording.2026-11-03.at.18.10.45.mov
Android: mWeb Chrome
Screen.Recording.2026-11-03.at.18.10.45.mov
iOS: HybridApp
Screen.Recording.2026-11-03.at.18.10.45.mov
Screen.Recording.2026-11-03.at.18.16.21.mov
iOS: mWeb Safari
Screen.Recording.2026-11-03.at.18.10.45.mov
MacOS: Chrome / Safari
Screen.Recording.2026-11-03.at.18.09.57.mov

@melvin-bot
melvin-bot Bot requested a review from grgia November 3, 2026 17:12
@melvin-bot melvin-bot Bot changed the title [Wise][Release 1] Business - UI - GR enabled on US account (Wallet Page) [Payment due @ZhenjaHorbach] [Wise][Release 1] Business - UI - GR enabled on US account (Wallet Page) Nov 3, 2026
@melvin-bot

melvin-bot Bot commented Nov 3, 2026

Copy link
Copy Markdown

🎯 @ZhenjaHorbach, thanks for reviewing and testing this PR! 🎉

A payment issue will be created for your review once this PR is deployed to production.
E/E issue linked to the PR - https://www.github.com/Expensify/Expensify/issues/692503.

If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created.

@ZhenjaHorbach

Copy link
Copy Markdown
Contributor

Actually, one small comment
That we don't have a closing animation for the tooltip on native
But it's okay, I think

Screen.Recording.2026-11-03.at.18.16.21.mov

@WojtekBoman

Copy link
Copy Markdown
Contributor Author

@ZhenjaHorbach

Actually, one small comment That we don't have a closing animation for the tooltip on native But it's okay, I think

Screen.Recording.2026-11-03.at.18.16.21.mov

Thanks! That’s existing behavior of the shared GenericTooltip: hideTooltip sets the animation straight to 0 with no timing, so every tooltip in the app closes instantly on all platforms, not only this one. I’d rather leave it out of this PR, since adding a close animation would change every tooltip in the app. Happy to open a follow-up if we want one :)

@grgia
grgia merged commit 4c107e7 into Expensify:main Nov 3, 2026
39 of 41 checks passed
@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚧 grgia has triggered a test Expensify/App build. You can view the workflow run here.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@OSBotify OSBotify mentioned this pull request Nov 3, 2026
99 tasks done
@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/grgia in version: 9.5.31-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 failure ❌
🍎 iOS 🍎 success ✅

@MelvinBot

Copy link
Copy Markdown
Contributor

No help site update needed. The new indicator remains beta-gated, while the setup eligibility and tooltip fixes restore expected behavior without making existing instructions incorrect.


view run

@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/grgia in version: 9.5.31-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

@izarutskaya

Copy link
Copy Markdown

@WojtekBoman @ZhenjaHorbach We used script for the Web and it's passed, but for app tried workaround and Global globe icon is not displayed. Is it expected?

  1. Disable wiseReimbursements
  2. Add 2 Business BAs
  3. Enable Global Reimbursements on 1 BA
  4. Enable wiseReimbursements
No.Globe.mp4

@ZhenjaHorbach

Copy link
Copy Markdown
Contributor

It's okay
Without Onyx mocks, it's impossible to check this for now 😁
So I think web will be enough!

@izarutskaya

Copy link
Copy Markdown

Thank you, will check this off

@OSBotify

OSBotify commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/blimpich in version: 9.5.31-4 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Bundle Size Analysis (Sentry):

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants