-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search filters: tax, expense type and tag #46736
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✋ 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(previousPolicyTagList
really 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/filters
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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