-
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
Fix QBO config types + fix inputs in config pages #41463
Conversation
@trjExpensify I'm building an adhoc build, when you have some time, I would appreciate if you can test the Import, Export and Advance settings. Know issues that this PR is not solving: When you change field that triggers a change on another field are still not handled well. |
@hoangzinh 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] |
@mananjadhav 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] |
This comment has been minimized.
This comment has been minimized.
@aldo-expensify Is it necessary to create a new account? |
Nop, neither a new workspace
…On Wed, May 1, 2024, 21:11 Manan ***@***.***> wrote:
@aldo-expensify <https://github.com/aldo-expensify> Is it necessary to
create a new account?
—
Reply to this email directly, view it on GitHub
<#41463 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AU2LVBRO6CSMSH3LZYDKHFLZAG4FJAVCNFSM6AAAAABHCU2MCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBZGQ4TMMBRHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Cool I’ll use my existing workspace then. |
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.
the code looks good to me
I gonna rely on @allroundexperts' tests 🙇
You meant @mananjadhav. No @hayata-suenaga? |
src/languages/en.ts
Outdated
importTypes: { | ||
[CONST.INTEGRATION_ENTITY_MAP_TYPES.IMPORTED]: 'Imported, displayed as tags', | ||
[CONST.INTEGRATION_ENTITY_MAP_TYPES.TAG]: 'Imported, displayed as tags', | ||
[CONST.INTEGRATION_ENTITY_MAP_TYPES.DEFAULT]: 'Imported, displayed as tags', |
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.
Should this be displayed as tags
? or Xero default?
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.
Oh, your are right, I think before this was showing as Imported
@@ -142,7 +142,7 @@ type QBOConnectionData = { | |||
bankAccounts: Account[]; | |||
creditCards: Account[]; | |||
accountsReceivable: Account[]; | |||
accountsPayable: Account[]; | |||
accountPayable: Account[]; |
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 saw this change at a few places with accountsPayable
replaced with accountPayable
, but considering it's an array should we be retaining plural form?
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.
Pretty sure accountPayable
is how we get it from the QBO connection data. The accountsPayable
typo we have now in prod on NewDot causes the list of AP accounts to be blank.
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.
Thanks for confirming. Just about to test it now.
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.
We can't rename this fields at this point otherwise the backend won't recognize them. We have to stick with accountPayable
even if it is an array
@aldo-expensify When I click on Preferred Exporter, it takes me to Screen.Recording.2024-05-02.at.7.56.45.PM.mov |
Haha, is this adhoc build bust? #41463 (comment) Nothing worked 😂 2024-05-02_15-21-55.mp4 |
I tried running the adhoc build, but I didn't receive the magic code. The error that I got was on the local build. |
I found two errors and both of them are reproducible on staging as well. So I am assuming unrelated to the PR. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-qbo-config.movAndroid: mWeb Chromemweb-chrome-qbo-config.moviOS: Nativeios-qbo-config.moviOS: mWeb Safarimweb-safari-qbo-config.movMacOS: Chrome / Safariweb-qbo-config.movMacOS: Desktopdesktop-qbo-config.mov |
Good catch, I'll fix it |
haha I also tried, I don't know why it is so broken :( |
Ah, I see this is a problem that already exists in I'll merge this to avoid conflicts considering the size of the PR. |
@hayata-suenaga @mananjadhav , I'll address the problems that were already in Please review again :) |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.71-6 🚀
|
Details
With this PR the default settings should appear correctly selected in the Import/Export/Advance settings
Fixed Issues
$ #41095
$ #41155 (comment)
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./** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-05-01.at.6.48.59.PM.mov
MacOS: Desktop