fix: checkbox alignment and the padding of last item in onboarding interested features page #87176
fix: checkbox alignment and the padding of last item in onboarding interested features page #87176samranahm wants to merge 2 commits intoExpensify:mainfrom
Conversation
…sed state and optimizing styles
|
@abzokhattab 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] |
There was a problem hiding this comment.
Pull request overview
Updates the Onboarding “Interested Features” page layout to keep feature rows (text + checkbox) aligned consistently, including when macOS scrollbar visibility changes affect the available content width.
Changes:
- Removes
ScrollViewwidth measurement (onLayout+widthstate) that was used to compute per-item max width. - Switches feature item sizing to a percentage-based two-column layout on non-small screens to avoid misalignment when scrollbar width changes.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/pages/OnboardingInterestedFeatures/BaseOnboardingInterestedFeatures.tsx
Show resolved
Hide resolved
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
JmillsExpensify
left a comment
There was a problem hiding this comment.
No product review required.
|
@abzokhattab PR is ready, please take a look when you have a moment. |
|
Looks fixed to me 👍 |
|
sure i am reviewing it today |
Explanation of Change
Fixed Issues
$ #82910
PROPOSAL: #82910 (comment)
Tests
Offline tests
Same as test
QA Steps
same as test
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
Android.Native.mp4
Android: mWeb Chrome
Android.mWeb.Chrome.mp4
iOS: Native
IOS.Native.mp4
iOS: mWeb Safari
IOS.mWeb.Safari.mp4
MacOS: Chrome / Safari
macOS.Chrome.mp4