-
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
[CP Staging] Hide anonymous email in user details tooltip and profile page #41288
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb Chrome41288-android-chrome.mp4iOS: NativeiOS: mWeb Safari41288-ios-safari.mp4MacOS: Chrome / Safari41288-web.mp4MacOS: Desktop |
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.
LGTM.
@thienlnam 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] |
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.
These changes look fine, but should we just do this by setting the personal details of an anonymous account to Guest? Wouldn't that cover more use cases?
Yeah, that was the original idea and was fixed here, but there are cases like the tooltip and profile page where we're showing the display name and contact method. So this change is complementary to setting the personal details for anonymous accounts from the backend |
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.
Okay cool, thanks!
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.70-5 🚀
|
Details
We're creating a selfDM when an account is created, but the email is displayed in different parts for anonymous users. There's a backend change in progress to display "Guest" as display name, but complementary to that change, we need to hide the contact for the anonymous user addressed in this PR. There's no dependency on the backend changes, so this PR can be merged and deployed in parallel.
Fixed Issues
$ #41180
Tests
Offline tests
N/A
QA Steps
Same steps from test section
PR 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
Without backend changes:
Screen.Recording.2024-04-29.at.8.31.42.p.m.mov
With backend changes:
Screen.Recording.2024-04-29.at.7.33.09.p.m.mov
MacOS: Desktop