Search filters: tax, expense type and tag#46736
Conversation
|
@ikevin127 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] |
|
I'll record videos tomorrow, but the code is ready for C+ review |
|
We still have comments to address and lint is failing |
|
@rayane-djouah fixed comments and bugs that you mentioned. I'm recording videos at the moment. |
|
@SzymczakJ - Can we address this comment: #46736 (comment)? |
|
Sorry for missing that, I've addressed that comment @rayane-djouah |
@SzymczakJ - Sorry, but I'm not seeing any changes made to |
|
Bug: Can't unselect options from the multiple selection picker: Screen.Recording.2024-08-12.at.4.30.39.PM.mov |
|
Damn I fixed both things but forgot to push it. Sorry for that blooper 😅 |
|
@SzymczakJ @luacmartins We’re currently retrieving tags (for example) for one workspace using the |
rayane-d
left a comment
There was a problem hiding this comment.
LGTM and tests well.
@luacmartins, I think we can address #46736 (comment) and #46736 (comment) in follow-up PRs, as this PR is getting quite large.
|
@luacmartins I've created an issue for #46736 (comment) |
|
@SzymczakJ - There are conflicts! |
|
I think #46736 (comment) is something we can put on the back burner for now. It's a bit of an edge case. I agree we can tackle the ID shown in the header in a follow up. |
|
✋ 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/luacmartins in version: 9.0.20-0 🚀
|
|
@luacmartins Do we need to QA anything here? |
|
@mvtglobally not at this time. |
|
FYI I believe this was deployed to prod yesterday, from this checklist - #47356 |
Details
This PR adds Expense Type, tax and Tag filters to Search feature. I decided to put these three filters together because they share the same concept and use the same main component.
There are some files changed that don't belong to Search feature, but it's because I decided to make a small refactor of
PolicyTagList, while implementing Tag filter(previousPolicyTagListreally confused me).I refactored Currency filter and Category filter to reuse common component.
I also refactored Search Pages to not use pointless
<FullPageNotFoundView shouldShow={false}>Fixed Issues
$ #46041
$ #46037
$ #46040
PROPOSAL:
Tests
/search/filtersOffline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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.mov
Android: mWeb Chrome
andoird_web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
web_ios.mov
MacOS: Chrome / Safari
web_tag.mov
web_tax.mov
MacOS: Desktop
desktop.mov