[Search v2] [App] Create Currency filter #46566
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] |
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 :) |
ikevin127
left a comment
There was a problem hiding this comment.
🟢 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 #46566 (comment). Will be fixed in another issue!
-
2. Selecting onlyALL - ALLin 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.
|
✋ 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 Nativeon filters screensFixed Issues
$ #46031
PROPOSAL:
Tests
Offline 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
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