[CP Staging] Remove borderRadius from LHP & fix linkTo function#33359
Conversation
|
@stitesExpensify 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
I can do a quick review since I am working on this project wiht Wojtek |
| height: '100%', | ||
| borderTopRightRadius: isSmallScreenWidth ? 0 : variables.lhpBorderRadius, | ||
| borderBottomRightRadius: isSmallScreenWidth ? 0 : variables.lhpBorderRadius, | ||
| overflow: 'hidden', |
There was a problem hiding this comment.
What was this used for before and why is it not needed now?
There was a problem hiding this comment.
This prop was necessary to make borderRadius visible. Without borderRadius we no longer need this property in the style object
|
Looks good, thanks! |
808a1e1
mountiny
left a comment
There was a problem hiding this comment.
Thank you! The changes are straightforward and best to test the android deeplink once in staging, the regression was quite clear
|
Going ahead since this fixes a deploy blocker |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…r-radius (cherry picked from commit 348e8ae)
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.4.14-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.14-6 🚀
|

Details
This PR removes borderRadius from the LHP style and fixes the issue with optional chaining in topRouteName variable in linkTo function.
cc: @mountiny @shawnborton
Screen.Recording.2023-12-20.at.15.01.33.mov
Fixed Issues
UI Issue was mentioned on the slack: https://swmansion.slack.com/archives/C036QM0SLJK/p1703008908491819
linkTo function issue: $ #33354
PROPOSAL: #33354 (comment)
Tests
Offline tests
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)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
This fix is quite simple. There is a video presenting the fix in the details section.
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop