feat: Update default columns for Expense section on Search page#84461
feat: Update default columns for Expense section on Search page#84461flodnv merged 6 commits intoExpensify:mainfrom
Conversation
|
@eVoloshchak 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] |
trjExpensify
left a comment
There was a problem hiding this comment.
Looking at the PR change... @JS00001 @luacmartins, isn't Tag supposed to still be a default column technically? It's just hidden if none of the expenses have a tag? 🤔
|
@trjExpensify I'm not sure, I wasn't in that convo, from the issue it looks like its no longer a default: |
|
@shawnborton @JmillsExpensify - we still want to show |
|
Yup, I would think so. |
|
Correct, |
|
Hello! Am I correct in understanding that we need to make the tag field default but dynamic (the logic that was used before)? Then I have a similar question about the to and description fields. Should they be the same as the tag (default but dynamic), or do we hide them by default? As mentioned, there is currently a list of default fields, and this list does not include tag, description, and To. |
|
Bump on question above @JS00001 @trjExpensify @luacmartins |
|
I'll defer to @trjExpensify on that one. As you mentioned, these columns are not default now, but they do show up if there's data in them. |
|
Okay. Now I understand, so I'll update the PR today. |
|
Seems like test is not related to this PR |
|
What's the latest on this one? |
|
We are waiting for review from @eVoloshchak |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
@Eskalifer1, there's no Type column displayed |
|
Hi @eVoloshchak I think this is expected behavior. Currently, users cannot remove or add the “type” field in custom columns (since the field simply isn't displayed), regardless of whether it's a default column or not. And in my opinion, this change doesn't apply to this PR. What I mean is that this list includes all fields that can be used as columns. This applies regardless of whether a column is the default or not (if it is the default, it will simply be selected when no custom columns are applied). And since the “type” field isn't included in this list at all, I don't think it falls within the scope of this PR. |
|
Thanks @Eskalifer1, then let's remove it from testing steps |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
Thanks! All you @flodnv |
|
🚧 @flodnv 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/flodnv in version: 9.3.40-0 🚀
|
|
🚀 Deployed to staging by https://github.com/flodnv in version: 9.3.40-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.41-4 🚀
|



Explanation of Change
This PR updates the default columns for the Expenses section on the Search page.
Fixed Issues
$#83885
PROPOSAL:#83885 (comment)
Tests
Precondition: Have some created expenses
Receipt
Date
Status
Merchant
From
Category
Amount
Verify that no errors appear in the JS console
Offline tests
Same as tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
83885-web.mov