Skip to content

fix(spend): not able to pay the report via bulk section while offline - #105752

Merged
grgia merged 5 commits into
Expensify:mainfrom
software-mansion-labs:fix/102507-offline-mode-mark-as-paid
Nov 23, 2026
Merged

grgia merged 5 commits into
Expensify:mainfrom
software-mansion-labs:fix/102507-offline-mode-mark-as-paid

Conversation

@eszlamczyk

@eszlamczyk eszlamczyk commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

In Spend -> Ready to pay, choosing Mark as paid from the bulk Pay menu while offline showed the "You appear to be offline" modal, even though marking as paid only records a payment made outside Expensify and is an optimistic, queueable write (the same way that single-report Mark as paid uses offline).

Bulk pay has two offline checks, and both blocked every payment method:

  • handleBulkPayItemSelected (src/libs/actions/Search.ts) returned early offline for every method.
  • onBulkPaySelected (src/hooks/useSearchBulkActions.ts) showed the offline modal for every method.

This PR exempts CONST.IOU.PAYMENT_TYPE.ELSEWHERE (Mark as paid) from both:

  • In onBulkPaySelected, Mark as paid now goes through to payMoneyRequest offline. "Select all matching" is still blocked offline, because the reports to pay are resolved server-side from the search query (queueBulkPayReports).
  • In handleBulkPayItemSelected, Mark as paid no longer skips the delegate / locked-account / billing checks when offline, so a locked account still can't mark reports as paid offline.

The business bank account (VBBA) path and other payment methods that move real money are intentionally left online-only. They can require account validation, KYC or bank account setup, which can't be completed offline, so they still show the offline modal.

Note

While offline, the primary pay button still shows the offline modal even when the last payment method was Mark as paid. This is intentional; the primary button works out the last-used method per report, and a bulk selection can mix Mark as paid with methods that can't be paid offline. Only an explicit Mark as paid choice from the submenu goes through offline.

Fixed Issues

$ #102507
PROPOSAL: N/A

Tests

Precondition: a workspace with (two expenses, submitted andapproved) that shows in Spend -> Ready to pay. Open Ready to pay while online so the list loads.

A. Mark as paid in bulk while offline

  1. Go offline.
  2. Select the checkbox on the approved report.
  3. On the bottom panel, click the Pay dropdown.
  4. Click Mark as paid.
  5. Verify no "You appear to be offline" modal appears and the selection is cleared.
  6. Open the report and verify it shows as paid (pending while offline).
  7. Go back online and return to Spend -> Ready to pay
  8. Verify the report is no longer in Ready to pay and there are no errors on it.
  9. Open Spend -> Reports and verify the report shows as Paid.

B. Locked account can't mark as paid while offline

Additional precondition: Use Locked account/Lock the account

  1. Go offline.
  2. Select the checkbox on the approved report.
  3. On the bottom panel, click the Pay dropdown.
  4. Click Mark as paid.
  5. Verify the Locked Account modal appears (not the offline modal) and the report is not marked as paid.
  6. Close the modal and go back online.
  7. Verify the report is still in Ready to pay with its status unchanged.

C. Select all matching is still blocked offline

Additional precondition: Have more than 50 reports ready to be paid.

  1. Open Spend -> Ready to pay while online, then go offline.
  2. Select all matching reports.
  3. On the bottom panel, click the Pay dropdown and click Mark as paid.
  4. Verify the "You appear to be off report is marked as paid.

D. Other payment methods are still blocked offline

Additional precondition: an IOU report (expense request from another user) in USD, ready to pay, where you are an admin of at least one workspace.

  1. Open Spend -> Ready to pay while online, then go offline.
  2. Select the checkbox on the IOU report.
  3. On the bottom panel, click the Pay dropdown.
  4. Click Pay via workspace name.
  5. Verify the "You appear to be offline" modal appears and the report is not marked as paid.
  6. Close the modal and go back online.
  7. Verify the report is still in Ready to pay with its status unchanged.
  • Verify that no errors appear in the JS console

Offline tests

Same as tests. Tests A, B and C are all performed offline.

QA Steps

Same as tests.

  • 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 - [x] I added steps for local tion - [x] I added steps for the expthe Offline steps section - [x] I added steps for Staging 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 played if app is offline) - [x] I tested this PR with a [s://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.mgainst the staging or production API
      to ensure there are no regressions 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 Aponents using Avatar` are working as expected)
  • If new assets were added or e, 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 rified that those changes do notbreak 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 c 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 resibility issues and addressed itsfindings.
    • I tested with a screen reand 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 heegressions 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 accordin

Screenshots/Videos

iOS: Native
Screen.Recording.2026-11-03.at.15.13.09.mov
MacOS: Chrome / Safari
Screen.Recording.2026-11-03.at.13.39.50.mov
Screen.Recording.2026-11-03.at.13.41.23.mov

@eszlamczyk

Copy link
Copy Markdown
Contributor Author

@MelvinBot review

@eszlamczyk

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T07:59:48.815369Z 4fe864f 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

MelvinBot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Review

One blocking issue: offline, picking Pay via workspace name (IOU reports) or an invoice Pay via Expensify bank account now marks the report as paid instead of showing the offline modal. A locked account can also do this, because the locked-account check is skipped.

Why: The offline branch in handleBulkPayItemSelected forwards paymentType to confirmPayment and relies on onBulkPaySelected to show the modal. But getActivePaymentType maps every key except bankAccount / businessBankAccount to Elsewhere. That includes workspace-ID keys and the invoice Expensify sub-items. Before this PR, onBulkPaySelected blocked every method offline, so this didn't matter. Now Elsewhere passes through and calls payMoneyRequest / payInvoice with Elsewhere.

Suggested fix: in the offline branch of handleBulkPayItemSelected, show the offline modal directly. Don't route it through confirmPayment with a type that can now be paid. For example, pass a showOfflineModal callback, or call confirmPayment(undefined), which onBulkPaySelected still blocks offline. Then add a test: offline + a workspace-ID item key does not call payMoneyRequest.

Minor (non-blocking): the primary Pay button calls onBulkPaySelected(undefined). Offline, it still shows the modal even when the last payment method was Mark as paid. This is safe, but it doesn't match the submenu. Mention it in the PR if it's intended.

The rest looks good. The ELSEWHERE exemption, the select-all guard, and the locked-account ordering are correct. The tests follow the Given/When/Then convention.

@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: 102b8534b4

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

Comment thread src/hooks/useSearchBulkActions.ts Resolved
@eszlamczyk

eszlamczyk commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor Author

Review

One blocking issue: offline, picking Pay via workspace name (IOU reports) or an invoice Pay via Expensify bank account now marks the report as paid instead of showing the offline modal. A locked account can also do this, because the locked-account check is skipped.

Why: The offline branch in handleBulkPayItemSelected forwards paymentType to confirmPayment and relies on onBulkPaySelected to show the modal. But getActivePaymentType maps every key except bankAccount / businessBankAccount to Elsewhere. That includes workspace-ID keys and the invoice Expensify sub-items. Before this PR, onBulkPaySelected blocked every method offline, so this didn't matter. Now Elsewhere passes through and calls payMoneyRequest / payInvoice with Elsewhere.

Suggested fix: in the offline branch of handleBulkPayItemSelected, show the offline modal directly. Don't route it through confirmPayment with a type that can now be paid. For example, pass a showOfflineModal callback, or call confirmPayment(undefined), which onBulkPaySelected still blocks offline. Then add a test: offline + a workspace-ID item key does not call payMoneyRequest.

Minor (non-blocking): the primary Pay button calls onBulkPaySelected(undefined). Offline, it still shows the modal even when the last payment method was Mark as paid. This is safe, but it doesn't match the submenu. Mention it in the PR if it's intended.

The rest looks good. The ELSEWHERE exemption, the select-all guard, and the locked-account ordering are correct. The tests follow the Given/When/Then convention.

The blocking issue is valid, addressed in 0d03a8b

The minor issue I'd believe is counterintuitive to end user - sometimes the button would show modal and sometimes it wouldn't. Addressed with note in pr description

@eszlamczyk

Copy link
Copy Markdown
Contributor Author

@codex review

@eszlamczyk

Copy link
Copy Markdown
Contributor Author

@MelvinBot re-review please

@MelvinBot

Copy link
Copy Markdown
Contributor

Re-review

No remaining issues. 0d03a8b fixes the blocking issue.

  • The offline branch now calls confirmPayment(undefined) (src/libs/actions/Search.ts:2570-2575). confirmPayment is stableOnBulkPaySelected, so onBulkPaySelected gets undefined, which isn't Elsewhere. It shows the offline modal (src/hooks/useSearchBulkActions.ts:1664).
  • Workspace-ID keys, invoice Expensify keys, and locked accounts no longer reach a payment offline. The new it.each and locked-account tests cover these cases.
  • The real Mark as paid option still runs the delegate, locked-account, and billing checks before it pays.

Your call on the primary Pay button is reasonable. Showing the modal consistently is clearer than showing it only sometimes.


view run

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 0d03a8bbb4

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

@JakubKorytko JakubKorytko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

a few things on the offline guard design and the new tests, nothing blocking tho

Comment thread src/hooks/useSearchBulkActions.ts Outdated
return;
}
if (isOffline) {
// Mark as paid can be queued offline. Other methods may need KYC or bank setup, and select-all is resolved server-side.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

once Mark as paid gets past this offline, getSearchPayOnyxData sets isActionLoading: true and only clears it (and drops the row from the snapshot) in success/failure data. So the paid rows probably sit with a spinner in Ready to pay until the user reconnects, while the selection is already cleared. Could you check if that's the case? And if so, is that the look we want offline?

Also, the same idea is written out here, in Search.ts and in several test comments, with different names for the same thing (ELSEWHERE / Pay elsewhere / Mark as paid, select-all / Select all / all matching). One short comment in one place and one name would read better, don't you think?

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.

I tested it offline and there is no spinner. payMoneyRequest's optimistic data flips the report to Paid right away, so the row's action becomes View (which never shows a spiner), and the row is greyed out as pending like other offline changes. In Ready to pay the row stays listed as Paid/pending until we reconnect and the success data removes it, which matches how other pending offline actions look. So I'd keep it as it is

image

As for the comments, done in 406b736

Comment thread src/libs/actions/Search.ts Outdated
// While offline, route every payment method straight to the offline modal via confirmPayment (onBulkPaySelected),
// before any branch below can navigate the user into a KYC / account-verification / add-bank-account / restricted-action flow.
if (isOffline) {
// While offline, send every payment method except Mark as paid to the offline modal via confirmPayment (onBulkPaySelected),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

three lines that explain how onBulkPaySelected and getActivePaymentType work inside. That goes stale as soon as either changes. One line about the why is enough, e.g. // Offline, only Mark as paid can be queued and everything else shows the offline modal. or something

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.

Trimmed to one line about why we check in the menu key instead of paymentType in 406b736

Comment thread src/libs/actions/Search.ts Outdated
if (isOffline && item.key !== CONST.IOU.PAYMENT_TYPE.ELSEWHERE) {
Log.info('[BulkPay] Blocking bulk pay: offline, deferring to the offline modal');
confirmPayment?.(paymentType as PaymentMethodType, item?.additionalData as BulkPaySelectionData | undefined);
confirmPayment?.(undefined);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

passing undefined to get the offline modal is a hidden contract with onBulkPaySelected and it only works because the hook reads "not ELSEWHERE" as "block". The "what can be paid offline" rule is now in two files, keyed on item.key here and on paymentMethod there, so changing one side silently breaks the other. The root cause is getActivePaymentType falling back to ELSEWHERE for policy and unknown keys.

Could we have one helper (e.g. canPayOffline in PaymentUtils) used by both, and show the offline modal from here directly instead of going through confirmPayment with an empty type?

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.

Good idea, added canPayOffline. And handleBulkPayItemSelected now shows the offline modal directly, so confirmPayment(undefined) is gone. Done in 406b736

// confirmPayment (onBulkPaySelected) is what surfaces the offline modal; the exact paymentType is not important here.
expect(baseParams.confirmPayment).toHaveBeenCalled();
// confirmPayment (onBulkPaySelected) is what surfaces the offline modal. It must get no payment type, because
// 'ACH' maps to ELSEWHERE, which onBulkPaySelected would pay offline.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

'ACH' is the raw value of CONST.IOU.PAYMENT_TYPE.VBBA, and the item above uses the constant, so readers won't connect them. I would say VBBA and keep this to one line without the onBulkPaySelected internals

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.

Dropped in 406b736

expect(baseParams.confirmPayment).toHaveBeenCalledWith(undefined);
});

it('should hand Mark as paid to confirmPayment while offline so it can be paid optimistically', async () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

the name promises an optimistic payment, but the test only checks the handoff to confirmPayment. Dropping "so it can be paid optimistically" would match what is asserted

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.

Renamed in 406b736.

expect(paymentTypes).not.toContain(CONST.IOU.PAYMENT_TYPE.ELSEWHERE);
});

it('should not hand Pay via workspace to confirmPayment as Mark as paid for a locked account while offline', async () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

the locked account check is never reached here, the offline guard returns first with confirmPayment(undefined). So this is the 'Pay via workspace' row above plus a flag that does nothing, and the assertion at 859 has the same pass-if-not-called problem. I would drop it, or fold it into the table and assert toHaveBeenCalledWith(undefined) plus showLockedAccountModal not called.

Side note: the same policy setup block is copied five times in the new tests, a small factory would help.

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.

Removed in 406b736

});

// Then the offline modal should open and no payment should be triggered because payments must not be queued while offline
// Then the offline modal should open and no payment should be triggered because bank payments can't be completed offline

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this test taps the main Pay option (onBulkPaySelected(undefined)), not a bank payment, so the new reason doesn't match what it exercises. The real reason is that the method is unknown here. I would revert this line or reword it

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.

Reworded in 406b736

});
});

describe('useSearchBulkActions - offline bulk pay', () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

hmmh, this copies the beforeEach/afterEach/render setup from the blocks above. These three cases could go into the existing Pay option describe, which already has an offline test, or share a setup helper

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.

Moved the cases into the existing Pay option.

expect(mockClearSelectedTransactions).toHaveBeenCalled();
});

it('still shows the offline modal when paying with a business bank account offline', async () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"still" only makes sense next to this diff. "shows the offline modal when ..." reads fine later. Same for the select all test below and "should still block Mark as paid" in the other file

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.

Removed in 406b736.


// When the user picks the business bank account option from the bulk Pay submenu
await act(async () => {
result.current.confirmPayment(CONST.IOU.PAYMENT_TYPE.VBBA);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

offline, handleBulkPayItemSelected never sends VBBA anymore, it sends undefined. So this covers a call the menu can't make. confirmPayment(undefined) is the path that has to keep showing the modal

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.

Good catch, removed in 406b736

@eszlamczyk
eszlamczyk marked this pull request as ready for review November 19, 2026 07:43
@eszlamczyk
eszlamczyk requested review from a team as code owners November 19, 2026 07:43
@expensify-chore-bot
expensify-chore-bot Bot requested review from suneox and removed request for a team November 19, 2026 07:43
@expensify-chore-bot

Copy link
Copy Markdown

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

@expensify-chore-bot
expensify-chore-bot Bot requested review from JmillsExpensify and removed request for a team November 19, 2026 07:43

@JmillsExpensify JmillsExpensify left a comment

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 to me.

@suneox

suneox commented Nov 22, 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

Uploading az_recorder_20261122_234846.mp4…

Android: mWeb Chrome
az_recorder_20261122_234846.1.mp4
iOS: HybridApp
Screen.Recording.iPhone.17.Pro.23-11-2026.at.00.06.51.1.mp4
iOS: mWeb Safari
Screen.Recording.iPhone.17.Pro.22-11-2026.at.23.54.03.3.mp4
MacOS: Chrome / Safari
CleanShot.2026-11-22.at.23.34.55.2.mp4

@suneox suneox left a comment

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.

LGTM

@melvin-bot
melvin-bot Bot requested a review from grgia November 22, 2026 17:19
@grgia
grgia merged commit 16f8ed5 into Expensify:main Nov 23, 2026
43 of 47 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

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

@OSBotify

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

Copy link
Copy Markdown
Contributor

@OSBotify

Copy link
Copy Markdown
Contributor

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

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

@MelvinBot

Copy link
Copy Markdown
Contributor

No help site update needed — this fixes expected offline behavior for bulk marking reports as paid, without adding a new workflow or making any existing article sentence incorrect.


view run

@lanitochka17

Copy link
Copy Markdown

Deploy Blocker #107784 was identified to be related to this PR.

@mitarachim

Copy link
Copy Markdown

Deploy Blocker #107797 was identified to be related to this PR.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/arosiclair in version: 9.5.53-3 🚀

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.

9 participants