-
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
Fix - Remove @expensify.sms from SMS mentions #37559
Fix - Remove @expensify.sms from SMS mentions #37559
Conversation
@c3024 @jasperhuangg There are places I used App/src/pages/RoomMembersPage.tsx Lines 192 to 193 in 28f2bdf
otherwise the data BE returning should be fixed. |
The failing tests are from main |
Changes look good. 👍 Yes, we use I think we should remove
Line 1683 in 0c09803
Line 328 in 0c09803
Line 330 in 0c09803
Line 357 in 0c09803
and here
Feel free to make different changes if there are better ways. Please fix conflicts and merge |
@c3024 Got it! The proper and centralized place would be it to apply it here App/src/libs/PersonalDetailsUtils.ts Lines 27 to 28 in 450d460
@jasperhuangg I need a confirmation from U to formatPhoneNumber on the display name here App/src/libs/PersonalDetailsUtils.ts Lines 27 to 28 in 450d460
This is because in some instances BE is returning the phone number with the sms domain on the display name of the persoal detail as I explained it here #37559 (comment) |
I suspect that the reason the BE is returning the displayName same as the login is to avoid App/src/libs/PersonalDetailsUtils.ts Lines 27 to 28 in 450d460
|
@FitseTLT I think this is a sound approach, thanks for proposing! |
@c3024 friendly bump on the review–we'd like to avoid conflicts where possible. |
@jasperhuangg I had reviewed the PR and suggested changes here. Changes look fine but there are a few places where the ReportScreen header, LHN username and last message text, and Search results usernames and last message texts need to be fixed as mentioned in this comment. Comparing username and login to remove the cc: @FitseTLT |
@c3024 U can proceed |
Still not fixed for Search |
@c3024 Updated |
If you use It is crashing. |
@c3024 Updated |
Reviewer Checklist
Screenshots/VideosAndroid: NativementionsAndroid.mp4Android: mWeb ChromementionsAndroidChrome.mp4iOS: NativementionsiOS.mp4iOS: mWeb SafarimentionsiOSSafari.mp4MacOS: DesktopmentionsDesktop.mp4 |
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
@FitseTLT sorry, conflicts–do you mind fixing them? |
Resolved |
@jasperhuangg looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
✋ 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/jasperhuangg in version: 1.4.51-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.51-3 🚀
|
Hey, this PR caused a bug: #39305 Line 2620 in 112c2b2
More details here - #39305 (comment) |
Details
Fixed Issues
$ #33902
PROPOSAL: #33902 (comment)
Tests
Precondition:
Run
npm i
to install the recent changes onexpensify-common
@
@expensify.sms
invite
the user to the room and on the message that indicates the user is invited check the tooltip displays without the suffix and click on it and verify the details page displays it without the suffixOffline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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.mp4
Android: mWeb Chrome
2024-02-29.22-09-43.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.web.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4