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
[HOLD for payment][$250] - LHN preview is missing distance rate name in distance rate removal system message #46967
@kadiealexander 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-08-07 19:39:54 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
LHN preview is missing distance rate name in distance rate removal system message
What is the root cause of that problem?
In getOptionData we are not dealing with POLICY_CHANGE_LOG.DELETE_CUSTOM_UNIT_RATE action types when getting alternateText for the LHN so it is falling back to setting it to the lastMessage of the report which misses distance rate name
What changes do you think we should make in order to solve the problem?
We need to set alternateText to the getReportActionMessageText of the lastAction if the last action type is POLICY_CHANGE_LOG.DELETE_CUSTOM_UNIT_RATE (FYI: That is how the report action is displayed in report action item) here
changed the title [-]Distance - LHN preview is missing distance rate name in distance rate removal system message[/-][+][$250] Distance - LHN preview is missing distance rate name in distance rate removal system message[/+]on Aug 8, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@allroundexperts] The PR that introduced the bug has been identified. Link to the PR:
[@allroundexperts] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@allroundexperts] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@allroundexperts] Determine if we should create a regression test for this bug.
[@allroundexperts] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@kadiealexander] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
changed the title [-][$250] - LHN preview is missing distance rate name in distance rate removal system message[/-][+][HOLD for payment][$250] - LHN preview is missing distance rate name in distance rate removal system message[/+]on Oct 13, 2024
Activity
melvin-bot commentedon Aug 7, 2024
Triggered auto assignment to @kadiealexander (
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.lanitochka17 commentedon Aug 7, 2024
We think that this bug might be related to #wave-collect - Release 1
lanitochka17 commentedon Aug 7, 2024
@kadiealexander 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
FitseTLT commentedon Aug 7, 2024
Edited by proposal-police: This proposal was edited at 2024-08-07 19:39:54 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
LHN preview is missing distance rate name in distance rate removal system message
What is the root cause of that problem?
In getOptionData we are not dealing with
POLICY_CHANGE_LOG.DELETE_CUSTOM_UNIT_RATEaction types when gettingalternateTextfor the LHN so it is falling back to setting it to the lastMessage of the report which misses distance rate nameApp/src/libs/SidebarUtils.ts
Lines 431 to 432 in b806725
What changes do you think we should make in order to solve the problem?
We need to set alternateText to the getReportActionMessageText of the lastAction if the last action type is
POLICY_CHANGE_LOG.DELETE_CUSTOM_UNIT_RATE(FYI: That is how the report action is displayed in report action item) hereWhat alternative solutions did you explore? (Optional)
melvin-bot commentedon Aug 8, 2024
Job added to Upwork: https://www.upwork.com/jobs/~016424eee2de4a22ba
[-]Distance - LHN preview is missing distance rate name in distance rate removal system message[/-][+][$250] Distance - LHN preview is missing distance rate name in distance rate removal system message[/+]melvin-bot commentedon Aug 8, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (
External)29 remaining items
allroundexperts commentedon Sep 24, 2024
I think this is pending payment. Can someone please take a look?
Julesssss commentedon Sep 25, 2024
HI @kadiealexander would you mind checking that payment hasn't occurred yet? Thanks
FitseTLT commentedon Oct 3, 2024
@kadiealexander Payment overdue
FitseTLT commentedon Oct 11, 2024
@kadiealexander Can you pls issue payment here?? Thx
kadiealexander commentedon Oct 13, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
kadiealexander commentedon Oct 13, 2024
Payouts due:
Upwork job is here.
[-][$250] - LHN preview is missing distance rate name in distance rate removal system message[/-][+][HOLD for payment][$250] - LHN preview is missing distance rate name in distance rate removal system message[/+]JmillsExpensify commentedon Oct 14, 2024
$250 approved for @allroundexperts
melvin-bot commentedon Oct 21, 2024
@Julesssss, @allroundexperts, @FitseTLT, @kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Julesssss commentedon Oct 22, 2024
Hey @allroundexperts has this been paid out?
allroundexperts commentedon Oct 22, 2024
Yes, feel free to close.