Fix QBO config types + fix inputs in config pages#41463
Fix QBO config types + fix inputs in config pages#41463aldo-expensify merged 14 commits intomainfrom
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. |
hayata-suenaga
left a comment
There was a problem hiding this comment.
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.
Should this be displayed as tags? or Xero default?
There was a problem hiding this comment.
Oh, your are right, I think before this was showing as Imported
| creditCards: Account[]; | ||
| accountsReceivable: Account[]; | ||
| accountsPayable: Account[]; | ||
| accountPayable: Account[]; |
There was a problem hiding this comment.
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.
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.
Thanks for confirming. Just about to test it now.
There was a problem hiding this comment.
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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./** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis 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