Closed IuliiaHerets closed 1 month ago
Triggered auto assignment to @AndrewGable (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
Triggered auto assignment to @anmurali (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.
:wave: 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:
Bad grammar "You's expense(s)" instead of "Your expense(s)" in report banner
This is what we are implementing
If we do not want to add the name of use then we have to remove this
{
text: `${ownerDisplayName}'s`,
type: 'strong',
},
form here
If we want to remove 's
then we will remove it
https://github.com/Expensify/App/blob/040c8017219d4ca3650e41d41660c04d6b5a2d64/src/libs/NextStepUtils.ts#L138-L141
Edited by proposal-police: This proposal was edited at 2024-09-19 14:17:12 UTC.
Bad grammar "You's expense(s)" instead of "Your expense(s)" in report banner
here we dont handle the case where the ownerDisplayName
resolves to "You"
https://github.com/Expensify/App/blob/18ce38bf425d5e0bb37bd1e81ca127abec15addf/src/libs/NextStepUtils.ts#L138-L141
ownerDisplayName
is you then replace it with your and remove the 's
after the your
word:you
changes depending on the localize languagesuggested change: import translate from useLocalize
const {translate} = useLocalize();
optionally also we need to define the languages translations for your
then use it here:
text: ownerDisplayName === translate('common.you')? `${translate('common.your')}`: `${ownerDisplayName }'s`,
Bad grammar "You's expense(s)" instead of "Your expense(s)" in report banner
We always add 's to the ownerDisplayName
here
https://github.com/Expensify/App/blob/040c8017219d4ca3650e41d41660c04d6b5a2d64/src/libs/NextStepUtils.ts#L138-L141
set the text to "Your" if the the owner name is "You"
const isOwnerYou = ownerDisplayName === Localize.translateLocal('common.you');
...
{
text: isOwnerYou ? 'Your' : `${ownerDisplayName}'s`,
type: 'strong',
},
Base on expected result we should display "Waiting for expense(s) to automatically submit on Sunday", so we need change this to the following
...(!isOwnerYou ? [
{
text: `${ownerDisplayName}'s`,
type: 'strong',
},
] : []),
made the translation step of your
as optional
Looking at this
⚠️ Looks like this issue was linked to a Deploy Blocker here
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
Please assign me here, i reviewed the linked PR , thanks :) 🙏
Summary:
Assigned @allgandalf in the role of C+ reviewing https://github.com/Expensify/App/pull/49482 @ishpaul777 is the author of https://github.com/Expensify/App/pull/49482 fixing this deploy blocker
@ishpaul777 was the C+ of https://github.com/Expensify/App/pull/49315 that introduced the regression @aldo-expensify is the author of https://github.com/Expensify/App/pull/49315 that introduced the regression
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.38-4 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-09-26. :confetti_ball:
For reference, here are some details about the assignees on this issue:
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:
[!NOTE] No checklist here as this was a regression from some other recent PR
Only payment remaining
[Upwork Job]()
not overdue waiting for payment
@anmurali, @grgia, @aldo-expensify, @allgandalf Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Paid.
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.38-0 Reproducible in staging?: Y Reproducible in production?: N Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
The banner should display "Waiting for expense(s) to automatically submit on Sunday".
Actual Result:
The banner displays "Waiting for <You's> expense(s) to automatically submit on Sunday".
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/e8fbf049-7c97-44dd-b024-bdf91ef47b84
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @anmurali