Repository navigation
MenuItem decomposition - remove containerStyle - #103039
roryabraham merged 2 commits into
Conversation
popoverMenuItem's width: '100%' and wrapperStyle's p0 come after containerStyle in the pressable style array, and nothing sets a margin, so [m0, wAuto] never applied (pixel-identical in storybook diff).
FeatureList's [m0, wAuto] was overridden by popoverMenuItem. The status rows' pr2 narrowed the right gutter by 12px; it is dropped so they match every other row. The story card wraps the row in a View for its outer margin.
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
|
🚧 roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ 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/roryabraham in version: 9.5.6-0 🚀
|
|
No help site update needed. This PR only removes an unused |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.5.6-6 🚀
Bundle Size Analysis (Sentry): |

Explanation of Change
Removes
containerStylefrom the legacyMenuItem.FeatureList's[m0, wAuto]was overridden bypopoverMenuItem, so it was a no-op (verified 0px diff). The custom status rows'pr2narrowed the right gutter by 12px. It is dropped so those rows align with every other row, a small intentional visual change.Fixed Issues
$ #100159
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari