fix: use the entire personal details list instead of participants' one#35873
Conversation
|
Please merge main. There are no typecheck failures on it. |
|
@c3024 merged with the latest main. Please give it another look |
Reviewer Checklist
Screenshots/VideosAndroid: NativefullPersonalAndroid.mp4Android: mWeb ChromefullPersonalAndroidChrome.mp4iOS: NativefullPersonaliOS.mp4iOS: mWeb SafarifullPersonaliOSSafari.mp4MacOS: Chrome / SafarifullPersonalWeb.mp4MacOS: DesktopfullPersonalDesktop.mp4 |
| parentReportAction={itemParentReportAction} | ||
| policy={itemPolicy} | ||
| personalDetails={participantsPersonalDetails} | ||
| personalDetails={personalDetails ?? undefined} |
There was a problem hiding this comment.
| personalDetails={personalDetails ?? undefined} | |
| personalDetails={personalDetails ?? {}} |
While personalDetails should never be undefined or null, I think it is unsafe to pass explicitly undefined like this. If we pass undefined explicitly this way, default value for personalDetails in OptionRowLHNData will not be used. I think it is better to pass {} here instead of undefined.
There was a problem hiding this comment.
In OptionRowLHNData it is used only for getOptionData and it should not cause an issue even when it is undefined. But I think it is better if we never pass undefined here especially when we are giving a default value of {} for personalDetails in OptionRowLHNData. WDYT?
There was a problem hiding this comment.
Updated and merged with the latest main
|
✋ 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 production by https://github.com/thienlnam in version: 1.4.41-12 🚀
|
Details
Use the entire personal details list instead of participants' details list
Fixed Issues
$ #35477
PROPOSAL: #35477 (comment)
Tests
Offline tests
This test should be conducted in online mode
QA Steps
PR 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
Android: Native
35477_android_native.mp4
Android: mWeb Chrome
35477_android_chrome.mp4
iOS: Native
35477_ios_native.mp4
iOS: mWeb Safari
35477_ios_safari.mp4
MacOS: Chrome / Safari
35477_mac_chrome.mp4
MacOS: Desktop
35477_mac_desktop.mp4