Reapply compact table and row styles for report transaction list#89575
Reapply compact table and row styles for report transaction list#89575Krishna2323 wants to merge 5 commits intoExpensify:mainfrom
Conversation
Signed-off-by: krishna2323 <belivethatkg@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
…AL column style Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
…rapperStyle Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@JS00001 @situchan @Expensify/design This PR re-lands #88296 and #89353 with fixes for all the regressions that caused the reverts:
Apologies for the reverts. The blank row issue was particularly tricky — it only reproduced on Android and was caused by |
|
🚧 @shawnborton has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
A bit late but in these kinds of PRs, let's make sure to do full regression test (especially on android)
|
|
Regression test is completed. |



Explanation of Change
This PR re-lands two previously reverted PRs (#88296 and #89353) along with fixes for the regressions that caused them to be reverted.
Re-applied PRs:
Regression fixes included:
flex: 1, causing misalignment on desktop. Fixed by passingshouldRemoveTotalColumnFlexto the Total column inTransactionItemRow.getSelectedBorderBottomStylewas applied to the pressable container's style, which caused rows to render blank on narrow screens. Fixed by moving it towrapperStyleinTransactionListItem,ExpenseReportListItem, andTransactionGroupListItem.Fixed Issues
$ #86203
PROPOSAL:
Tests
Pre-requisites:
Test 1: Desktop compact table styles in report details (Wide RHP)
Test 2: Grouped transactions
Test 3: Selection mode
Test 4: Violations and border radius
Test 5: No regression on mobile/narrow layout
main— no compact table styles should applyTest 6: Medium screen width
Test 7: Pending expense skeleton
Test 8: Blank Expense
Test 8: Blank Expense Last Row
Test 9: Border style updates
Offline tests
QA Steps
Same as tests
Verify that no errors appear in the JS console
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
android_1.mp4
android_2.mp4
web_chrome.mp4