-
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 v2] [App] Create Currency filter #46566
[Search v2] [App] Create Currency filter #46566
Conversation
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.
looks mostly ok
@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] |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.webmAndroid: mWeb Chromeandroid-mweb.webmiOS: Nativeios.mp4iOS: mWeb Safariios-mweb.mp4MacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
Note The implementation only works well with 1 currency selected (given that an expense with that currency exists within the search list).
@Kicu Please let me know if these are within the scope of this PR and if they should be addressed so I can move forward to completing the checklist once that happens. Note: There's some conflicts as well. |
@ikevin127 so the author of the PR is @WojtekBoman and we talked and agreed that he will fix the displaying of filters (Point 3) to bring it back to this style: As for point 1 I noticed something similar when I was trying out category filter and talked with @iwiznia about backend not accepting multiple categories and returning bad data. Could it be something similar in here when sending multiple currencies? Context here: https://swmansion.slack.com/archives/C06ML6X0W9L/p1722520805754429?thread_ts=1722361614.805189&cid=C06ML6X0W9L |
@ikevin127 Could you recheck it? The third point should already be fixed :) |
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.
🟢 Thanks for addressing the issues!
regarding the second point ALL doesn't mean all currencies, but a specific currency with such a symbol
My bad, turns out that's the Albanian Lek - ALL currency 😅
I removed the issue from the list.
-
1. Infinite loading when filtering by 2 or more currencies
Confirmed in [Search v2] [App] Create Currency filter #46566 (comment). Will be fixed in another issue!
-
2. Selecting onlyALL - ALL
in Currency filter showsNothing to show
🟢 Issue dismissed. My bad, turns out this is indeed a currency: the Albanian Lek ALL.
-
3. Discrepancies in the Filters labeling between other implementations and this PR
Addressed and fixed.
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.18-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.18-10 🚀
|
Details
This PR adds a new page for the currency filter and fixes some style issues:
iOS Native
on filters screensFixed Issues
$ #46031
PROPOSAL:
Tests
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
Screen.Recording.2024-08-02.at.16.09.36.mov
Android: mWeb Chrome
Screen.Recording.2024-08-02.at.16.03.59.mov
iOS: Native
Screen.Recording.2024-08-02.at.15.32.16.mov
iOS: mWeb Safari
Screen.Recording.2024-08-02.at.15.46.15.mov
MacOS: Chrome / Safari
Screen.Recording.2024-08-02.at.15.38.05.mov
MacOS: Desktop
Screen.Recording.2024-08-02.at.15.50.04.mov