Repository navigation
Show bills with one expense like one-expense reports - #105965
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7d6d16c0ef
ℹ️ 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".
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
Updated |
|
🚧 roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.5.33-0 🚀
|
|
No help site update needed — this PR adjusts single-expense bill activity and layout compatibility without introducing a generally available workflow or making any existing article sentence incorrect. |
|
Deploy Blocker #106266 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.5.33-1 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
A bill with one expense now works like an expense report with one expense.
getOneTransactionThreadReportActionnow finds the expense thread of a bill with one expense. The bill then shows the expense's own actions, such as "added a receipt" and "changed the expense".WideRHPReceiptPanelnow shows the wide receipt panel for a bill with one expense. A bill with several expenses keeps the narrow view, because it doesn't show the expense table yet.transactionCountfrom the server. Normal bill intake creates one expense, but Auth doesn't stop a bill from having zero or several, and the loaded actions or expenses can be incomplete. A bill with no expense, several expenses, or no count keeps the chat view and the narrow view.On
main, bills still open in the chat view, which shows the bill's actions but no expense details. The expense details and the receipt panel show once a later PR opens bills as expense reports. That PR keeps the change behind thenewDotBillPaybeta. The wide receipt panel only shows when a report opens in the right side panel from Search (/search/view/<reportID>) on a wide screen. It never shows at/r/<reportID>.Fixed Issues
For https://github.com/Expensify/Expensify/issues/684654
PROPOSAL:
Tests
/r/<billReportID>to open the bill.main, the bill shows only its own actions./search/view/<expenseReportID>for an expense report with one expense.Offline tests
/r/<billReportID>while online.QA Steps
Ping @cead22
newDotBillPaybeta for your account./r/<billReportID>for a bill with one expense./search/view/<expenseReportID>for an expense report with one expense.The receipt panel and expense details on bills can only be checked after the PR that opens bills in New Expensify is deployed.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari

Bill
Expense Report
