-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NoQA] Implementing NetSuite type in policy connection #43774
Conversation
@techievivek 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] |
@yuwenmemon We can start adding comments here. |
@yuwenmemon Can you confirm if there will be following fields /** TODO: Will be handled in another issue */
errors?: OnyxCommon.Errors;
/** Collection of form field errors */
errorFields?: OnyxCommon.ErrorFields; |
Unassigning myself since Yuwen is already handling this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs added as suggestions (feel free to just click-add these)! Also had one note we need to change wrt to the Custom Form configurations.
Co-authored-by: Yuwen Memon <yuwen@expensify.com>
@yuwenmemon Bump on this. |
@mananjadhav Please review this once too. |
For |
When command fails. I think xero and qbo has similar things. |
Co-authored-by: Yuwen Memon <yuwen@expensify.com>
If the QBO and Xero integrations have it, we should have it in the same place too. Yeah. Let's add them in! |
@yuwenmemon Can you merge this now as this type flow will not break anything for now? As there is no actual implementation. |
Yes sir! I will review it later today. |
subsidiaryList: Subsidiary[]; | ||
|
||
/** Collection of receivable accounts */ | ||
receivableList: NetSuiteAccount[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB, but do we know if all these keys will always exist? For now based on the sample data this looks correct.
@@ -610,6 +968,9 @@ type Connections = { | |||
|
|||
/** Xero integration connection */ | |||
xero: Connection<XeroConnectionData, XeroConnectionConfig>; | |||
|
|||
/** NetSuite integration connection */ | |||
netsuite: NetSuiteConnection; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had the same issue that we can't reuse Connection
object because the Netsuite doesn't match with the other existing integrations.
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
🎯 @mananjadhav, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #44031. |
@yuwenmemon Would be great if we can merge this. There are some changes conflicting with mine for the subsidiary type. I can see @shubham1206agra's PR is extensive vs mine where it has limited types and some pending code. I can then sync my changes to raise the draft PR. |
✋ 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/yuwenmemon in version: 9.0.1-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.1-19 🚀
|
Details
Fixed Issues
$
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop