Repository navigation
[No QA] [TS migration] Migrate 'cardStyles' style to TypeScript - #25886
Conversation
There was a problem hiding this comment.
| type GetCardStyles = (isSmallScreenWidth: boolean, screenWidth: number) => Partial<Pick<CSSProperties, 'position' | 'width' | 'right' | 'height'>>; | |
| type GetCardStyles = (isSmallScreenWidth: boolean, screenWidth: number) => Partial<Pick<ViewStyle | CSSProperties, 'position' | 'width' | 'right' | 'height'>>; |
e9304bd to
42c02fb
Compare
|
@blazejkustra PR is ready for review! |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #24714 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
blazejkustra
left a comment
There was a problem hiding this comment.
Only one comment, also agree with Fabio's comment. Other than that LGTM!
There was a problem hiding this comment.
For better intellisense:
| // Get card style for cardStyleInterpolator | |
| /** Get card style for cardStyleInterpolator */ |
Reviewer Checklist
Screenshots/VideosMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
|
Hi @pasyukevich, can you add the other screenshots whenever you get a chance? |
|
Hi @srikarparsi, I was instructed to have at least web screenshots for such updates |
|
Ah got it thanks! It looks like there's a conflict now but once that's fixed, this seems good to merge |
|
Bump to resolve conflicts |
42c02fb to
76ffe96
Compare
|
rebased with solved conflicts |
|
✋ 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 staging by https://github.com/srikarparsi in version: 1.3.69-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.69-2 🚀
|
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 1.3.70-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|

Details
Fixed Issues
$ #24714
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)/** 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
iOS
Android