-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[CP Staging] Fix missing settlement button #23129
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
Conversation
|
@Nikhil-Vats Can you leave a review on this one and fill out the checklist? |
|
Assigning @Nikhil-Vats as padawan C+ here |
Reviewer Checklist
Screenshots/VideosWeb23129_web.movMobile Web - Chrome23129_mweb_chrome.movDesktop23129_desktop.movAndroid23129_android.mov |
| personalDetails: PropTypes.objectOf(participantPropTypes), | ||
|
|
||
| /** Children to wrap in Header */ | ||
| children: PropTypes.node, |
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.
I wonder if defining children in the propTypes here will conflict with this declaration
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.
Also, children is not required but we're not setting a default value for it
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.
Making it required has been complaining in the logs as some usecases were not passing children I think
| horizontal: 0, | ||
| }, | ||
| threeDotsMenuItems = [], | ||
| children, |
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.
We should change this to children = null.
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.
Updated!
|
@Nikhil-Vats @luacmartins Updated! |
|
LGTM. 🚀 All yours @luacmartins. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
[CP Staging] Fix missing settlement button (cherry picked from commit 34cfd33)
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.42-24 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.42-26 🚀
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.44-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.44-2 🚀
|


Details
This is a regression which is a combination of two PRs #22484 and #21852 where in the changes to the Header component and its refactor they have missed to pass the children to the header
Fixed Issues
$ #23083
Tests
Offline tests
N/A
QA Steps
Same as tests
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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.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
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
Same as web
iOS
Android