-
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
Expense- "you" is missing in next step message when submitting report in new workspace offline #39337
Comments
Triggered auto assignment to @bfitzexpensify ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @AndrewGable ( |
@bfitzexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #collect project. |
I dont think this is a blocker, its caused by us switching to Collect instead of Free policies. I will look into this as next steps were part of a project I have worked on |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?In submit step we show When created offline, we still don't have the details whether the report is self-approve and hence it calls the What changes do you think we should make in order to solve the problem?The solution should be universal and hence if we don't get any value from const managerDisplayName = isSelfApproval ? 'you' : ReportUtils.getDisplayNameForParticipant(submitsTo) ?? 'approver'; The reason we shouldn't assign you is that when we approve these expenses we have a optimistic check for
What alternative solutions did you explore? (Optional)N/A |
I need to look into what is the expected default value for this |
The problem is that the default approval mode is set incorrectly |
sorry, didn't quite get that |
ah was noting for myself, there is bunch of other stuff worng here, I will create a PR for this |
cool 👀 |
PR is up in a review |
PR hit prod 2 weeks ago. @rushatgabhane - sent an offer for the PR review via Upwork. |
@bfitzexpensify i'll make a manual request on new dot. Could you please attach a payment summary? |
created a manual request here - https://staging.new.expensify.com/r/445620376024128 |
Great. Payment summary: @rushatgabhane to be paid $250 for PR review. |
$250 approved for @rushatgabhane |
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.58-4
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
Next step message will show "Waiting for you to approve these expenses.".
Actual Result:
Next step message shows "Waiting for to approve these expenses.". "You" is missing.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6433411_1711902195154.20240401_001652.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @bfitzexpensifyThe text was updated successfully, but these errors were encountered: