-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Replace email by You #49315
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 |
src/libs/NextStepUtils.ts
Outdated
let tagType = part.type ?? 'span'; | ||
let content = Str.safeEscape(part.text); | ||
|
||
if (isEmail) { | ||
if (currentUserEmail === part.text) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The messages
contain this:
[
{
"text": "Waiting for "
},
{
"text": "Approver's Name Approver's LastName",
"type": "strong",
"tooltipText": "[email protected] (click to copy)",
"clickToCopyText": "[email protected]"
},
{
"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
You
in the report's next step:Fixed Issues
$ #47933
PROPOSAL:
Tests
You
in the next steps instead of the approver's emailYou
in the next steps instead of the approver's display nameOffline tests
QA Steps
You
in the next steps instead of the approver's emailYou
in the next steps instead of the approver's display namePR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop