-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[$250] Approve - "Waiting for you to pay" message appears briefly for approver after approving report #41081
Comments
Triggered auto assignment to @muttmuure ( |
We think this issue might be related to the #collect project. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Wrong optimistic message is seen for the approver who is not the What is the root cause of that problem?Currently in Lines 302 to 308 in 3f379ec
here the Line 91 in 3f379ec
Line 89 in 3f379ec
What changes do you think we should make in order to solve the problem?We need to add new code which will check if the current user is the case CONST.REPORT.STATUS_NUM.APPROVED:
if (isManager && !isOwner) {
optimisticNextStep = {
type,
title: 'Finished!',
message: [
{
text: 'No further action required!',
},
],
};
} else {
..... (The current existing code)
ResultsScreen.Recording.2024-04-27.at.4.16.23.AM.mov |
Job added to Upwork: https://www.upwork.com/jobs/~013e61cf7fb38074ac |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
@muttmuure Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Commented in the related PR to confirm if this is a legit regression |
I guess we're good to proceed with the current issue based on this comment #40532 (comment) @eh2077 |
reviewing proposals |
When owner and approver are the same person, the behaviour is same as described in this issue (owner and approver are different) after clicking the 0-admin-and-approver-are-same.mp4@muttmuure Can you help to clarity the expected behaviours here?
Note: currently both cases show |
Will chat with Tom |
The owner isn't a factor here, the owner is the person who owns billing |
@muttmuure So in both cases the next step message will be |
Make or track payments is enabled, so there should be an action to pay, it just depends who it is - I will revert back soon |
@muttmuure Sorry, the expected results are still not clear to me. Looking forward to your update, thanks. |
Waiting for update from @muttmuure |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
If Make and track payments is enabled but no bank account is connected, the message So the unexpected behavior here is that |
@muttmuure Thank you for making that clear. @GandalfGwaihir Can you update your proposal based on @muttmuure 's comment ^? |
@GandalfGwaihir Friendly bump! |
@muttmuure @eh2077 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
I think you understood the issue wrong here @muttmuure , it indeed shows The bug here is for approver (The person who is an approver but not the admin/owner of the workspace). In this case we optimistically set the message to So I guess my proposal still is valid for the bug described in the OP. What are your thoughts @muttmuure @eh2077 , sorry for the delay in reply |
This makes sense to me if we only want to fix this specific use case. But I think it'll be better to fix #41081 (comment) together as they're relevant. @GandalfGwaihir What do you think? cc @muttmuure |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I am Okay with that, but for this to happen we also need a |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @eh2077 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @GandalfGwaihir 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@eh2077 I will open the PR over the weekend/ as soon as the |
PR ready for review @eh2077 , thanks for the patience |
@muttmuure , can you take a look at this comment from the PR once you find time :) |
As mentioned here, this issue was fixed by another PR while this one was on hold for the merge freeze. We'll still pay @GandalfGwaihir and @eh2077 for their fix though cc @muttmuure (https://stackoverflowteams.com/c/expensify/questions/8719) |
can you pay this one please @muttmuure :) |
All paid up |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.66-2
Reproducible in staging?: Y
Reproducible in production?: Y
Found when validating PR: #40532
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition:
Expected Result:
Approver will not be presented with this Next step message "Waiting for you to pay these expenses".
Actual Result:
"Waiting for you to pay these expenses" message appears briefly for approver after approving the report.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6462601_1714121004492.bandicam_2024-04-26_16-36-46-329.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: