[CP Staging] Fix/Profile - Tapping share code link directs to hmm not here page#36507
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-14.at.21.04.08.movAndroid: mWeb ChromeScreen.Recording.2024-02-14.at.21.05.03.moviOS: NativeScreen.Recording.2024-02-14.at.21.01.05.moviOS: mWeb SafariScreen.Recording.2024-02-14.at.21.02.21.movMacOS: Chrome / SafariScreen.Recording.2024-02-14.at.20.57.27.movMacOS: DesktopScreen.Recording.2024-02-14.at.21.06.58.mov |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #36457 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
@lukemorawski Please do the same in SidebarLinksData component. |
@shubham1206agra Is there an GH issue for that? |
|
Maybe #36490 |
|
@shubham1206agra well since it's not a deploy blocker I won't be able to tackle this immediately. I have a backlog of stuff I need to beforehand. |
|
@shubham1206agra Would you confirm the linked DB has same root cause? |
|
I am not 100% sure here. But the sidebar tries to find the current user accountID, so it might be the root cause |
mountiny
left a comment
There was a problem hiding this comment.
Gonna go ahead with this and the other blocker might have separate fix once we find it
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…snt_work [CP Staging] Fix/Profile - Tapping share code link directs to hmm not here page (cherry picked from commit b6112ac)
|
🚀 Cherry-picked to staging by https://github.com/yuwenmemon in version: 1.4.41-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.41-12 🚀
|
Details
This PR fixes the issue where the account ID was absent from the shared profile URL. This is done by dropping the session param from the component props if favour of
accountIDtaken fromcurrentUserPersonalDetailshook.Fixed Issues
$ #36457
PROPOSAL: no proposal
Tests
Offline tests
same as QA
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
MacOS: Desktop
share.code.mov