Skip to content

Open and approve bills behind the newDotBillPay beta - #106139

Open
cead22 wants to merge 24 commits into
mainfrom
carlos-billpay-open-approve
Open

cead22 wants to merge 24 commits into
mainfrom
carlos-billpay-open-approve

Conversation

@cead22

@cead22 cead22 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

Users with the newDotBillPay beta can now open existing bills in New Expensify and approve them.

  • bill moves from CONST.REPORT.UNSUPPORTED_TYPE to CONST.REPORT.TYPE, and isExpenseReport counts bills. Bills then open in the expense report view with MoneyReportHeader, which shows the bill's stored name, its status and the policy name.
  • Users without the beta still never see bills. The Inbox, ReportNotFoundGuard and SearchMoneyRequestReportPage hide them, the same as before.
  • The bill's approver sees the Approve button and a green dot on the bill. The green dot only shows when the header shows Approve.
  • Actions that bills don't support yet stay hidden: Pay, Cancel payment, Reject, delete, split, merge, duplicate, hold, move, retract, reopen and change policy. Adding or deleting expenses on a bill stays blocked. Unapprove still works.
  • The bill's receiver doesn't see the vendor's linked invoice in chats, the Inbox, or Chat search. They can still open it at /r/<invoiceReportID>. Chat search reads isHiddenForBillReceiver from the search results, because the invoice is often not in Onyx.
  • Bills stay out of Search for every user until Search supports paying bills.

Paying bills and canceling bill payments come in a later PR. This PR is one piece of the split of App #105499 (#105499). It builds on #105967, #105969, #105966, #105964 and #106122, which are merged.

Fixed Issues

For https://github.com/Expensify/Expensify/issues/684654
PROPOSAL:

Tests

These steps work with Auth and Web on main, with the newDotBillPay beta on for the accounts below.

Set up a bill:

  1. Use a private domain, for example receiver.com, whose primary contact is an admin of a policy with approvals on. Make another policy admin the approver.
  2. In Expensify Classic, log in as the primary contact and go to Reports.
  3. Click New Report and choose Bill.
  4. Enter the email of a vendor account you can log in as, a merchant, an amount and a date, then save.
  5. Note the bill's reportID. Log in as the vendor in New Expensify, open the new invoice, and note its reportID.
  6. As the vendor, add the comment Invoice note on the invoice.

Test the bill:

  1. Log in as the bill's approver.
  2. Turn off newDotBillPay in Settings > Troubleshoot > Beta overrides.
  3. Verify the bill isn't in the Inbox.
  4. Go to /r/<billReportID>.
  5. Verify the app shows the not found page.
image
  1. Turn on newDotBillPay in Settings > Troubleshoot > Beta overrides.
  2. Verify the bill shows in the Inbox with a green dot.
image
  1. Open the bill.
  2. Verify the bill opens in the expense report view, with the bill's name as the title.
  3. Verify the header shows the status badge followed by the policy name.
  4. Verify the header shows the Approve button.
  5. Open the More menu.
  6. Verify the menu has no Pay, Cancel payment, Reject, Delete, Split, Merge, Duplicate, Hold, Move, Retract, Reopen or Change policy option.
image
  1. Click Approve.
  2. Verify the next step changes
  3. Verify the green dot on the bill goes away.
image
  1. Login as the other approver on the workspace
  2. Approve the bill
  3. Verify the status changes to Approved
  4. Open the More menu.
  5. Verify the menu shows Unapprove.
image
  1. As the technical contact of the domain, Verify the Inbox doesn't show the vendor's linked invoice.
  2. Go to /r/<invoiceReportID>.
  3. Verify the invoice opens.
image
  1. Go to Spend and search for the bill's name.
  2. Verify the bill isn't in the results.
image
  1. Search for type:chat Invoice note.
  2. Verify the vendor's comment on the invoice isn't in the results.
image
  1. Open an expense report that's waiting for your approval.
  2. Verify it shows Approve and its More menu options as before.
  • Verify that no errors appear in the JS console

Offline tests

  1. Turn on newDotBillPay and open a bill waiting for your approval.
  2. Turn off your network connection.
  3. Click Approve.
  4. Verify the status changes to Approved.
  5. Turn on your network connection.
  6. Verify the bill stays Approved after the request finishes.

QA Steps

Ping @cead22 for a bill to test with.

  1. Log in as the approver of a submitted bill, with the newDotBillPay beta off.
  2. Verify the bill isn't in the Inbox.
  3. Go to /r/<billReportID>.
  4. Verify the app shows the not found page.
  5. Turn on newDotBillPay in Settings > Troubleshoot > Beta overrides.
  6. Open the bill from the Inbox.
  7. Verify the bill opens in the expense report view, with the Approve button and the policy name in the header.
  8. Verify the More menu has no Pay, Cancel payment, Reject, Delete, Split, Merge, Duplicate, Hold, Move, Retract, Reopen or Change policy option.
  9. Click Approve.
  10. Verify the status changes to Approved and the green dot goes away.
  11. Verify the Inbox doesn't show the vendor's linked invoice.
  12. Open an expense report that's waiting for your approval.
  13. Verify it shows Approve and its More menu options as before.
  • 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
  1. Open the bill.
  2. Verify the bill opens in the expense report view, with the bill's name as the title.
  3. Verify the header shows the status badge followed by the policy name.
  4. Verify the header shows the Approve button.
  5. Open the More menu.
  6. Verify the menu has no Pay, Cancel payment, Reject, Delete, Split, Merge, Duplicate, Hold, Move, Retract, Reopen or Change policy option.
  7. Click Approve.
  8. Verify the status changes to Approved.
  9. Verify the green dot on the bill goes away.
  10. Open the More menu.
  11. Verify the menu shows Unapprove.
  12. Verify the Inbox doesn't show the vendor's linked invoice.
  13. Go to /r/<invoiceReportID>.
  14. Verify the invoice opens.
  15. Go to Spend and search for the bill's name.
  16. Verify the bill isn't in the results.
  17. Search for type:chat Invoice note.
  18. Verify the vendor's comment on the invoice isn't in the results.
  19. Open an expense report that's waiting for your approval.
  20. Verify it shows Approve and its More menu options as before.
  • Verify that no errors appear in the JS console

Offline tests

  1. Turn on newDotBillPay and open a bill waiting for your approval.
  2. Turn off your network connection.
  3. Click Approve.
  4. Verify the status changes to Approved.
  5. Turn on your network connection.
  6. Verify the bill stays Approved after the request finishes.

QA Steps

Ping @cead22 for a bill to test with.

  1. Log in as the approver of a submitted bill, with the newDotBillPay beta off.
  2. Verify the bill isn't in the Inbox.
  3. Go to /r/<billReportID>.
  4. Verify the app shows the not found page.
  5. Turn on newDotBillPay in Settings > Troubleshoot > Beta overrides.
  6. Open the bill from the Inbox.
  7. Verify the bill opens in the expense report view, with the Approve button and the policy name in the header.
  8. Verify the More menu has no Pay, Cancel payment, Reject, Delete, Split, Merge, Duplicate, Hold, Move, Retract, Reopen or Change policy option.
  9. Click Approve.
  10. Verify the status changes to Approved and the green dot goes away.
  11. Verify the Inbox doesn't show the vendor's linked invoice.
  12. Open an expense report that's waiting for your approval.
  13. Verify it shows Approve and its More menu options as before.
  • 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

In line with test steps

@cead22
cead22 requested review from a team as code owners November 5, 2026 19:00
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 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-05T19:06:11.806154Z 537d906 PR opened
ℹ️ 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.

@melvin-bot
melvin-bot Bot requested review from chiragsalian and dylanexpensify and removed request for a team November 5, 2026 19:00
@melvin-bot

melvin-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown

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

@codecov

codecov Bot commented Nov 5, 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 96.37% <ø> (ø)
...neyReportHeaderPrimaryAction/useConfirmApproval.ts 98.48% <100.00%> (+0.04%) ⬆️
...stReportView/MoneyRequestReportTransactionList.tsx 96.75% <100.00%> (ø)
src/components/ParentNavigationSubtitle.tsx 67.42% <100.00%> (ø)
...c/components/ReportActionItem/MoneyRequestView.tsx 79.62% <100.00%> (ø)
...ents/TransactionItemRow/TransactionItemRowWide.tsx 96.59% <100.00%> (ø)
src/components/TransactionItemRow/index.tsx 98.82% <100.00%> (ø)
src/hooks/useLifecycleActions.tsx 83.14% <100.00%> (+0.06%) ⬆️
src/hooks/useSearchBulkActions.ts 85.41% <100.00%> (ø)
src/libs/BillPayReportActionUtils.ts 100.00% <100.00%> (ø)
... and 26 more
... and 7329 files with indirect coverage changes

chatgpt-codex-connector[bot]

This comment was marked as resolved.

chiragsalian

This comment was marked as resolved.

@cead22 cead22 changed the title Open and approve bills behind the newDotBillPay beta [HOLD] Open and approve bills behind the newDotBillPay beta Nov 5, 2026
@dylanexpensify
dylanexpensify requested review from trjExpensify and removed request for dylanexpensify November 6, 2026 06:46
@trjExpensify

This comment has been minimized.

@cead22 cead22 changed the title [HOLD] Open and approve bills behind the newDotBillPay beta [HOLD Tests] Open and approve bills behind the newDotBillPay beta Nov 11, 2026
…pprove

Switch the remaining bill checks from CONST.REPORT.UNSUPPORTED_TYPE.BILL to CONST.REPORT.TYPE.BILL.
Hide chat search rows on an invoice that the bill receiver pays through its bill, using the snapshot's isHiddenForBillReceiver.
Skip caching previews of reports that aren't loaded, so a hidden invoice that loads later stays hidden.
@cead22
cead22 requested a review from s77rt November 23, 2026 17:36
@cead22 cead22 changed the title [HOLD Tests] Open and approve bills behind the newDotBillPay beta Open and approve bills behind the newDotBillPay beta Nov 23, 2026
…pprove

# Conflicts:
#	src/libs/actions/OnyxDerived/configs/visibleReportActions.ts
#	tests/unit/OnyxDerived/visibleReportActionsTest.ts
@s77rt

s77rt commented Nov 23, 2026

Copy link
Copy Markdown
Member

Incorrect optimistic data
After approving the bill, the optimistic data show no action required then when BE responses, it gets updated to the correct next step (waiting to pay)

Screen.Recording.2026-11-23.at.8.58.10.PM.mov

@s77rt

s77rt commented Nov 23, 2026

Copy link
Copy Markdown
Member

Bill disappears from bill receiver LHN if no green dot is shown
I don't think it should disappear since I'm not in focus mode. This only happen with the bill receiver (which is also the technical contact), the bill approver (policy approver) still sees the report

Screen.Recording.2026-11-23.at.9.05.30.PM.mov
Screen.Recording.2026-11-23.at.9.28.18.PM.mov

@s77rt

s77rt commented Nov 23, 2026

Copy link
Copy Markdown
Member

Bill report preview does not appear in policy expense chat unless it's approved at least once

Screen.Recording.2026-11-23.at.9.20.15.PM.mov

@s77rt

s77rt commented Nov 23, 2026

Copy link
Copy Markdown
Member

Bill approver sees two green dots, one in report itself and one in the policy expense chat

Screenshot 2026-11-23 at 9 29 35 PM

@s77rt

s77rt commented Nov 23, 2026

Copy link
Copy Markdown
Member

Bill title page shows not found view

Screen.Recording.2026-11-23.at.9.32.51.PM.mov

@cead22

cead22 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

AI: Thanks for testing. I fixed two of these in 4313ae3:

  • Incorrect optimistic data: On a policy that reimburses manually, App predicted "No further action required". Auth only skips payment for expense reports on those policies, so approved bills still wait for the payer. App now predicts "Waiting to pay" for bills too.
  • Bill title page shows not found: The policy title field targets expense reports, so the edit title page didn't match a bill. The title field now matches bills. Other policy report fields stay off bills.

The other three come from the same gap: Auth only creates a bill's preview in the policy expense chat when the bill is approved or forwarded, not when it's created. I'll follow up on those separately.

@s77rt s77rt 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.

(initial review, still have more to review)

Comment thread src/libs/ReportUtils.ts Resolved
@s77rt

s77rt commented Nov 23, 2026

Copy link
Copy Markdown
Member

The other three come from the same gap: Auth only creates a bill's preview in the policy expense chat when the bill is approved or forwarded, not when it's created. I'll follow up on those separately.

This only explains the Bill report preview does not appear in policy expense chat unless it's approved at least once bug. The remaining two:

  • Bill disappears from bill receiver LHN if no green dot is shown
  • Bill approver sees two green dots, one in report itself and one in the policy expense chat

Still stand as those can be reproduced even if the bill preview is displayed, so I'm not sure if it's the same Auth gap

Comment thread src/libs/NextStepUtils.ts Resolved
Comment thread src/libs/ReportSecondaryActionUtils.ts Resolved
Comment thread src/libs/ReportSecondaryActionUtils.ts Resolved
Comment thread src/libs/ReportSecondaryActionUtils.ts Resolved
Comment thread src/libs/ReportSecondaryActionUtils.ts Resolved
Comment thread src/libs/ReportUtils.ts Resolved
Comment thread src/libs/ReportUtils.ts Resolved
Comment thread src/libs/ReportUtils.ts Resolved
Comment thread src/libs/ReportUtils.ts Resolved
Comment thread src/libs/ReportUtils.ts Resolved
@cead22

cead22 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

@s77rt updated

…pprove

# Conflicts:
#	src/hooks/useSearchBulkActions.ts
#	src/libs/ReportActionsUtils.ts
#	src/libs/ReportUtils.ts
@cead22

cead22 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

@s77rt updated

…pprove

# Conflicts:
#	tests/unit/ReportAlternateTextUtilsTest.ts
@s77rt

s77rt commented Dec 1, 2026

Copy link
Copy Markdown
Member

Code LGTM. Regarding #106139 (comment)

Bill disappears from bill receiver LHN if no green dot is shown

This is still an issue. Should it be a follow up?

Bill approver sees two green dots, one in report itself and one in the policy expense chat

This will be fixed in https://github.com/Expensify/Auth/pull/27164 so no longer a blocker

@cead22
cead22 requested a review from roryabraham December 1, 2026 02:43
@cead22

cead22 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

AI: About Bill disappears from bill receiver LHN if no green dot is shown: this comes from Auth data, not this PR. CreateBillReport sets no notification preference for the bill's owner, so NewDot treats the bill as hidden once it has no green dot. Expense report owners reach their reports through the policy expense chat preview, but bills have no parent chat. We'll fix it as a follow up in https://github.com/Expensify/Auth/pull/27404 (issue https://github.com/Expensify/Expensify/issues/710553).

@s77rt

s77rt commented Dec 1, 2026

Copy link
Copy Markdown
Member

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
Android: mWeb Chrome
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari

This branch has not been deployed

No deployments
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.

5 participants