-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[NetSuite] Add authentication error #48918
[NetSuite] Add authentication error #48918
Conversation
@shubham1206agra 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] |
I am a bit unwell, I'll fix the conflicts and work on the comments by later tonight. |
@shubham1206agra I removed one of the properties. Though I felt it was unrelated to this PR. @yuwenmemon @shubham1206agra I've asked two questions here - 1 and 2. Would be great if you folks can respond? |
@shubham1206agra bump for a review please |
src/pages/workspace/accounting/netsuite/NetSuiteTokenInput/NetSuiteTokenInputPage.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/accounting/netsuite/NetSuiteTokenInput/NetSuiteTokenInputPage.tsx
Outdated
Show resolved
Hide resolved
Reviewer Checklist
Screenshots/VideosAndroid: NativeMacOS: Chrome / SafariScreen.Recording.2024-09-23.at.5.48.49.PM.mov |
✋ 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.40-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.40-6 🚀
|
@@ -106,7 +104,7 @@ function PolicyAccountingPage({policy}: PolicyAccountingPageProps) { | |||
|
|||
const overflowMenu: ThreeDotsMenuProps['menuItems'] = useMemo( | |||
() => [ | |||
...(shouldShowEnterCredentials | |||
...(shouldShowEnterCredentials && (connectedIntegration === CONST.POLICY.CONNECTIONS.NAME.SAGE_INTACCT || connectedIntegration === CONST.POLICY.CONNECTIONS.NAME.NETSUITE) |
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.
This line introduced this bug (#50357).
More context: #50357 (comment)
Details
Fixed Issues
$ #47493
PROPOSAL:
Tests
Prerequisite
An accounting enabled workspace with NetSuite beta enabled.
Can’t connect to NetSuite due to an authentication error.
along with the learn more link.Offline tests
NA
QA Steps
Same as 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
web-netsuite-auth-error.mov
MacOS: Desktop
desktop-netsuite-auth-error.mov