-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-04-28] [$250] Expense preview - Expense preview shows "Receiver > Payer" instead of "Payer > Receiver" #59526
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
Comments
Triggered auto assignment to @zanyrenney ( |
adding external |
It is a minor UI adjustment, but if this is being stored or displayed incorrectly, we'll want a deeper investigation. |
Job added to Upwork: https://www.upwork.com/jobs/~021907390149084405396 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
@jponikarchuk Just out of curiosity, do we really need to Login with Expensifail account? Is there some UIs limited to Expensifail accounts? cc @rushatgabhane |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense preview - Expense preview shows "Receiver > Payer" instead of "Payer > Receiver" What is the root cause of that problem?Small logical mistake during implementation here, managerID and ownerAccountID passed here are passed in reverse order. App/src/libs/TransactionPreviewUtils.ts Lines 54 to 55 in 9a58e7d
What changes do you think we should make in order to solve the problem?Change the order of managerID and ownerAccountID passed here. App/src/libs/TransactionPreviewUtils.ts Lines 54 to 55 in 9a58e7d
const fromID = chooseIDBasedOnAmount(amount, ownerAccountID, managerID);
const toID = chooseIDBasedOnAmount(amount, managerID, ownerAccountID); What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)Could be corrected by fixing the function body of |
LGTM 🎀👀🎀 |
Triggered auto assignment to @deetergp, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@samranahm We mean that the user should log in as Expensifail account, not Gmail account |
@samranahm based on your question, it seems you're new here. I would recommend you to go through https://github.com/Expensify/App/blob/e15c63350bcfac084ec847372fc819a46eba301b/README.md and https://github.com/Expensify/App/blob/e15c63350bcfac084ec847372fc819a46eba301b/contributingGuides/CONTRIBUTING.md . |
@rushatgabhane I am thinking to modify chooseIDBasedOnAmount to return a pair of [fromID, toID] so we need to call this function only in one way and hence it might reduce complexity and increase clarity. Sounds good? |
it doesn't have any other usage, so i think we should not touch it. i agree that the function itself is really difficult wrap your head around. |
tnx @nkdengineer. |
I mean it's the wrong transaction data in snapshot. |
@nkdengineer I checked again and for every transaction ManagerID reflects payer account and ownerID reflects receiver account and hence BE response is consistent. |
@zanyrenney Thank you. ps. Email: [email protected] |
^ the discussion is Resolved but i don't think @ChavdaSachin is on slack |
Hi @ChavdaSachin, unfortunately, we are stuck in the same situation with regard to Inviting new contributors into our Slack group. When you first tried to get in, were you asked to fill out a form? And if so, did you? |
Yes I've filled the form.
So I should receive the invitation soon. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.30-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-04-28. 🎊 For reference, here are some details about the assignees on this issue:
|
@rushatgabhane @zanyrenney @rushatgabhane The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Payment Summary
BugZero Checklist (@zanyrenney)
|
hey @ChavdaSachin - you never applied to the job. |
Please can you apply here? https://www.upwork.com/jobs/~021907390149084405396 I just tried to invite you to the job, but I'm unable to find you on upwork. @ChavdaSachin |
@zanyrenney applied for the job. Upwork profile: https://www.upwork.com/freelancers/~016a0f0a12bce54a49 |
@zanyrenney can you please accept the proposal and release the payment. |
@zanyrenney bump on above ^ |
taking a look! |
@ChavdaSachin all rehired! |
offer is pending! |
Accepted the offer |
Payment summary Reviewer: @rushatgabhane owed $250 via NewDot - please request $250 via ND. |
$250 approved for @rushatgabhane |
Uh oh!
There was an error while loading. Please reload this page.
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: 9.1.22-2
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp #58479
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.3 / Chrome
App Component: Money Requests
Action Performed:
Precondition:
Expected Result:
The expense preview should show that "Payer > Receiver" (we can double confirm this iin Reports).
Actual Result:
The expense preview shows "Receiver > Payer" instead.
Workaround:
Unknown
Platforms:
Screenshots/Videos
1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: