Replace email by You#49315
Conversation
|
@ishpaul777 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-18.at.2.12.38.AM.movAndroid: mWeb ChromeUploading Screen Recording 2024-09-18 at 2.36.44 AM.mov… Screen.Recording.2024-09-18.at.2.36.44.AM.moviOS: NativeScreen.Recording.2024-09-18.at.2.02.13.AM.moviOS: mWeb SafariUntitled.movMacOS: Chrome / SafariUntitled.movScreen.Recording.2024-09-18.at.1.53.20.AM.movMacOS: DesktopScreen.Recording.2024-09-18.at.2.21.11.AM.mov |
| let content = Str.safeEscape(part.text); | ||
|
|
||
| if (isEmail) { | ||
| if (currentUserEmail === part.text) { |
There was a problem hiding this comment.
hmm I didn't test that, I think we should still show You if you have a display name. I'll work on that.
There was a problem hiding this comment.
The messages contain this:
[
{
"text": "Waiting for "
},
{
"text": "Approver's Name Approver's LastName",
"type": "strong",
"tooltipText": "approver@wp-advanced-approval4.com (click to copy)",
"clickToCopyText": "approver@wp-advanced-approval4.com"
},
{
"text": " to "
},
{
"text": "pay5"
},
{
"text": " %expenses."
}
]
I'm going to use the part.clickToCopyText as a fallback to check because the email should be there if it is not in part.text. I don't expect to find the current user email in clickToCopyText in cases other than when we are trying to show the current user email (there shouldn't be false positives).
|
Thanks @ishpaul777 , good catch. I also noticed I forgot to add the testing / QA steps, so I added them now 🤦 . |
|
Nice, QQ- how do i create a account with no displayname i think its now mandatory adding a display name in onboarding flow |
|
Oh, I think I may have done it by inviting from old dot a non-existing
account into the policy.
…On Tue, Sep 17, 2024, 11:44 Ishpaul Singh ***@***.***> wrote:
Nice, QQ- how do i create a account with no displayname i think its now
mandatory adding a display name in onboarding flow
—
Reply to this email directly, view it on GitHub
<#49315 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AU2LVBWBQAMTQOBX6HHXJNLZXB2CHAVCNFSM6AAAAABOKH5ME2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWGY2DQNBUGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I see that if you create the account in OldDot, once you sign in in NewDot, the modal forcing you to put the display name won't appear |
|
I'll try with a very old account and see if that works. I'll be out for a bit, so give me around 30 minutes |
Sure, no rush |
|
it worked 👍 just completing checklist videos Rest LGTM! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/lakchote in version: 9.0.38-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.0.38-4 🚀
|

Details
Replaces your email by
Youin the report's next step:Fixed Issues
$ #47933
PROPOSAL:
Tests
Youin the next steps instead of the approver's emailYouin the next steps instead of the approver's display nameOffline tests
QA Steps
Youin the next steps instead of the approver's emailYouin the next steps instead of the approver's display namePR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop