-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Show search action buttons v2 #52441
Conversation
@alitoshmatov 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] |
@alitoshmatov this is the second attempt on this issue, since the first PR got reverted. We're still waiting on some backend changes to be deployed, which should happen today. |
All backend changes are deployed. @alitoshmatov please prioritize reviewing this PR. |
Working on it right now |
@luacmartins When approving from search actions it is ignoring held expenses and approving all unlike approving in chat which asks which part to approve. Is this expected behavior |
Also if expense group is approved in Now user cannot pay these expenses from search page. Is it expected behavior? Screen.Recording.2024-11-19.at.10.03.39.PM.mov |
In Search, we just pay the non-held expenses. The held ones should be automatically moved to a new report. Do you see that behavior? |
Yea, that's expected. You'd be able to see the expense in the |
No approving report is just approving all expenses and the held ones are getting unheld |
I'll check on that behavior. Please continue reviewing the PR though |
All the regressions are solved, feature is working as expected. Reviewing the code |
@alitoshmatov I just checked with the product team and we should show the modal if we have held expenses. I'll work on those changes now |
Updated! |
I still see an issue when there are multiple different currencies on the same report, but that is also happening when trying to pay on the report page itself |
Reviewer Checklist
Screenshots/VideosAndroid: Nativesearch-action-android.movAndroid: mWeb Chromesearch-action-mweb.moviOS: Nativesearch-action-ios.mp4iOS: mWeb Safarisearch-action-safari.mp4MacOS: Chrome / Safarisearch-action-web.movMacOS: Desktopsearch-action-desktop.mov |
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.
I think everything looks good and we can proceed
@mjasikowski 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] |
✋ 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/mjasikowski in version: 9.0.66-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.66-8 🚀
|
Details
This PR adds new actions,
Approve
andPay
to the Search results page.Fixed Issues
$ #51898
$ #52360
$ #52364
$ #52365
$ #52366
$ #52367
$ #52368
$ #52369
$ #52371
$ #52375
$ #52377
$ #52404
$ #52411
$ #52418
Tests
Pre-requisites:
Tests steps:
Offline tests
N/A
QA Steps
Same as tests
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
Screen.Recording.2024-11-08.at.1.16.58.PM.mov
Screen.Recording.2024-11-08.at.1.20.02.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop