-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix: Handle merged account display name #32792
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: Handle merged account display name #32792
Conversation
|
@allroundexperts 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] |
|
@allroundexperts this PR touches many places where the |
|
@allroundexperts a friendly bump on the PR review 🙏 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-12-22.at.11.32.01.AM.movAndroid: mWeb ChromeScreen.Recording.2023-12-22.at.11.30.08.AM.moviOS: NativeScreen.Recording.2023-12-22.at.11.28.11.AM.moviOS: mWeb SafariScreen.Recording.2023-12-22.at.11.26.12.AM.movMacOS: Chrome / SafariScreen.Recording.2023-12-22.at.11.20.15.AM.movMacOS: Desktopscreen-recording-2023-12-22-at-112345-am_u7U5PfZV.mp4 |
|
@paultsimura Can you please resolve conflicts here? Apologies for the delay in reviewing this one. I was supposed to review this last weekend but wasn't able to because of an urgent chore. |
|
@allroundexperts It looks like the conflicting PR broke the |
# Conflicts: # src/components/ArchivedReportFooter.tsx # src/libs/OptionsListUtils.js # src/libs/PersonalDetailsUtils.js # src/libs/SidebarUtils.ts # src/pages/DetailsPage.js # src/pages/ProfilePage.js # src/pages/ReportParticipantsPage.js # src/pages/home/report/ReportActionItem.js
3fa78e1 to
927011c
Compare
927011c to
f92050a
Compare
|
@allroundexperts all yours |
|
@paultsimura Founds several instances of the
|
|
@paultsimura I'm not sure but sometimes, I see
|
|
Looking into it. Could you please share some more details for reproduction if you have them? |
|
@allroundexperts this Which will be more misleading than the same error with the
|
# Conflicts: # src/pages/home/report/ReportActionItem.js
|
@allroundexperts However, I cannot reproduce this "Hidden and Hidden" case no matter how I tried. So if you could provide me with the reproduction steps so that I can double-check my point – it would be great |
# Conflicts: # src/pages/DetailsPage.js # src/pages/ProfilePage.js
|
@allroundexperts please re-review with the comments above. |
# Conflicts: # src/libs/OptionsListUtils.js # src/libs/PersonalDetailsUtils.ts
|
@allroundexperts The longer it takes to finish reviewing this PR, the more conflicts and potential regressions appear, as |
83bb835 to
0f6fdd3
Compare
Apologies for the delay here. I was OoO the previous week. I'll finish this up in coming days! |
@paultsimura I think we should fix this on the server then. But lets not block this PR because of that. |
allroundexperts
left a comment
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.
Looks good!
|
@allroundexperts the PR Reviewer checklist is failing, could you please handle that as well? |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.4.22-0 🚀
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.4.22-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.22-6 🚀
|








Details
Use
PersonalDetailsUtils.getDisplayNameOrDefaultwhere possible to escape theMERGED_{i}prefix in the merged account display names.Fixed Issues
$ #32127
PROPOSAL: #32127 (comment)
Tests
Same as QA
Offline tests
It's impossible to perform all the needed steps when offline (merging, login-logout).
QA Steps
@...in a room or chat;*The "correct email" below will mean the email without
MERGED_prefix. i.e.bob@gmail.com, notMERGED_0@bob@gmail.com@in the composerPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
For clarity, in the Web section I provided side-to-side screenshots of fixed & prod behaviour.
Android: Native
android-compressed.mp4
Android: mWeb Chrome
chrome-compressed.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
safari.mp4
MacOS: Chrome / Safari
MacOS: Desktop
desktop.mp4