refactor BaseOnboardingWorkspaceInvite by replacing SelectionListWithSections with a new one#82118
Conversation
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.
|
681a596 to
1c3313d
Compare
There was a problem hiding this comment.
let's extract it
| textInputOptions={{ | |
| headerMessage, | |
| label: translate('selectionList.nameEmailOrPhoneNumber'), | |
| style: { | |
| containerStyle: onboardingIsMediumOrLargerScreenWidth ? styles.ph8 : styles.ph5, | |
| headerMessageStyle: [onboardingIsMediumOrLargerScreenWidth ? styles.ph8 : styles.ph5, styles.pb5], | |
| }, | |
| onChangeText: (value) => { | |
| setSearchTerm(value); | |
| }, | |
| value: searchTerm, | |
| }} | |
| const textInputOptions = { | |
| headerMessage, | |
| ..... | |
| } | |
| ..... | |
| textInputOptions={textInputOptions} | |
1c3313d to
5512fee
Compare
|
@dukenv0307 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] |
| @@ -1,14 +1,12 @@ | |||
| import React, {useEffect, useMemo, useState} from 'react'; | |||
| import React, {useEffect, useState} from 'react'; | |||
There was a problem hiding this comment.
❌ CONSISTENCY-4 (docs)
The useMemo import is no longer used in this file after removing the useMemo wrapper around softExclusions calculation (line 68 in the diff).
Fix: Remove useMemo from the React import:
import React, {useEffect, useState} from 'react';Please rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency.
There was a problem hiding this comment.
that import was already removed. some kind of false positive here.
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-02-13.at.10.16.05.movAndroid: mWeb ChromeScreen.Recording.2026-02-12.at.11.34.51.moviOS: HybridAppScreen.Recording.2026-02-13.at.10.14.15.moviOS: mWeb SafariScreen.Recording.2026-02-12.at.11.36.45.movMacOS: Chrome / SafariScreen.Recording.2026-02-12.at.11.31.20.mov |
|
Bug on iOS native
Screen.Recording.2026-02-12.at.11.38.28.mov |
|
@dukenv0307, fixed the issue with latest commit. I've also changed the behavior where |
JmillsExpensify
left a comment
There was a problem hiding this comment.
Product review isn't really required on this one.
|
@sharabai would you fix conflicts |
…nt call, remove empty string
1b9538a to
2e2dc92
Compare
|
@grgia absolutely! Conflicts fixed. |
|
🚧 @grgia 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/grgia in version: 9.3.20-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.20-6 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.20-6 🚀
|
Explanation of Change
Fixed Issues
$ #65658
PROPOSAL:
Tests
Offline tests
QA Steps
Same steps as in Tests
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
android-latest-onboarding.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web-macOS-latest-onboarding.mp4