[No QA] Remove nestedStyles#71277
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
@jayeshmangwani 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] |
|
Please, review the PR after #71168 gets merged |
|
It looks like the PR #71168 has been approved and is waiting to be merged. |
|
@staszekscp Please merge main here, I’ll test and review so we can move forward with this PR. |
|
Sure, I'll do it later today! |
|
@staszekscp I think you mistakenly pushed the Mobile-Expensify submodule changes here. |
|
There are conflicts now too |
|
@staszekscp Please remove the |
|
Sure, sorry for the Mobile-Expensify mess, I would have to deinit the whole submodule to fix the problem but yesterday at the same time I was working on an issue that had Mobile-Expensify changes stashed, so I didn't want to get rid of them |
| webViewStyles: webViewStyles(theme), | ||
| textInputDesktop: addOutlineWidth(theme, {}, 0), | ||
| noOutline: addOutlineWidth(theme, {}, 0), | ||
| picker: (disabled = false, backgroundColor: string = theme.appBG) => |
There was a problem hiding this comment.
@staszekscp Why are we adding this style to plainStyles? It seems like it should go under dynamicStyles instead.
There was a problem hiding this comment.
I think its because of the Math.round no?
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid.movAndroid: mWeb Chromemweb-chrome.moviOS: HybridAppioS.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
mountiny
left a comment
There was a problem hiding this comment.
Thanks, moving this ahead
| webViewStyles: webViewStyles(theme), | ||
| textInputDesktop: addOutlineWidth(theme, {}, 0), | ||
| noOutline: addOutlineWidth(theme, {}, 0), | ||
| picker: (disabled = false, backgroundColor: string = theme.appBG) => |
There was a problem hiding this comment.
I think its because of the Math.round no?
|
✋ 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/mountiny in version: 9.2.28-0 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.2.28-5 🚀
|
cc: @mountiny
Explanation of Change
This PR removes
nestedStylesand introducesplainStylesfor values that cannot be wrapped inStyleSheet.createFixed Issues
$ #70099
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso 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
Android: Native
Screen.Recording.2025-09-25.at.09.44.33.mov
Android: mWeb Chrome
Screen.Recording.2025-09-25.at.08.49.48.mov
iOS: Native
Screen.Recording.2025-09-25.at.09.25.29.mov
iOS: mWeb Safari
Screen.Recording.2025-09-25.at.09.28.45.mov
MacOS: Chrome / Safari
Screen.Recording.2025-09-25.at.08.48.17.mov
MacOS: Desktop
Screen.Recording.2025-09-25.at.09.35.27.mov