-
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
[HOLD for payment 2024-12-30] [$250] Distance- Rate added offline seen grayed out going online then back offline #51426
Comments
Triggered auto assignment to @lschurr ( |
@lschurr FYI 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 |
Edited by proposal-police: This proposal was edited at 2024-10-31 14:40:48 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Rate added offline seen grayed out going online then back offline What is the root cause of that problem?This issue occurs because all rates (even those not being deleted) are included in App/src/libs/actions/Policy/DistanceRate.ts Lines 488 to 504 in 476ad6b
Later, when The flow is as follows:
What changes do you think we should make in order to solve the problem?We should remove this App/src/libs/actions/Policy/DistanceRate.ts Lines 500 to 503 in 476ad6b
It was added in #38237 when this feature was first implemented. A few months later it was moved from |
Job added to Upwork: https://www.upwork.com/jobs/~021849920398995761024 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf ( |
@lschurr, @allgandalf Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@allgandalf could you review the proposal? |
@CyberAndrii can you dig more into the RCA? there must be a reason that we included those rates there. please try to find the PR and intension of the data added there |
Proposal updated
It turns out that removing the spread of non-modified properties (e.g. cc @allgandalf |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@allgandalf could you review the updated proposal? |
Bumped in Slack - https://expensify.slack.com/archives/C01GTK53T8Q/p1730735812544159 |
@lschurr, @allgandalf Eep! 4 days overdue now. Issues have feelings too... |
@CyberAndrii can you please provide me a test branch? I would like to test some things before moving forward with your solution (FYI, your RCA sounds correct to me) |
@allgandalf just this 1 change |
testing the proposed change .... |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@lschurr, @allgandalf Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@allgandalf Did you figure out why it copies an entire array and entire objects (instead of just the ID property) in the first place? In theory |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
📣 @allgandalf 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @wildan-m 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@allgandalf The PR is ready #53725. Thanks! |
Issue not reproducible during KI retests. (First week) |
♻️ Update: PR was merged |
♻️ PR is on staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.77-6 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 2024-12-30. 🎊 For reference, here are some details about the assignees on this issue:
|
@allgandalf @lschurr @allgandalf 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] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Verify the new rate (added offline) which is active/bolded after going back online should stay bolded after user go offline again Do we agree 👍 or 👎 |
Payment summary:
|
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: 9.0.53-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): applausetester+ck1024@applause.expensifail.com
Issue reported by: Applause - Internal Team
Issue found when executing PR #51159
Action Performed:
Precondition: Have both perdiem and distance rates set up in OldDot.
Expected Result:
The new rate (added offline) which is active/bolded after going back online should stay bolded after user go offline again
Actual Result:
The new rate added offline becomes active when going online. But seen grayed out when user go offline again after the distance rate is completely active
The same rate seen grayed out every time user go offline
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6644637_1729782903129.Recording__117.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @lschurrThe text was updated successfully, but these errors were encountered: