-
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
[CP Staging] Remove borderRadius from LHP & fix linkTo function #33359
[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 |
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.
height: '100%', | ||
borderTopRightRadius: isSmallScreenWidth ? 0 : variables.lhpBorderRadius, | ||
borderBottomRightRadius: isSmallScreenWidth ? 0 : variables.lhpBorderRadius, | ||
overflow: 'hidden', |
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.
What was this used for before and why is it not needed now?
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.
This prop was necessary to make borderRadius visible. Without borderRadius we no longer need this property in the style object
Looks good, thanks! |
808a1e1
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.
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 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(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
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