Refactor Netsuite import custom list to use useSubPage#80995
Conversation
|
@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] |
...counting/netsuite/import/NetSuiteImportCustomFieldNew/NetSuiteImportAddCustomListContent.tsx
Outdated
Show resolved
Hide resolved
...counting/netsuite/import/NetSuiteImportCustomFieldNew/NetSuiteImportAddCustomListContent.tsx
Show resolved
Hide resolved
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
PR doesn’t need product input as a refactor PR. Unassigning and unsubscribing myself. |
| pages, | ||
| startFrom, | ||
| onFinished: handleFinishStep, | ||
| buildRoute: (pageName, action) => ROUTES.POLICY_ACCOUNTING_NETSUITE_IMPORT_CUSTOM_LIST_ADD.getRoute(route.params.policyID, pageName, action), |
There was a problem hiding this comment.
can we use policy?.id here?
There was a problem hiding this comment.
policy?.id can be undefined when the onyx is loading
There was a problem hiding this comment.
I think we should pass policyID instead of whole route data
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-02-04.at.15.29.29.movAndroid: mWeb ChromeScreen.Recording.2026-02-04.at.15.29.29.moviOS: HybridAppScreen.Recording.2026-02-04.at.15.39.03.moviOS: mWeb SafariScreen.Recording.2026-02-04.at.15.26.26.movMacOS: Chrome / SafariScreen.Recording.2026-02-04.at.15.22.58.mov |
…list-to-use-usesubpage
…list-to-use-usesubpage
…list-to-use-usesubpage
…list-to-use-usesubpage
will be fixed in #80996 |
…list-to-use-usesubpage
|
@arosiclair ready to merge |
|
@arosiclair looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
See here |
|
🚧 @arosiclair 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/arosiclair in version: 9.3.33-0 🚀
|
|
Deploy Blocker #84475 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.3.33-5 🚀
|

Explanation of Change
Fixed Issues
Part of #79045
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Prerequisite: accounting feature is enabled and Netsuite is connected on the workspace
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.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4