-
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
[$250] [CVP] New User who is submitted an IOU pays via BBA, then see’s `Approve' #42322
Comments
Triggered auto assignment to @kevinksullivan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The money request preview shows approve button even though it's a new workspace which has approval disabled by default. What is the root cause of that problem?This has the same root cause as #39171. We already have a condition here to not show the approve button if the approval is disabled (isOnSubmitAndClosePolicy). Lines 5978 to 5982 in e8ae3c5
However, the auto-reporting frequency needs to be instant (isOnInstantSubmitPolicy) to not show the approval button. In our case, the frequency is empty, so the condition is never met. Later after we receive the BE response, the frequency is set to instant. What changes do you think we should make in order to solve the problem?Remove isOnInstantSubmitPolicy condition Or change the condition to accept either isOnInstantSubmitPolicy or isOnSubmitAndClosePolicy. We need to fix on the BE too because the next step indicating for the admin to approve it first. What alternative solutions did you explore? (Optional)Set autoReportingFrequency to instant optimistically when creating the workspace in |
@kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
This is bottom up case, so adding to collect project |
Job added to Upwork: https://www.upwork.com/jobs/~01cc2fb178d0dea7a3 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
This RCA and solution of this issue is similar to this one that I approved |
I don't think we should. The previous issue is closed because that issue is not reproducible, if we re-open that issue, the reproduce steps there can't be used, also expectation. But I'm happy to let @DylanDylann continuous review this issue as a C+. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@hoangzinh, @kevinksullivan Huh... This is 4 days overdue. Who can take care of this? |
cc @kevinksullivan what do you think on my comment here #42322 (comment) |
@hoangzinh @kevinksullivan 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! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@hoangzinh, @kevinksullivan Huh... This is 4 days overdue. Who can take care of this? |
I agree we should just keep up with the same issue. @hoangzinh if you want to pass to @DylanDylann you can, or you can stay on as C+. |
Yes, please @kevinksullivan can you assign @DylanDylann as C+ so he can start reviewing this issue? Thanks |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@hoangzinh, @kevinksullivan Huh... This is 4 days overdue. Who can take care of this? |
Taking over as C+ |
Hi @bernhardoj Could you reproduce this issue any mỏe? |
![]() @bernhardoj A bit curious, when I log in as a new user, I only see an option for payment "pay .. elsewhere" |
Ah, the pay with expensify is for USD only, the currency is always converted to my local currency, so I manually update the code to always show the pay with expensify option. App/src/components/SettlementButton.tsx Line 178 in 8d11d0b
|
@bernhardoj Your alternative proposal looks good to me. Let's go with @bernhardoj's proposal 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @amyevans, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Agreed we can set it optimistically to take care of this, assigning @bernhardoj and @DylanDylann |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
This PR already set the |
@amyevans @kevinksullivan @bernhardoj @DylanDylann this issue is now 4 weeks old, please consider:
Thanks! |
Okay got it, I think we should just close here then. Sorry this is the second time this has happened 😬 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.74-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @danielrvidal
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1715816298574129
Action Performed:
Expected Result:
The expense should see
pay
rather thanapprove
.Actual Result:
There is an option to approve the expense, even though it’s a brand new workspace and thus shouldn’t have approval.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
upgradeerrors.mp4
Recording.79.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinhThe text was updated successfully, but these errors were encountered: