Conversation
|
@marcaaron 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a30b264635
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4fc630e83c
ℹ️ 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".
| shouldShowSorting | ||
| groupBy={validGroupBy} | ||
| isExpenseReportView={isExpenseReportType} | ||
| isActionColumnWide={isTask || hasDeletedTransaction} |
There was a problem hiding this comment.
Limit wide action column to transaction/task views
This now passes isTask || hasDeletedTransaction for all search types, so EXPENSE_REPORT screens can enable a wide action header whenever any transaction in the snapshot is deleted. Report rows do not consume this flag (their action cell still uses the default narrow width in ExpenseReportListItemRow), so the table header/action column widths can drift out of alignment and trigger unnecessary horizontal scrolling in Reports view even though report rows never expose UNDELETE actions.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
EXPENSE_REPORT screens will not enable wide action header as deleted transactions are not considered. Ignoring this comment LGTM.
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp88165-android-hybrid-001.mp4Android: mWeb Chrome88165-web-chrome-001.mp4iOS: HybridApp88165-ios-hybrid-001.mp4iOS: mWeb Safari88165-mweb-safari-001.mp4MacOS: Chrome / Safari88165-web-chrome-001.mp4 |
rojiphil
left a comment
There was a problem hiding this comment.
@luacmartins LGTM. Changes work well. Just that unit tests need a fix.
@marcaaron Over to you.
Thanks.
trjExpensify
left a comment
There was a problem hiding this comment.
clean-up for deleted expenses 👍
|
Conflicts |
|
Updated |
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.
|
|
@marcaaron ready for you again |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 9.3.61-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This PR is a purely visual fix that adjusts the width of the "Action" column in search results when the "Undelete" option is present to prevent text truncation. It does not introduce, rename, or change any user-facing feature, workflow, or terminology — it only modifies internal column sizing logic. The existing help site articles do not document search table column widths or layout details at this level. |
Explanation of Change
Makes the action column wider if the
Undeleteoption is present so that the text is not truncated (in English at least)Fixed Issues
$ #88040
Tests
Pre-condition: a deleted and a non-deleted transaction
ReportsStatusfilter to show all statusesColumnsfilter to show theActioncolumnUndeleteis not truncatedStatuscolumn to not show the deleted transactionOffline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Screen.Recording.2026-04-16.at.6.01.41.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari