You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250][P2P Distance] - Disabled rate is not listed in the Rate list when it is still selected #46884
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorMonthlyKSv2ReviewingHas a PR in review
Version Number: v9.0.17-0 Reproducible in staging?: y Reproducible in production?: no, new feature 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+kh050801@applause.expensifail.com Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause internal team Slack conversation:
Action Performed:
Precondition:
Workspace has some distance rates.
Go to staging.new.expensify.com
Go to workspace chat.
Submit a distance expense with Distance rate A.
Go to workspace settings > Distance rates.
Disable Distance rate A used in Step 3.
Go back to transaction thread of the distance expense.
Click Rate.
Expected Result:
The disabled rate will appear selected in the Rate list but grayed out (like Category and Tag when selected and disabled afterward).
Actual Result:
The disabled rate is not listed in the Rate list when it is still selected.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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:
Identify the pull request that introduced this issue and revert it.
Once that is done -
we can filter the disabled rate in IOURequestStepDistanceRate as following. and pass isDisabled value so it will show selected but style will be different for selected but disabled value.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
Okay I should've clarified. I did see the changes in the production branch, was wondering about the payout date. @dylanexpensify can you please help with the payout info? I'll work on the checklist meanwhile.
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorMonthlyKSv2ReviewingHas a PR in review
Activity
melvin-bot commentedon Aug 6, 2024
Triggered auto assignment to @iwiznia (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Aug 6, 2024
Triggered auto assignment to @dylanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.github-actions commentedon Aug 6, 2024
👋 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:
BhuvaneshPatil commentedon Aug 6, 2024
Edited by proposal-police: This proposal was edited at 2024-08-06 14:00:06 UTC.
PR - #40021
I can raise PR if needed
Proposal
Please re-state the problem that we are trying to solve in this issue.
Distance rate which is selected but after disabling, not shown.
What is the root cause of that problem?
We are filtering the disabled rates when showing the rates list in selector.
App/src/libs/DistanceRequestUtils.ts
Lines 47 to 50 in 627ef1a
App/src/pages/iou/request/step/IOURequestStepDistanceRate.tsx
Lines 141 to 144 in 627ef1a
What changes do you think we should make in order to solve the problem?
We shall pass true as second argument that will give us disabled rates as well and we will also pass enabled value.
App/src/pages/iou/request/step/IOURequestStepDistanceRate.tsx
Lines 141 to 144 in 627ef1a
Once that is done -
we can filter the disabled rate in
IOURequestStepDistanceRateas following. and pass isDisabled value so it will show selected but style will be different for selected but disabled value.What alternative solutions did you explore? (Optional)
demo -
distance.rates.disabled.mp4
neil-marcellini commentedon Aug 6, 2024
Not a blocker, the rate field is still behind the beta.
42 remaining items
dylanexpensify commentedon Sep 10, 2024
pending regression period
melvin-bot commentedon Sep 16, 2024
This issue has not been updated in over 15 days. @iwiznia, @mananjadhav, @dylanexpensify, @dominictb eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
dominictb commentedon Sep 18, 2024
Should be ready for payment shortly.
mananjadhav commentedon Sep 25, 2024
@iwiznia Can you check if this was deployed to production? I don't see any automation message. This is the last comment.
iwiznia commentedon Sep 25, 2024
FYI you can check yourself by looking at the production branch. I think it was since I see your changes here
mananjadhav commentedon Sep 25, 2024
Okay I should've clarified. I did see the changes in the production branch, was wondering about the payout date. @dylanexpensify can you please help with the payout info? I'll work on the checklist meanwhile.
iwiznia commentedon Sep 25, 2024
hmmm yeah, I am not sure. Maybe you can find the merge commit in the production branch?
mananjadhav commentedon Sep 26, 2024
Correct me if I am wrong but we can use this release link to confirm this was deployed 2 weeks ago - https://github.com/Expensify/App/releases/tag/9.0.31-26
@dylanexpensify as for the checklist I think this was more of an edge case and hence I don't have a PR that I can pinpoint to.
But I do feel we should add a regression test for this one.
Regression Test Proposal
dylanexpensify commentedon Sep 26, 2024
Payment summary:
Contributor: @dominictb $250 via Upwork
Contributor+: @mananjadhav $250 via NewDot
Please apply/request!
dylanexpensify commentedon Sep 26, 2024
payment sent in upwork @dominictb!
garrettmknight commentedon Oct 2, 2024
$250 approved for @mananjadhav